Skip to content
Select theme

Supported agents

Porter supports any CLI agent that can run non-interactively in a container.

Current support

AgentPackageHeadless command
Opencodeopencode-aiopencode run --model anthropic/claude-sonnet-4 "prompt"
Claude Code@anthropic-ai/claude-codeclaude -p "prompt" --dangerously-skip-permissions
Amp@sourcegraph/ampamp -x "prompt" --dangerously-allow-all

Command syntax

Use one of the supported agent names in issue comments:

@porter opencode
@porter claude
@porter amp

How to pick an agent

  • opencode: balanced default for general issue implementation.
  • claude: strong for broad refactors and architecture-sensitive edits.
  • amp: useful for test and codebase-wide assistance workflows.

Compatibility requirements

  • CLI must support non-interactive invocation.
  • CLI must run cleanly in Linux container runtime.
  • CLI should return machine-readable or clearly parseable output for callbacks.

Operational tips

  • Keep an explicit default agent in user config to avoid ambiguous behavior.
  • Validate agent-specific credentials before production rollout.
  • Track completion quality by agent type to tune defaults over time.