Overview
Theftl setup command provides an interactive wizard to configure FTL with everything you need to get started. It guides you through choosing an AI agent, selecting a test generation model, pulling the Docker sandbox image, and configuring your API credentials.
Usage
What It Does
The setup wizard walks through these steps:- Docker Check - Verifies Docker is installed and running
- Agent Selection - Choose your preferred AI coding agent:
- Claude Code (Anthropic, recommended)
- Codex (OpenAI)
- Aider (open-source)
- Kiro (AWS)
- Image Setup - Pulls or builds the
ftl-sandboxDocker image - Tester Model - Select which model to use for test generation:
- Anthropic API (claude-haiku)
- AWS Bedrock (claude-sonnet)
- Skip test generation
- API Key Configuration - Save your ANTHROPIC_API_KEY to
~/.ftl/credentials
Example Session
Image Reconfiguration
If theftl-sandbox image already exists, setup will ask if you want to reconfigure:
Kiro Authentication
When selecting the Kiro agent, you’ll see special instructions for browser-based authentication:Fallback Behavior
If pulling from Docker Hub fails, setup automatically falls back to building the image locally:Next Steps
After running setup:- Navigate to your project directory
- Run
ftl initto create a.ftlconfigfile - Run
ftl code "your task"to start coding
See Also
- ftl init - Initialize FTL in a project
- ftl auth - Manage credentials
- ftl config - Configure AWS integration