Documentation Index
Fetch the complete documentation index at: https://docs.circuit.org/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Create Your Agent
Scaffold a new agent project:circuit.toml config, and dependencies.
You do not need to log in until you use account-backed commands such as publish or hosted wallet actions.
Install dependencies and navigate into the project:
Step 2: Test Locally
Add a wallet to the local encrypted vault (one-time setup), then run:circuit wallet add stores the key in ~/.config/circuit/keystore.enc,
encrypted with a password you choose. The dev run command prompts for the
password, picks the matching wallet for your agent’s chain, and invokes
the agent in-process.
The CLI imports your agent module and invokes its runFunction directly with local primitives. You should see output like:
circuit dev run --hosted — see the Development reference for details.
Step 3: Publish
.env file before publishing:
circuit publish reads .env from the agent root, then applies any --env KEY=VALUE overrides, encrypts those values at rest, and injects them into your deployed agent runtime as normal environment variables. For more details, see Publishing → Environment Variables.
This uploads your agent to Circuit. Once published, users can find and run it through the Circuit app.