Building one agent? The standalone project created by
circuit new is all you need.Layout
bun install at the root and commit bun.lock.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run multiple agents from one Bun workspace and share packages between them.
circuit new is all you need.my-agents/
├── package.json
├── bun.lock
├── agents/
│ └── trading-bot/
│ ├── index.ts
│ ├── circuit.toml
│ ├── DESCRIPTION.md
│ ├── package.json
│ └── tsconfig.json
└── packages/
└── polymarket/
├── package.json
└── src/index.ts
{ "private": true, "workspaces": ["agents/*", "packages/*"] }
{
"name": "@lib/polymarket",
"main": "src/index.ts",
"dependencies": { "viem": "2.48.4" }
}
{
"name": "@circuit/agent-trading-bot",
"main": "index.ts",
"dependencies": {
"@lib/polymarket": "workspace:*",
"viem": "2.48.4"
}
}
import { getPositions } from "@lib/polymarket";
bun install at the root and commit bun.lock.