# Getting Started
Go from zero to your first AI-generated PR in under 5 minutes.
## Prerequisites
- →Linux (amd64 or arm64)
- →Claude Code CLI installed and authenticated
- →A git repository to work in
- →A GitHub account (optional — for automated PR creation)
## 1. Install
Downloads the latest binary for your platform and adds it to your PATH.
## 2. Start the server
The server manages work items, spawns agents, and serves the dashboard. Run it in the background or install as a systemd service:
## 3. Create a work item
The --context flag accepts inline text, @filename to read from a file, or - for stdin. The more detail you give, the better the result.
## 4. Start an agent
A Claude Code agent is spawned in an isolated git worktree. It reads the spec, writes code, and commits changes. Follow progress with:
## 5. What happens next
- →The coding agent finishes and commits its changes.
- →A review agent automatically inspects the diff against the spec.
- →If the review finds issues, the coding agent is restarted with feedback (configurable, default 5 attempts).
- →Once approved, the branch is pushed and a PR is created (if GitHub App is configured).
- →If CI fails, the agent is restarted to fix it. You review the final PR when it's ready.
## GitHub App setup (optional)
Without a GitHub App, agentsitter works in local-only mode — agents code in worktrees and you manually push branches and create PRs. To enable automated PRs:
See the GitHub App setup guide for step-by-step instructions on creating your own app, or use the shared app at agentsitter.dev/install.
## Next steps
- →CLI Reference — all commands and flags
- →Open the dashboard at
http://localhost:51773to monitor agents