For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
arctl init agent
Scaffold an agent project with YAML and framework stubs
Scaffold a new agent project with declarative YAML and framework stubs.
Picks a framework + language interactively (or via –framework / –language). Writes:
- agent.yaml — v1alpha1 envelope
- arctl.yaml — local build config (framework + language)
- .env — env vars the chosen framework needs (gitignored)
To wire a sibling arctl-init’d MCP project for local dev, pass –local-mcp. For an MCP at an arbitrary URL (remote, or local-not-arctl), edit .env after init and add an MCP_SERVERS_CONFIG entry, e.g.:
MCP_SERVERS_CONFIG=[{“name”:“my-remote”,“type”:“remote”,“url”:“https://mcp.example.com/sse”}]
Usage
arctl init agent NAME [flags]Example:
arctl init agent myagent
arctl init agent myagent --framework adk --language python
arctl init agent myagent --local-mcp ../my-mcpCommand-specific flags
--description string: Agent description.
--framework string: Framework (e.g. adk). Skips picker.
--image string: Image tag override.
--language string: Language (e.g. python). Skips picker.
--local-mcp strings: Path to a sibling MCP project; wires it into .env so the local agent can reach it. Repeatable.
--mcp strings: Registry MCP server ref (name@version). Repeatable.
--model-name string: Model name.
--model-provider string: Model provider.Global flags
-h, --help: Display help information for the command.
-n, --namespace string: Registry namespace to operate in (defaults to value of ARCTL_NAMESPACE env var, else "default").
--output-dir string: Parent directory under which the project is created. Defaults to the current directory.