Skip to content

Migrate Your Automations

Replace a one-shot coding-agent command with:

uvx fast-agent-mcp@latest go --no-home --shell ...

--no-home keeps the run isolated. --shell provides local shell and filesystem tools.

Convert a command

The converter supports one-shot commands from:

  • Claude Code
  • Codex
  • OpenCode

It maps common prompt, model, reasoning variant, attachment, workspace, agent, and JSON Schema options. It runs in your browser, does not use an LLM, and does not send the command to a server.

Paste a command above.

Single-line commands produce a single line. Commands using shell \ line continuations produce a multiline fast-agent command.

Review converted commands that contain custom permission, session, or server options.

Claude Code

Claude Code CLI reference

Claude Code
claude -p "Review the current changes" --model sonnet
fast-agent
uvx fast-agent-mcp@latest go \
  --no-home \
  --shell \
  --model sonnet \
  --message "Review the current changes"

Claude Code --output-format json does not define the output shape. For validated JSON from fast-agent, add a schema:

uvx fast-agent-mcp@latest go \
  --no-home \
  --shell \
  --model sonnet \
  --json-schema ./result.schema.json \
  --message "Review the current changes"

Codex

Codex non-interactive mode uses codex exec for non-interactive runs.

Codex
codex exec --ephemeral --model gpt-5.5 "Review the current changes"
fast-agent
uvx fast-agent-mcp@latest go \
  --no-home \
  --shell \
  --model responses.gpt-5.5 \
  --message "Review the current changes"

Codex --output-schema ./schema.json maps to --json-schema ./schema.json.

OpenCode

OpenCode CLI reference

OpenCode
opencode run \
  --model openai/gpt-5.5 \
  --variant high \
  --file report.pdf \
  "Review this report"
fast-agent
uvx fast-agent-mcp@latest go \
  --no-home \
  --shell \
  --model "responses.gpt-5.5?reasoning=high" \
  --attach report.pdf \
  --message "Review this report"

OpenCode --dir PATH maps to --workspace PATH.

Load an AgentCard from a URI

--card accepts a local path, HTTP(S) URL, file:// URI, or hf:// URI. It is repeatable.

uvx fast-agent-mcp@latest go \
  --no-home \
  --card https://example.com/agents/reviewer.md \
  --agent reviewer \
  --message "Review the current changes"
uvx fast-agent-mcp@latest go \
  --no-home \
  --card hf://buckets/your-name/agents/reviewer.md \
  --agent reviewer \
  --message "Review the current changes"

Prompt files, instructions, configuration files, card registries, and JSON schemas can also be loaded from supported URIs. See fast-agent go for the complete option list.