II.
Page JSON
Structured · livepage:docs-user-guide-getting-started
Getting Started with Babysitter json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-user-guide-getting-started",
"_kind": "Page",
"_file": "wiki/docs/user-guide/getting-started.md",
"_cluster": "wiki",
"attributes": {
"nodeKind": "Page",
"sourcePath": "docs/user-guide/getting-started/README.md",
"sourceKind": "repo-docs",
"title": "Getting Started with Babysitter",
"displayName": "Getting Started with Babysitter",
"slug": "docs/user-guide/getting-started",
"articlePath": "wiki/docs/user-guide/getting-started/README.md",
"article": "\n[Docs](../index.md) › Getting Started\n\n# Getting Started with Babysitter\n\n**Welcome to Babysitter!** This guide will help you go from zero to running your first AI-orchestrated development workflow in just a few minutes.\n\n## On this page\n\n- [30-Second Overview](#30-second-overview)\n- [Choose Your Path](#choose-your-path)\n- [What is Babysitter?](#what-is-babysitter)\n- [Prerequisites](#prerequisites)\n- [Installation Overview](#installation-overview)\n- [How Babysitter Works (The Big Picture)](#how-babysitter-works-the-big-picture)\n- [Getting Help](#getting-help)\n\n> **Source-of-truth precedence:** When docs disagree, the reference docs win. The [CLI Reference](../reference/cli-reference.md), [Adapters CLI](../reference/adapters-cli.md), and [Configuration Reference](../reference/configuration.md) are authoritative over tutorials, quickstarts, and archived material. If a tutorial conflicts with a reference page, trust the reference.\n\n> **Works on any harness:** Babysitter is harness-agnostic. It runs across 12 supported AI coding harnesses, not just Claude Code. The examples below use Claude Code's `/babysitter:call` command, but the same workflow runs on every supported harness with its own command token. See the [Install Matrix](../harnesses/install-matrix.md) and the [Adapters guide](../features/adapters.md) for details.\n\n---\n\n## 30-Second Overview\n\n**Babysitter = deterministic, obedient orchestration of your AI coding harness**\n\nYour workflow is real code, and the orchestrator can only do what that code permits. After every step it stops, checks what the process allows next, and either permits the next task or halts until a gate passes. Enforcement, not assistance.\n\nInstead of:\n```\nYou: \"Build me a login page\"\nClaude: *builds something, decides on its own it's done*\nYou: \"Wait, you skipped the tests\"\nClaude: *backtracks*\nYou: \"Now run them\"\n... (you babysit it by hand for hours)\n```\n\nYou define the process once and say:\n```\n/babysitter:call build a login page\n```\n\nBabysitter then enforces that process step by step — running tasks, pausing at breakpoints for your approval, and blocking progression at any gate (including quality gates) until it's satisfied. Come back later, it's still working (or waiting for your approval), exactly where the process left it.\n\n---\n\n## Choose Your Path\n\n| If you are... | Start here |\n|--------------|------------|\n| **Impatient** (just want to try it) | [Quickstart](./quickstart.md) - 10 minutes to first run |\n| **Thorough** (want to understand first) | Keep reading this page, then [Installation](./installation.md) |\n| **Already installed** | [First Run Deep Dive](./first-run.md) to understand what happened |\n| **Coming back** | Jump to the [Tutorials](../tutorials/) for deeper projects |\n| **On a different harness** | Check the [Install Matrix](../harnesses/install-matrix.md) for your harness's setup and command token |\n\n---\n\n## What is Babysitter?\n\nBabysitter is an **orchestration framework** for AI coding harnesses that enforces obedience on agentic work. It runs across 12 supported harnesses (see the [Install Matrix](../harnesses/install-matrix.md)) via its harness-agnostic [Adapters](../features/adapters.md) layer. Instead of trusting an agent's own judgment about what to do and when it's done, Babysitter makes it follow a process you define. The triad:\n\n- **Deterministic process execution** - Your workflow is real JavaScript code; the orchestrator can only do what that code permits, and every run is event-sourced for deterministic replay and resume from any point\n- **Complex agentic workflows** - Tasks, breakpoints, sleeps, parallel dispatch, dependencies, and sub-agent delegation across harnesses, all orchestrated from a single entry point\n- **Policy / process adherence (obedience)** - A hook-enforced mandatory stop after every step, a process check, and a decision: permit the next task or halt until a gate passes. Enforcement, not assistance\n\nAlongside the triad you also get **human-in-the-loop breakpoints**, **complete audit trails** in an event [journal](../reference/glossary.md), and **quality convergence** as one of the gate types you can encode. Think of Babysitter as a process foreman for your AI coding sessions - it never lets the agent skip a step, and never loses context.\n\n### Why You Will Love Babysitter\n\n| Without Babysitter | With Babysitter |\n|-------------------|-----------------|\n| Agent decides on its own what to do and when it's \"done\" | Orchestrator can only do what your process code permits |\n| Hope the AI followed the steps you wanted | Mandatory stop + process check after every step — enforcement, not assistance |\n| Lose all context when session ends | Deterministic replay; resume from any point, even days later |\n| Hope the AI made good decisions | Review and approve at enforced breakpoints |\n| Run tasks one at a time | Parallel execution and sub-agent delegation for faster results |\n| \"Claude, can you improve that?\" (repeat 10x) | Encode a quality gate once; it iterates automatically |\n\n---\n\n## Key Benefits\n\n### 1. Deterministic, Enforced Execution\nYour workflow is real code; the orchestrator can only do what that code permits. A hook-enforced mandatory stop after every step means the agent cannot \"keep running\" on its own — the process decides what's next. Enforcement, not assistance.\n\n```\n# The agent does exactly what the process permits, nothing more\nclaude \"/babysitter:call implement user auth with TDD\"\n```\n\n### 2. Complex Agentic Workflows\nTasks, breakpoints, sleeps, parallel dispatch, dependencies, and sub-agent delegation across harnesses — orchestrate multi-agent work from a single entry point.\n\n```\n# One entry point, many delegated tasks\nclaude \"/babysitter:call build and test the API, then prepare a deploy plan\"\n```\n\n### 3. Never Lose Progress (Deterministic Replay)\nEvery action is recorded in an event-sourced, immutable journal. Session interrupted? Replay the journal and resume exactly where you left off.\n\n```\n# Resume exactly where you left off\nclaude \"Resume the babysitter run for the auth feature\"\n```\n\n### 4. Human-in-the-Loop Control\nAdd approval gates for critical decisions. Review context, approve or reject, and only then does execution continue.\n\n```\n# Babysitter will pause for approval before deploying\nclaude \"/babysitter:call deploy to production with breakpoint approval\"\n```\n\n### 5. Quality Convergence (One Gate Type Among Several)\nBecause gates are code, you can encode a quality gate: define a target (test coverage, code standards, etc.) and the gate iterates until it's met before permitting the next step.\n\n```\n# Example: a quality gate iterates until 85% quality score\nclaude \"/babysitter:call implement user auth with TDD, 85% quality target\"\n```\n\n### 6. Structured Workflows\nChoose from built-in methodologies (TDD, Spec-Kit, GSD) or create your own. Consistent, repeatable processes across your team.\n\n---\n\n## Quick Navigation\n\n| I want to... | Go to... |\n|-------------|----------|\n| Install Babysitter | [Installation Guide](./installation.md) |\n| Run my first workflow (5 min) | [Quickstart](./quickstart.md) |\n| Understand what happened | [First Run Deep Dive](./first-run.md) |\n| See all commands | [CLI Reference](../reference/cli-reference.md) |\n| Learn about Quality Convergence | [Quality Convergence Guide](../features/quality-convergence.md) |\n\n---\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n\n### Required Software\n\n| Software | Version | How to Check | Installation Guide |\n|----------|---------|--------------|-------------------|\n| **Node.js** | 20.0.0+ (22.x recommended) | `node --version` | [nodejs.org](https://nodejs.org/) |\n| **npm** | 8.0.0+ | `npm --version` | Comes with Node.js |\n| **Claude Code** | Latest | `claude --version` | [Claude Code Docs](https://docs.anthropic.com/en/docs/claude-code) |\n\n### Recommended (for best experience)\n\n| Software | Purpose | Installation |\n|----------|---------|--------------|\n| **nvm** | Manage Node.js versions easily | [nvm-sh/nvm](https://github.com/nvm-sh/nvm) |\n| **Git** | Version control for your projects | [git-scm.com](https://git-scm.com/) |\n| **jq** | Parse JSON output from CLI | `brew install jq` (macOS) |\n\n### Knowledge Prerequisites\n\n| Level | What You Should Know |\n|-------|---------------------|\n| **Required** | Basic command line usage (cd, ls, npm) |\n| **Required** | How to use Claude Code (basic prompting) |\n| **Helpful** | JavaScript/TypeScript basics (for custom processes) |\n| **Optional** | Test-driven development concepts |\n\n### Verify Your Environment\n\nRun these commands to confirm you're ready:\n\n```bash\n# Check Node.js (need 20.0.0+)\nnode --version\n# Expected: v20.x.x or v22.x.x\n\n# Check npm\nnpm --version\n# Expected: 8.x.x or higher\n\n# Check Claude Code\nclaude --version\n# Expected: Claude Code version info\n```\n\nIf any command fails, install the missing software before continuing.\n\n---\n\n## Installation Overview\n\nGetting Babysitter running involves three steps:\n\n1. **Install the harness plugin** for your AI coding harness (each supported harness has its own plugin — Claude Code uses its plugin system; see the [Install Matrix](../harnesses/install-matrix.md) for the others)\n2. **Install the CLI packages** (npm global install for the core `babysitter` CLI and the host-side `adapters` CLI)\n3. **Verify the installation** (run `babysitter --version` and `adapters doctor`)\n\n**Estimated time:** 5-10 minutes\n\nReady? Head to the [Installation Guide](./installation.md) for step-by-step instructions.\n\n---\n\n## Your Learning Path\n\n### Day 1: Get Started (Today!)\n\n1. [x] Read this introduction (you are here)\n2. [ ] [Install Babysitter](./installation.md) (5 min)\n3. [ ] [Complete the Quickstart](./quickstart.md) (10 min)\n4. [ ] [Understand your first run](./first-run.md) (10 min)\n\n### Week 1: Build Confidence\n\n5. [ ] Try different quality targets (80%, 90%, 95%)\n6. [ ] Experience session resumption (close and resume a run)\n7. [ ] Use breakpoints for approval workflows\n8. [ ] Explore the [TDD methodology](../features/quality-convergence.md)\n\n### Week 2+: Level Up\n\n9. [ ] Compare methodologies (TDD, GSD, Spec-Kit)\n10. [ ] Customize quality targets and iteration limits\n11. [ ] Learn about parallel execution\n12. [ ] Create your first custom process (advanced)\n\n---\n\n## How Babysitter Works (The Big Picture)\n\n```\nYou: \"Build a todo API with TDD\"\n |\n v\n+------------------+\n| Babysitter |\n| Orchestration |\n| |\n| 1. Research |---> Analyze codebase\n| 2. Plan |---> Create specifications\n| 3. Implement |---> TDD iterations\n| 4. Quality |---> Score and improve\n| 5. Approve |---> Human checkpoint\n| 6. Complete |---> Deliver result\n+------------------+\n |\n v\nEverything logged to .a5c/runs/<runId>/journal/\n```\n\n### The Magic: Event-Sourced Persistence\n\nEvery action Babysitter takes is recorded as an event, one file per event under `journal/`:\n\n```json\n{\"type\":\"RUN_CREATED\",\"recordedAt\":\"2026-01-25T10:30:00Z\",\"data\":{\"runId\":\"01KFFTSF8TK8C9GT3YM9QYQ6WG\"}}\n{\"type\":\"EFFECT_REQUESTED\",\"recordedAt\":\"2026-01-25T10:30:01Z\",\"data\":{\"effectId\":\"research-001\"}}\n{\"type\":\"EFFECT_RESOLVED\",\"recordedAt\":\"2026-01-25T10:30:45Z\",\"data\":{\"effectId\":\"research-001\",\"status\":\"success\"}}\n```\n\nThis means:\n- **Crash recovery:** Replay the journal to restore exact state\n- **Audit trail:** Complete history of every decision\n- **Debugging:** Trace exactly what happened and when\n\n---\n\n## What You Will Build\n\nIn this getting started guide, you will:\n\n### Quickstart Tutorial (10 minutes)\nBuild a simple calculator module with TDD:\n- Write tests first\n- Implement code to pass tests\n- Achieve 80% quality score\n- See automatic iteration in action\n\n### Expected Outcome\n```\ncalculator/\n calculator.js # Implementation\n calculator.test.js # Test suite\n README.md # Generated documentation\n\nQuality Score: 85/100\nTests: 12 passing\nCoverage: 92%\n```\n\n---\n\n## Getting Help\n\n### Stuck? Try These Resources\n\n| Resource | Best For |\n|----------|----------|\n| [Troubleshooting Guide](./installation.md#troubleshooting) | Installation issues |\n| [FAQ](../reference/faq.md) | Common questions |\n| [GitHub Issues](https://github.com/a5c-ai/babysitter/issues) | Bug reports |\n| [GitHub Discussions](https://github.com/a5c-ai/babysitter/discussions) | Questions and ideas |\n\n### Common First-Time Issues\n\n| Problem | Solution |\n|---------|----------|\n| \"command not found: babysitter\" | Run `npm install -g @a5c-ai/babysitter` |\n| Plugin not appearing | Restart Claude Code after installation |\n\n---\n\n## Quick Reference Card\n\nKeep these commands handy:\n\n```bash\n# Start a new run\nclaude \"/babysitter:call <your request>\"\n\n# Resume an existing run\nclaude \"/babysitter:call resume the babysitter run\"\n# Check available skills\n/skills\n\n# View run history\nls .a5c/runs/\n```\n\n---\n\n<div align=\"center\">\n\n**Ready to transform your AI-assisted development?**\n\n[Start Installation](./installation.md)\n\n</div>\n\n---\n\n## Next steps\n\n- **Next:** [Installation](./installation.md) — get Babysitter running on your machine\n- **Related:** [Quickstart](./quickstart.md) — run your first workflow in 10 minutes\n- **Related:** [Install Matrix](../harnesses/install-matrix.md) — setup and command token for every supported harness\n",
"documents": []
},
"outgoingEdges": [
{
"from": "page:docs-user-guide-getting-started",
"to": "page:docs-user-guide-getting-started-first-run",
"kind": "contains_page"
},
{
"from": "page:docs-user-guide-getting-started",
"to": "page:docs-user-guide-getting-started-installation",
"kind": "contains_page"
},
{
"from": "page:docs-user-guide-getting-started",
"to": "page:docs-user-guide-getting-started-migration",
"kind": "contains_page"
},
{
"from": "page:docs-user-guide-getting-started",
"to": "page:docs-user-guide-getting-started-quickstart",
"kind": "contains_page"
},
{
"from": "page:docs-user-guide-getting-started",
"to": "page:docs-user-guide-getting-started-upgrade-to-v6",
"kind": "contains_page"
}
],
"incomingEdges": [
{
"from": "page:docs-user-guide",
"to": "page:docs-user-guide-getting-started",
"kind": "contains_page"
}
]
}