Skip to main content

CLI

Run single tasks from the terminal without opening the TUI.

Single Task

tfcode run "Explain this codebase"
tfcode run "Add error handling to src/api.ts"
tfcode run "Fix the failing test" --agent build
tfcode run "Analyze the auth architecture" --agent plan
tfcode run --agent "TF Engineer" "List all agents in my workspace"

Model Selection

tfcode run "Write a function to parse CSV" --model toothfairyai/your-model-id

See Providers for model discovery.

Profile Selection

tfcode -p prod run "Deploy to production"
TF_PROFILE=prod tfcode run "Force prod workspace"

Sessions

tfcode session list
tfcode session delete <id>

Import & Export

tfcode export [sessionID]
tfcode import <file>