Skip to content

First run

  1. Build the tool's image once:
agentic build claude                  # or with extra runtimes: --base node,java
  1. Start it from your project directory. It's mounted as /workspace in the container:
cd ~/projects/my-app
agentic run claude
  1. Answer y to trust directory ...?. agentic mounts a trusted directory and its subdirectories writable and reads their .agenticrc.toml, so trust only your own projects. Non-interactive runs need --trust-dir. To revoke trust, see state.json.
  2. Sign in the way the tool asks. The container has no browser, so open any link it prints on your machine.
Tool Sign in
claude Follow the login prompt on first start
copilot Type /login in the tool
opencode agentic run opencode auth login

The login is saved in the tool's home under $AGENTIC_HOME/tools/<tool>, so it survives runs and is shared by all your projects. The agent can read it: see Credential injection.

Next: Shell setup to type claude instead of agentic run claude, and Commands for everything else.