インストール
CLI をローカルにインストール。Codna はあなたのマシン、クラウド、またはセルフホストのインフラで動作します。
pip install codna codna --version
CLI ファースト、MCP 対応、ネイティブ GitHub App 互換。ローカルリポジトリの理解から始め、修正と PR を組み込んでいく。
CLI をローカルにインストール。Codna はあなたのマシン、クラウド、またはセルフホストのインフラで動作します。
pip install codna codna --version
まずリポジトリを理解させましょう。次に Codna に特定の Issue を修正するよう依頼します。
codna triage . codna fix . --issue "the checkout test is failing"
コアコマンドは意図的にシンプルでスクリプタブルに設計されています。
codna triage . --json codna fix . --issue "..." --tests codna fix https://github.com/org/repo --issue "..."
1 行で Codna を Cursor または Claude に追加。エージェントはシンボルマップ・依存関係・テスト影響・集中したエビデンスバンドルを Codna に問い合わせられます。
codna mcp start --repo .
GitHub App をインストールして、Codna に Issue のトリアージ・根本原因エビデンスのコメント・修正プルリクエストのオープンを許可します。
# App flow Install codna → select repos → enable fix PRs
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
Codna は私のコードでトレーニングしますか? いいえ。Codna は顧客コードでのトレーニングを行わない設計です。
セルフホストできますか? はい。セルフホスティングは永久に利用可能で、Enterprise 向けにサポート付きのオンプレミスおよびエアギャップオプションもあります。
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.