تحليل المستودع.
Codna يفحص الملفات والرموز والواردات والاختبارات وحواف التبعيات عبر 110 لغة. يعمل بدون LLM، لذا لا يكلف رموزًا ولا يُسرّب الكود إلى نموذج.
codna triage . --json
Codna يفصل فهم القاعدة البرمجية عن استدلال النموذج. الطبقة الحتمية ترسم خريطة المستودع. الوكيل يتصرف بأدلة مركّزة.
Codna يفحص الملفات والرموز والواردات والاختبارات وحواف التبعيات عبر 110 لغة. يعمل بدون LLM، لذا لا يكلف رموزًا ولا يُسرّب الكود إلى نموذج.
codna triage . --json
يُحدد الرسم البياني ما الذي يمكن أن ينكسر إذا تغيرت دالة أو ملف أو حزمة أو API. هذا يُتيح لـ Codna تضييق نطاق البحث قبل أن يبدأ الوكيل.
Codna يُسلّم الوكيل الملفات الدقيقة والاختبارات الفاشلة ومسارات الاستدعاء والسياق التاريخي الذي يحتاجه — لا مجرد إغراق هائل للسياق.
الوكيل يكتب تصحيحًا، Codna يُحاكي المخاطر، وتختبارك تُحقق. مع GitHub App، تتحول النتيجة إلى طلب سحب.
codna fix . --issue "checkout race condition" --pr
Under the hood
البنية
استخدم مفتاحك الخاص أو مزود نموذجك الخاص أو خيار LLM المُدار. الخريطة الحتمية تبقى كما هي.
مفتاح نموذجك. حدودك. سجل التدقيق الخاص بك.
امنح Cursor و Claude فهمًا حتميًا للقاعدة البرمجية كأداة محلية.
شغّل Codna في أي مستودع أو مهمة CI أو حاوية.
حوّل المشكلات والفحوصات الفاشلة إلى طلبات سحب إصلاح.
A deterministic engine builds a dependency and blast-radius graph of your repository in roughly 60ms, using zero LLM tokens. That graph captures which code affects which — no AI guesswork involved in the analysis step.
An evidence bundle is the minimal slice of context Codna assembles before calling the AI agent — about 600 tokens, measured at 162x less than reading the whole repo. The agent sees only what is relevant to the bug, so fixes are faster and cheaper.
Every fix is verified by your own tests before it is surfaced. If the tests do not pass, the fix is not delivered.
Benchmarked head-to-head against Cursor across 87 tasks, Codna used 5× fewer tokens and ran 1.7× faster — roughly $0.02 per verified fix.
No — Codna supports 250+ languages. It mapped 130 repositories in 9.2 seconds for zero tokens, and the deterministic engine is language-agnostic by design.
Codna ships as a CLI, an MCP server for Cursor and Claude, and a native GitHub App that opens verified fix pull requests. You can self-host, bring your own API key, and egress is fail-closed — your code is never used for training.