agentbootup
v0.8.15
Published
Seed Claude Code, OpenAI Codex, Gemini CLI, and Windsurf development assets (agents, skills, commands, workflows) into any project. Includes memory sync daemon and autonomous transcript analysis.
Downloads
1,685
Maintainers
Readme
agentbootup
Seed Claude Code assets (agents, skills, commands), OpenAI Codex skills, Gemini CLI assets (skills, agents, commands), Windsurf workflows, AI Dev Tasks, and autonomous agent templates into any project.
Transform any CLI into an autonomous, self-improving AI agent with persistent memory, self-bootstrapping skills, and proactive behavior.
Getting Started on a New Machine
Install agentbootup, authenticate, and restore your complete agent brain in five steps:
# 1. Install
npm install -g agentbootup
# 2. Authenticate
agentbootup auth login --api-key <key>
# 3. Set your brain ID
agentbootup config set-brain mech-plane.gm
# 4. Restore your brain (skills, agents, commands, memory, protocols)
agentbootup brain restore
# 5. Keep your brain in sync going forward (transcripts + brain assets)
agentbootup daemon start --yes # single-brain mode; use --all for multi-brainOptional verification after restore/sync:
# Validate local assets match server hashes
agentbootup brain verify
# CI-friendly mode
agentbootup brain verify --quietInstall
This package is designed to be run directly via Node.js or installed as a CLI once published.
Run from source (standalone repo)
node bootup.mjs --target /path/to/your/projectCLI (after publishing)
# Using npx (recommended once published)
npx agentbootup --target /path/to/your/project
# Or install globally
npm i -g agentbootup
agentbootup --target /path/to/your/projectUsage
# Preview only (no writes)
node bootup.mjs --target . --dry-run --verbose
# Overwrite existing files when needed
node bootup.mjs --target . --force
# Only install specific categories
node bootup.mjs --target . --subset agents,skills,gemini,codex
# Install only Claude-native assets + shared categories
node bootup.mjs --target . --platform claude --subset agents,skills,commands,memory,automation
# Install only Gemini-native assets + shared categories
node bootup.mjs --target . --platform gemini --subset gemini,memory,automation
# Install autonomous agent mode (memory + automation + skills)
node bootup.mjs --target . --subset memory,automation,skills- Categories:
agents, skills, commands, workflows, docs, scripts, gemini, codex, memory, automation, hooks - Platforms:
claude, gemini, both(bothis default) - Defaults: installs all; skips existing files unless
--force
What gets installed
Core Development Assets
.claude/agents/→ project subagents (tdd-developer, reliability-engineer, etc.).claude/skills/→ project skills (prd-writer, task-processor, etc.).claude/commands/→ convenience commands (/dev-pipeline, /generate-tasks, etc.).codex/skills/→ repo-scoped Codex Agent Skills.gemini/skills/→ project Agent Skills.gemini/agents/→ project reference personas.gemini/commands/→ convenience commands for Gemini.windsurf/workflows/→ Windsurf slash-command workflowsai-dev-tasks/→ PRD + tasks + processing markdown guidestasks/→ created if missing with.gitkeepscripts/→ utility scripts (openapi-to-llm converter)
Autonomous Agent Assets
memory/MEMORY.md→ persistent long-term memory templatememory/daily/→ daily conversation logs directoryautomation/HEARTBEAT.md→ proactive monitoring configuration.claude/skills/skill-creator/→ create new skills from learned capabilities.claude/skills/memory-manager/→ manage persistent memory across sessions.claude/skills/heartbeat-manager/→ configure proactive heartbeat checks.claude/skills/api-integrator/→ integrate new APIs as permanent skills.claude/skills/self-replicator/→ clone agent to new environments.claude/commands/autonomous-bootup.md→ activate autonomous agent modedocs/AUTONOMOUS_BOOTUP_SPEC.md→ full technical specificationdocs/BOOTUP_INJECT.md→ instructions to inject into any CLI
Self-Improvement System (NEW)
memory/→ Autonomous memory system for continuous learningMEMORY.md→ Core operational knowledge (always consulted)daily/→ Session logs with decisions and learningsREADME.md→ Memory system documentation
.ai/skills/→ CLI-agnostic skillsskill-acquisition/→ Systematic skill building workflowmemory-manager/→ Automated memory management
.ai/protocols/→ Autonomous operation protocolsAUTONOMOUS_OPERATION.md→ Decision-making, phase gates, error handling
- Memory system instructions appended to
CLAUDE.mdorGEMINI.md
After seeding
- Restart Claude Code to reload project assets
- Restart Codex to reload skills; use
/skills(or type$) - Use Windsurf slash commands:
/dev-pipeline,/prd-writer,/generate-tasks,/process-tasks
Autonomous Agent Mode
After installing with --subset memory,automation,skills:
- Use
/autonomous-bootupcommand to activate autonomous mode - Agent will initialize memory system and follow proactive behavior instructions
- New skills are saved as instruction templates that persist across sessions
- Heartbeat checks are defined in
HEARTBEAT.mdfor Claude to follow
Understanding Autonomous Features The autonomous capabilities (memory, heartbeat, self-bootstrapping) are implemented as instruction templates that guide Claude Code's behavior during sessions. They are not runtime code that executes automatically in the background. Claude follows these instructions when reading the templates. For true 24/7 automation, integrate with external schedulers (cron jobs, systemd timers) that periodically invoke Claude Code.
Autonomous Agent Architecture
Based on analysis of OpenClaw/Moltbot/Clawdbot patterns:
┌─────────────────────────────────────────────────────────────────┐
│ AUTONOMOUS AGENT LOOP │
├─────────────────────────────────────────────────────────────────┤
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ INPUT │───▶│ PROCESS │───▶│ OUTPUT │ │
│ │ Channels │ │ Gateway │ │ Actions │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Heartbeat │ │ Memory │ │ Skills │ │
│ │ Scheduler │◀──▶│ System │◀──▶│ Registry │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ └───────────────────┼───────────────────┘ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ SELF-BOOTSTRAP │ │
│ │ (Learn & Save) │ │
│ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────┘Key Patterns
- Skill Permanence: Once learned, capabilities persist forever
- Three-Layer Memory: Daily notes → Long-term memory → Semantic search
- Proactive Heartbeat: Agent acts without prompting
- Self-Bootstrapping: Research → Build → Save as skill → Announce
- Multi-Agent Orchestration: Specialized agents coordinate for complex tasks
Scripts
OpenAPI to LLM Docs
Convert OpenAPI specs into token-efficient documentation optimized for AI agents:
# Generate LLM-optimized docs from OpenAPI spec
node scripts/openapi-to-llm.mjs --input openapi.json --output docs/api-llm.txt
# Also export clean JSON
node scripts/openapi-to-llm.mjs --input openapi.yaml --output docs/api-llm.txt --json public/openapi.jsonOutput is ~70-90% smaller than full OpenAPI spec while preserving essential info for agents.
Multi-Brain Sync (Network Mode)
If you manage multiple projects from a single machine, agentbootup can sync all of them simultaneously — one daemon process per project.
# 1. Point to your network config (the directory containing agentbootup.json)
agentbootup config set-network-root ~/dev_env/my_network
# 2. Start specific brains
agentbootup daemon start my-app my-lib --yes
# 3. Or start all brains at once
agentbootup daemon start --all --yes
# 4. Check per-brain status
agentbootup daemon status
# 5. Stop specific brains (or --all)
agentbootup daemon stop my-appThe network config (agentbootup.json) lists your projects:
{
"role": "network",
"version": "1",
"hub": "https://agentbootup.fly.dev",
"projects": [
{ "id": "my-app", "path": "~/dev_env/my-app", "agent_id": "my-app.gm" },
{ "id": "my-lib", "path": "~/dev_env/my-lib", "agent_id": "my-lib.gm" }
]
}Each project gets its own daemon process with an isolated state file and a
deterministic port. Without a network root configured, the daemon falls back to
single-brain mode using the brain ID from agentbootup config set-brain.
Troubleshooting
Unknown config subcommand: "set-network-root"
You have an older version of agentbootup on your PATH. This happens when both
npm install -g and bun install -g have been used — the bun global binary
(~/.bun/bin/agentbootup) takes priority over npm's
(/usr/local/lib/node_modules/agentbootup).
Fix: Update whichever package manager owns the binary on your PATH:
# Check which binary is active
which agentbootup
# If it shows ~/.bun/bin/agentbootup:
bun install -g agentbootup@latest
# If it shows /usr/local/lib/node_modules/... or /usr/local/bin/...:
npm install -g agentbootup@latestDaemon starts but brain shows sync errors
Verify the brain ID in your agentbootup.json matches a brain registered on
the server:
agentbootup config list-brainsIf a project's agent_id doesn't exist server-side, the daemon will start but
fail on every sync cycle. Either create the brain on the server or fix the
agent_id in the network config.
Port range exhausted error on daemon start
The daemon allocates from a pool of 100 deterministic ports. If you have more than 100 projects or hash collisions exhaust the pool, reduce the number of projects or split across multiple network configs.
Local development
# From repo root
node bootup.mjs --dry-run --verbose
# Validate public export policy (internal repo)
npm run public:check
# Export public snapshot to another repo checkout
node scripts/public-sync.mjs export --target ../agentbootup-public --clean
# Create branch/commit/push/PR in the public repo
node scripts/public-promote.mjs --public-repo ../agentbootup-publicEnsure bootup.mjs is executable if you plan to use the bin command:
chmod +x bootup.mjsLicense
MIT
