Quickstart
Drive the first end-to-end task in your own repo in 5 minutes or less.
1. Start the headless server
cd /path/to/your/repoopencorvus serveDefault: 127.0.0.1:7878. Common flags:
| flag | purpose |
|---|---|
--hostname 0.0.0.0 | Listen externally; set OPENCORVUS_SERVER_PASSWORD to enable HTTP Basic Auth |
--port 7878 | Change port |
--project-dir <path> | Target repo |
--mdns | Enable mDNS service discovery |
If you expose beyond localhost without
OPENCORVUS_SERVER_PASSWORD, the server starts but printsserver is unsecuredand leaves HTTP Basic Auth disabled.
2. Open the UI (optional)
Browse to http://127.0.0.1:7878/ui/ for the overlay panel. Or launch the native Tauri window:
bun run dev:overlay # from repo root3. Create a task over HTTP
curl -X POST http://127.0.0.1:7878/task \ -H "content-type: application/json" \ -H "x-opencorvus-directory: $PWD" \ -d '{ "request": "Add unit tests for src/foo.ts covering happy path and 2 error paths." }'Response: 202 with { "task_id": "tsk_..." }.
4. Stream progress (SSE)
curl -N http://127.0.0.1:7878/task/<task_id>/eventsYou’ll see orchestrator and stage events such as requirements, architect, goal.running, integrity, acceptance_running, and done.
On failure, replan.triggered or retry.triggered fire, then execution resumes.
5. Task endpoints
| endpoint | purpose | directory |
|---|---|---|
GET /tasks | list project tasks | required |
GET /task/<id> | task state | not needed |
GET /task/<id>/board | Kanban view | not needed |
POST /task/<id>/message | append follow-up | required |
POST /task/<id>/retry | retry with same plan | required |
POST /task/<id>/replan | discard plan and re-plan | required |
POST /task/<id>/cancel | cancel | required |
6. Via Slack
export SLACK_BOT_TOKEN=xoxb-...export SLACK_APP_TOKEN=xapp-...bun run --cwd packages/channel-runtime devAt-mention the bot’s first message in any channel to create a task; later messages in the same thread are injected as follow-ups. See Slack channel.
Common pitfalls
- Stuck in spec phase — LLM provider is unreachable. Run
opencorvus doctor. - Integrity review keeps failing — repo has no executable build/test commands. Build / integrity walks up from
owned_pathsto find the nearestpackage.json. - Permission request never resolves —
Full accessis the default. If the project explicitly selectsAsk me, reply in an operator UI or switch the project toFull access.
Next: Architecture.