Kairastra is a GitHub-native autonomous work runner. It watches a GitHub issue queue, creates an isolated workspace per issue, runs a coding agent, and hands work back as pull requests, workpad updates, and review-ready state changes.
Warning
Kairastra is intended for trusted environments.
Kairastra is an opinionated Rust implementation of OpenAI Symphony, adapted around a GitHub-native, one-repository-per-deployment operating model and multi-provider agent execution.
- Watches GitHub Issues or Projects v2 for claimable work.
- Creates isolated per-issue workspaces on the host filesystem.
- Runs one selected worker provider per workflow via
agent.provider; built-ins arecodex,claude, andgemini. - Keeps issue workpad comments, PR discovery, and review handoff in sync with execution.
Kairastra is now native-first. The supported path is to install the binary on your host, generate a workflow, and run it directly.
Install from source:
curl -fsSL https://raw.githubusercontent.com/dbachko/kairastra/main/install.sh | bashRequirements:
- Rust and Cargo on the host
gitandgh- the provider CLI you plan to use:
codex,claude, orgemini
Important
Codex is the default and best-tested provider path today. Kairastra can run issue workers with
agent.provider: codex, claude, or gemini, but if you want the supported default path,
install codex first and start there.
Then generate the native config:
krstr setup
krstr auth menu
krstr doctor
krstr runkrstr setup now also:
- creates
.github/when the repo is otherwise too empty for workspace bootstrap - adds
.kairastra/to local Git ignore rules - inspects required GitHub labels and Project fields
- asks before applying GitHub label or Project-field changes interactively
- stays read-only against GitHub in
--non-interactivemode unless--bootstrap-githubis set
You are set up correctly when all of these are true:
krstr doctorpasses.- Provider auth is configured.
- A repo issue is in a claimable state.
- Kairastra creates a workspace under your configured workspace root.
- The issue gets a workpad update and Kairastra starts or discovers the PR flow.
- An issue enters
Todoor another claimable state in your repo queue. - Kairastra claims it and moves it into the configured in-progress state.
- It creates an isolated git worktree from your local repository and runs the selected agent there.
- The agent edits code, opens or updates a branch and PR, and writes progress into the issue workpad comment.
- GitHub checks and PR status become visible from the same issue lifecycle.
- Kairastra hands the issue back in a human-review state, or reconciles it to done when the issue is closed and the workflow allows automatic completion.
| Command | What it does |
|---|---|
krstr run |
Start the orchestrator loop using repo-root WORKFLOW.md by default. |
krstr run --once |
Run one dispatch pass and wait for started workers before exit. |
krstr setup |
Generate repo-root WORKFLOW.md, .kairastra/provider-settings.json, .kairastra/kairastra.env, add .kairastra/ to .gitignore, sync required .agents/skills/ workflow skills into the repo with confirmation, scaffold repo support dirs, and optionally bootstrap GitHub metadata. |
krstr setup --reconfigure |
Re-run setup and overwrite the generated local Kairastra files for the current repo. |
krstr doctor |
Validate workflow, GitHub connectivity, local commands, auth state, and GitHub metadata readiness. |
krstr auth status |
Show provider auth status. |
krstr auth menu |
Recommended default auth flow. Inspect providers and run the right login interactively. |
krstr auth login --mode subscription |
Run browser, device, or account login for the default provider. Prefer krstr auth menu unless you need to force this path. |
krstr auth login --mode api-key |
Configure API-key auth for the default provider. Prefer krstr auth menu unless you need to force this path. |
krstr is a thin wrapper installed alongside kairastra, so both command names work.
WORKFLOW.md is the main control surface for Kairastra.
- One workflow owns both runtime settings and prompt behavior.
- The repo-root
WORKFLOW.mdis the canonical workflow template. krstr setupwrites operator files under.kairastra/by default.- The generated repo-root
WORKFLOW.mdkeeps setup-specific front matter and uses the canonical prompt body from the repo root template. - The runtime reads
WORKFLOW.mddirectly from the host filesystem. .kairastra/provider-settings.jsonstores compact provider defaults such as model, reasoning, and autonomy settings forcodex,claude, andgemini.- The generated env file keeps machine-specific settings and secrets outside the workflow file.
Use docs/workflow-reference.md for the schema and operational rules.
- rust/README.md: native runtime guide and source-based operation
- docs/auth.md: GitHub token and provider auth guidance
- docs/deployment.md: native deployment and service setup details
- docs/operations.md: doctor checks, day-2 operations, and limitations
- docs/workflow-reference.md:
WORKFLOW.mdstructure and behavior - docs/architecture.md: runtime architecture and execution model
- docs/troubleshooting.md: setup and runtime failure modes
- SPEC.md: normative service contract
This project is licensed under the Apache License 2.0.
