First run¶
- Build the tool's image once:
agentic build claude # or with extra runtimes: --base node,java
- Start it from your project directory. It's mounted as
/workspacein the container:
cd ~/projects/my-app
agentic run claude
- Answer
ytotrust 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, seestate.json. - 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.