Docs

Codna mit einem Befehl installieren.

CLI-first, MCP-ready und nativ mit der GitHub App kompatibel. Starte mit lokalem Repo-Verständnis, dann integriere Fixes und PRs.

Installation

CLI lokal installieren. Codna kann auf deiner Maschine, deiner Cloud oder selbst gehosteter Infrastruktur laufen.

pip install codna
codna --version

Quickstart

Zuerst ein Repo verstehen. Dann Codna bitten, ein spezifisches Problem zu beheben.

codna triage .
codna fix . --issue "the checkout test is failing"

CLI

Die Kernbefehle sind bewusst klein und skriptbar gehalten.

codna triage . --json
codna fix . --issue "..." --tests
codna fix https://github.com/org/repo --issue "..."

MCP-Server

Füge Codna mit einer Zeile zu Cursor oder Claude hinzu. Dein Agent kann Codna nach Symbol-Maps, Abhängigkeiten, Test-Auswirkungen und fokussierten Evidenzpaketen fragen.

codna mcp start --repo .

Native GitHub App

Installiere die GitHub App, damit Codna Issues triagieren, mit Grundursache-Beweisen kommentieren und Fix-Pull-Requests öffnen kann.

# App flow
Install codna → select repos → enable fix PRs

Konfiguration

Bring your own model key, or use Codna's managed model — it's the same Codna either way.

model:
  provider: openai
  key: env:CODNA_MODEL_KEY
privacy:
  egress: fail-closed
  redact_secrets: true

FAQ

Trainiert Codna auf meinem Code? Nein. Codna ist so konzipiert, dass kein Training auf Kundendaten stattfindet.

Kann ich selbst hosten? Ja. Self-hosting ist dauerhaft verfügbar, mit unterstützten On-Prem- und Air-gapped-Optionen für Enterprise.

Frequently asked

Install with a single command from your terminal. The codna cli runs locally, so you bring your own API key and your code never leaves your machine unless you choose otherwise.

The MCP server for coding integrates natively with Cursor and Claude. Add it to your editor's MCP config and Codna's graph engine becomes available to your AI assistant without any extra steps.

The GitHub App monitors your repository and opens pull requests with verified fixes automatically. Every fix is validated by your own test suite before the PR is created.

No. Codna is self-hostable, and egress is fail-closed by default. You supply your own API key, and the system is designed so your code is never used for model training.

The deterministic graph engine maps the relevant code first, producing an evidence bundle measured at around 600 tokens. Head-to-head against Cursor, Codna used 5× fewer tokens and ran 1.7× faster, every fix test-verified (87/87).

Codna supports 250+ languages, and has mapped 130 repositories in 9.2 seconds for zero LLM tokens. If your project compiles or resolves dependencies, Codna can graph it.