# kōjō > kōjō (工場) is an open-source, self-hosted software factory: autonomous agents that build features, fix bugs, review pull requests and audit security end to end, on request or on a schedule. It is one Go binary plus Postgres and runs in your own infrastructure with any model. Work is described by skills kept as files in a repository (.factory/skills//SKILL.md, goals.yaml, kit.yaml); a goal critic checks each result against goals.yaml before anything is published. Repository code runs only in sandboxes whose network egress goes through a proxy that holds the credentials, and changes are published as draft pull requests unless a merge policy says otherwise. It connects to GitHub, GitLab, Forgejo, Bitbucket, Slack, Mattermost, Discord, Microsoft Teams, a CLI and MCP. Auto-generated from the kōjō documentation. The kojo.yaml reference page is generated from the Go structs, and the JSON Schemas of kojo.yaml and of the skill files are served next to these files under schema/. ## Documentation - [Overview](https://xavidop.github.io/kojo/docs) - [Quick start](https://xavidop.github.io/kojo/docs/quickstart) - [Install](https://xavidop.github.io/kojo/docs/install) - [Concepts](https://xavidop.github.io/kojo/docs/concepts) - [Skills](https://xavidop.github.io/kojo/docs/skills) - [SKILL.md](https://xavidop.github.io/kojo/docs/skills/skill-md) - [goals.yaml](https://xavidop.github.io/kojo/docs/skills/goals) - [kit.yaml](https://xavidop.github.io/kojo/docs/skills/kit) - [Reference repositories](https://xavidop.github.io/kojo/docs/skills/reference-repositories) - [Worked example: fix-bug](https://xavidop.github.io/kojo/docs/skills/example) - [Skills CI](https://xavidop.github.io/kojo/docs/skills/ci) - [Built-in skills](https://xavidop.github.io/kojo/docs/built-in-skills) - [Changing code](https://xavidop.github.io/kojo/docs/built-in-skills/changing-code) - [Reviews and audits](https://xavidop.github.io/kojo/docs/built-in-skills/reviews-and-audits) - [Scheduled upkeep](https://xavidop.github.io/kojo/docs/built-in-skills/scheduled-upkeep) - [Schedules](https://xavidop.github.io/kojo/docs/schedules) - [Evals](https://xavidop.github.io/kojo/docs/evals) - [Memory](https://xavidop.github.io/kojo/docs/memory) - [Self-improvement](https://xavidop.github.io/kojo/docs/self-improvement) - [kojo.yaml reference](https://xavidop.github.io/kojo/docs/config-reference) - [Models](https://xavidop.github.io/kojo/docs/models) - [Sandboxes](https://xavidop.github.io/kojo/docs/sandboxes) - [sbx driver](https://xavidop.github.io/kojo/docs/sandboxes/sbx) - [k8s driver](https://xavidop.github.io/kojo/docs/sandboxes/k8s) - [e2b driver](https://xavidop.github.io/kojo/docs/sandboxes/e2b) - [Development drivers](https://xavidop.github.io/kojo/docs/sandboxes/docker) - [kojo-proxy](https://xavidop.github.io/kojo/docs/sandboxes/proxy) - [Surfaces](https://xavidop.github.io/kojo/docs/surfaces) - [Who may trigger what](https://xavidop.github.io/kojo/docs/surfaces/triggers) - [Merge policy](https://xavidop.github.io/kojo/docs/merge-policy) - [Plan first](https://xavidop.github.io/kojo/docs/plan-first) - [Products in several repositories](https://xavidop.github.io/kojo/docs/multi-repo) - [Fixing red CI](https://xavidop.github.io/kojo/docs/red-ci) - [Campaigns](https://xavidop.github.io/kojo/docs/campaigns) - [GitHub](https://xavidop.github.io/kojo/docs/surfaces/github) - [GitLab](https://xavidop.github.io/kojo/docs/surfaces/gitlab) - [Forgejo and Gitea](https://xavidop.github.io/kojo/docs/surfaces/forgejo) - [Bitbucket](https://xavidop.github.io/kojo/docs/surfaces/bitbucket) - [Slack](https://xavidop.github.io/kojo/docs/surfaces/slack) - [Mattermost](https://xavidop.github.io/kojo/docs/surfaces/mattermost) - [Discord](https://xavidop.github.io/kojo/docs/surfaces/discord) - [Microsoft Teams](https://xavidop.github.io/kojo/docs/surfaces/teams) - [Linear](https://xavidop.github.io/kojo/docs/surfaces/linear) - [Jira](https://xavidop.github.io/kojo/docs/surfaces/jira) - [Asana](https://xavidop.github.io/kojo/docs/surfaces/asana) - [Sentry](https://xavidop.github.io/kojo/docs/surfaces/sentry) - [Datadog](https://xavidop.github.io/kojo/docs/surfaces/datadog) - [Managing kōjō](https://xavidop.github.io/kojo/docs/manage) - [The dashboard](https://xavidop.github.io/kojo/docs/manage/dashboard) - [Manage with the CLI](https://xavidop.github.io/kojo/docs/manage/cli) - [Manage with git](https://xavidop.github.io/kojo/docs/manage/git) - [Manage with MCP](https://xavidop.github.io/kojo/docs/manage/mcp) - [HTTP API](https://xavidop.github.io/kojo/docs/manage/api) - [Runtime config objects](https://xavidop.github.io/kojo/docs/manage/objects) - [Deploy](https://xavidop.github.io/kojo/docs/deploy) - [Single VM with Compose](https://xavidop.github.io/kojo/docs/deploy/compose) - [Kubernetes with Helm](https://xavidop.github.io/kojo/docs/deploy/helm) - [CLI reference](https://xavidop.github.io/kojo/docs/cli) - [Observability](https://xavidop.github.io/kojo/docs/observability) - [Prometheus metrics](https://xavidop.github.io/kojo/docs/observability/metrics) - [Audit log](https://xavidop.github.io/kojo/docs/observability/audit-log) - [Shareable reports](https://xavidop.github.io/kojo/docs/observability/reports) - [Security](https://xavidop.github.io/kojo/docs/security) - [Development](https://xavidop.github.io/kojo/docs/development) - [Local stacks](https://xavidop.github.io/kojo/docs/development/local-stacks) - [Testing](https://xavidop.github.io/kojo/docs/development/testing) - [Contributing](https://xavidop.github.io/kojo/docs/contributing) ## Full text - [Complete documentation](https://xavidop.github.io/kojo/llms-full.txt): every page above concatenated into a single Markdown file. ## Schemas - [kojo.schema.json](https://xavidop.github.io/kojo/schema/kojo.schema.json): kojo.yaml, the deployment config. - [skill.schema.json](https://xavidop.github.io/kojo/schema/skill.schema.json): the front matter of a SKILL.md. - [goals.schema.json](https://xavidop.github.io/kojo/schema/goals.schema.json): goals.yaml, a skill's acceptance criteria. - [kit.schema.json](https://xavidop.github.io/kojo/schema/kit.schema.json): kit.yaml, a skill's sandbox requirements. - [factory.schema.json](https://xavidop.github.io/kojo/schema/factory.schema.json): .factory/factory.yaml. - [schedules.schema.json](https://xavidop.github.io/kojo/schema/schedules.schema.json): .factory/schedules.yaml. - [config-export.schema.json](https://xavidop.github.io/kojo/schema/config-export.schema.json): the file `kojo config export` writes and `kojo config apply` reads.