Observed since 20 Oct, 17:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A persistent, learning AI agent that runs on your machine. An agent that learns.
A persistent, learning AI agent that runs on your machine.
Runs a local daemon. Learns from every task. Remembers everything. Gets better over time.
npx 0agent@latest
0agent is a CLI agent that runs as a background daemon on your machine. It executes real tasks — shell commands, file operations, web search, browser automation — using your API key, and learns from every outcome via a weighted knowledge graph.
Unlike chat-based AI tools, 0agent:
npx 0agent@latest
The wizard asks for:
gh CLI if installed)~/0agent-workspace)After setup, the chat TUI opens automatically. No manual steps.
0agent # open chat (starts daemon if needed)
npx 0agent@latest
0agent — anthropic/claude-sonnet-4-6
Type a task, or /help for commands.
› make a website for my coffee shop and deploy it locally
› build a REST API in Go with auth
› research my competitor's pricing and draft a response strategy
Type while the agent works — messages queue automatically and run one after another.
# Software engineering
0agent /review # code review current branch
0agent /build # run build, fix errors
0agent /qa # generate and run tests
0agent /debug # debug a failing test or error
0agent /refactor # refactor a file or module
0agent /test-writer # write unit tests
0agent /doc # generate documentation
# Planning & strategy
0agent /office-hours "I want to build a payments feature"
0agent /plan-eng-review
0agent /plan-ceo-review
0agent /retro # weekly retrospective
0agent /ship # pre-release checklist
# Research
0agent /research "Acme Corp Series B"
0agent /security-audit
› /schedule add "run /retro" every Friday at 5pm
› /schedule add "check the build" every day at 9am
› /schedule list
| Command | Description |
|---|---|
/model | Show or switch model |
/model add anthropic sk-ant-... | Add a provider API key |
/key anthropic sk-ant-... | Update a stored key |
/status | Daemon health + graph stats |
/skills | List available skills |
/schedule | Manage scheduled jobs |
/update | Update to latest version |
/graph | Open 3D knowledge graph |
/clear | Clear screen |
Ctrl+C | Cancel current task |
Every task updates a weighted knowledge graph stored in ~/.0agent/graph.db.
Edge weights: 0.0 ──── 0.5 ──── 1.0
bad neutral good
After each task:
success → weight += 0.1 × learning_rate
failure → weight -= 0.1 × learning_rate
decay → weight → 0.5 over time (forgetting)
After ~50 interactions, plan selection measurably improves. The graph also stores:
memory_write tool)0agent can back up its knowledge graph to a private GitHub repo:
# Set up during init, or add manually to ~/.0agent/config.yaml:
github_memory:
enabled: true
token: ghp_...
owner: your-username
repo: 0agent-memory
| Capability | How |
|---|---|
| Run shell commands | shell_exec — bash, any CLI tool |
| Read / write files | file_op — read, write, list, mkdir |
| Search the web | web_search — DuckDuckGo, no API key needed |
| Scrape pages | scrape_url — full page text, tables, links |
| Open browser | browser_open — system Chrome or default OS browser |
| Remember facts | memory_write — persists to knowledge graph |
| Schedule tasks | Natural language cron via /schedule |
| Self-heal | Detects runtime errors, proposes + applies patches |
npx 0agent@latest
│
▼
┌─────────────────────────────────────────────────────────┐
│ CLI (bin/0agent.js + bin/chat.js) │
│ • Init wizard • Chat TUI • Slash commands │
└───────────────────────┬─────────────────────────────────┘
│ HTTP + WebSocket
▼
┌─────────────────────────────────────────────────────────┐
│ Daemon (dist/daemon.mjs) — port 4200 │
│ │
│ SessionManager ── AgentExecutor ── LLMExecutor │
│ │ │ │ │
│ │ CapabilityRegistry │ │
│ │ • shell_exec │ │
│ │ • file_op │ │
│ │ • web_search │ │
│ │ • scrape_url │ │
│ │ • browser_open │ │
│ │ • memory_write │ │
│ │ │ │
│ KnowledgeGraph ◄────── outcome feedback ┘ │
│ (SQLite + HNSW) │
│ │ │
│ GitHubMemorySync ── SchedulerManager ── SelfHealLoop │
└─────────────────────────────────────────────────────────┘
Key packages:
| Package | Description |
|---|---|
packages/core | Knowledge graph, inference engine, storage adapters |
packages/daemon | HTTP server, session manager, agent executor, capabilities |
bin/chat.js | Claude Code-style TUI with message queue, WS events, spinner |
bin/0agent.js | CLI entry point, init wizard, daemon lifecycle |
~/.0agent/config.yaml — created by 0agent init, edit anytime:
llm_providers:
- provider: anthropic
model: claude-sonnet-4-6
api_key: sk-ant-... # never committed to git
is_default: true
workspace:
path: /Users/you/0agent-workspace # agent creates files here
sandbox:
backend: docker # docker | podman | process | firecracker
github_memory:
enabled: true
token: ghp_...
owner: your-username
repo: 0agent-memory
embedding:
provider: nomic-ollama # nomic-ollama | openai | none
model: nomic-embed-text
dimensions: 768
git clone https://github.com/cadetmaze/0agentv1
cd 0agentv1
pnpm install
pnpm build
# Run init wizard
node bin/0agent.js init
# Or start daemon directly
node bin/0agent.js start
node bin/chat.js
# Bundle daemon into single file
node scripts/bundle.mjs
# Check status
node bin/0agent.js status
open http://localhost:4200 # 3D knowledge graph dashboard
Requirements:
npm install -g pnpm)Issues and PRs welcome. This is early-stage software — things break, APIs change.
pnpm install && pnpm buildpackages/daemon/src/ or bin/node scripts/bundle.mjs to rebuild the bundlenode bin/0agent.js initApache 2.0 — use it, fork it, build on it.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.1.5Registry latest | 31 Mar 2026 | 12 | |
| 1.1.4 | 31 Mar 2026 | 12 | |
| 1.1.1 | 31 Mar 2026 | 12 | |
| 1.0.97 | 31 Mar 2026 | 12 | |
| 1.0.96 | 31 Mar 2026 | 12 | |
| 1.0.95 | 31 Mar 2026 | 12 | |
| 1.0.94 | 31 Mar 2026 | 12 | |
| 1.0.93 | 31 Mar 2026 | 12 | |
| 1.0.92 | 31 Mar 2026 | 12 | |
| 1.0.91 | 31 Mar 2026 | 12 | |
| 1.0.90 | 31 Mar 2026 | 12 | |
| 1.0.89 | 31 Mar 2026 | 12 | |
| 1.0.88 | 31 Mar 2026 | 12 | |
| 1.0.87 | 31 Mar 2026 | 12 | |
| 1.0.86 | 31 Mar 2026 | 12 | |
| 1.0.85 | 31 Mar 2026 | 12 | |
| 1.0.84 | 31 Mar 2026 | 12 | |
| 1.0.83 | 31 Mar 2026 | 12 | |
| 1.0.82 | 31 Mar 2026 | 12 | |
| 1.0.81 | 31 Mar 2026 | 12 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eabc1f6446b68ef4eac773f24fcbcf6876a267d9e20aae70f69f4ac5cd0f4e06