Skip to main content

Codna CLI

Codna is a local-first code intelligence and fixing CLI. It maps a repository, builds focused evidence for the agent, applies patches through the local Codna runtime, and reports verification evidence without requiring users to manage a separate local database or engine stack.

Install

pip install codna

Codna supports Python 3.10 and newer on macOS and Linux.

Common Commands

codna doctor
codna doctor --start-stack
codna triage .
codna fix . --issue "describe the failing test or production bug"
codna mcp

codna doctor is read-only by default. codna doctor --start-stack starts the owned local runtime when you explicitly ask for it. Normal fix and benchmark paths use the same runtime contract.

What Codna Runs Locally

The base install includes the local Arrow/Parquet artifact dependency required for repository-intelligence step history. Clean installs include a packaged local repository backend for snapshot, triage, sidecar-backed fix planning, deterministic patch simulation, and explicit local-branch apply.

Codna's normal local product path uses the local Algenta SDK/core in process for repository intelligence. No local Postgres is required. Local runtime state is kept under the user's Codna runtime directory, and the agent sidecar is started only when needed.

MCP

Codna can run as a local MCP server for editors and agents that support MCP:

codna mcp

Use this when Cursor, Claude, or another MCP-compatible client needs Codna's repo understanding as a local tool.

Local Memory

Base pip install codna includes Codna's local Telys recall path: the public Telys SDK, Codna's vendored local runtime package, and release-wheel native runtime artifacts for supported platforms.

The optional codna[memory] extra adds heavier recall enhancements such as FAISS, WordLlama reranking, and tree-sitter grammars. It is not required for basic on-device recall.

Source distributions intentionally exclude bundled native runtime artifacts and OEM licenses; platform wheels carry them at release time. Source-checkout and unsupported-platform development can point Codna at an explicit runtime with TELYS_KERNEL or CODNA_TELYS_INSTALL_ROOT.

Security And Local Files

Codna is designed for local-first operation:

  • Secrets are never required in source control.
  • Local runtime state and logs stay on the user's machine.
  • Generated release artifacts are not included in source distributions.
  • Secrets, local runtime state, logs, .env files, key files, and bundled native runtime artifacts are excluded from source distributions.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codna-0.1.9.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

codna-0.1.9-py3-none-manylinux_2_34_x86_64.whl (21.0 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

codna-0.1.9-py3-none-macosx_14_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file codna-0.1.9.tar.gz.

File metadata

  • Download URL: codna-0.1.9.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for codna-0.1.9.tar.gz
Algorithm Hash digest
SHA256 1ea6d466395480f37c67878ad1d18c3b49b28f704e4579dd38914a4d9c134aa5
MD5 285d416d0870b536af779aa4c65ce507
BLAKE2b-256 c733a706a1fb3d92e5bc0d54f34d77d2c43a6e9d58ccd8040bbb597c2ec8f99e

See more details on using hashes here.

File details

Details for the file codna-0.1.9-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for codna-0.1.9-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5305e1df2dff595fa990ea576a4d3e39c5bc230feeb948e32ab56bce96a924b7
MD5 1df056802c6e5f2af42ac1589e5374d5
BLAKE2b-256 5f3ce97f4d919850a3c9b87a582a47f9612aeac9ba2c3efe8335d0e8ec3105f9

See more details on using hashes here.

File details

Details for the file codna-0.1.9-py3-none-macosx_14_0_arm64.whl.

File metadata

  • Download URL: codna-0.1.9-py3-none-macosx_14_0_arm64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3, macOS 14.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for codna-0.1.9-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 437b6185d0de18e5ab43bb4a07458195cfa0b18e0cdc6d0fb6a88fc16e514671
MD5 a700edc373fdcf2de6d151f3e5225459
BLAKE2b-256 9e25f74a4d1b5b675ba0632cdae42a6c2169cd4d2acd787b13ce582ee67a69ad

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.16

3 files

0.2.15

3 files

0.2.14

3 files

0.2.13

3 files

0.2.12

3 files

0.2.11

3 files

0.2.10

3 files

0.2.9

3 files

0.2.8

3 files

0.2.7

3 files

0.2.6

3 files

0.2.5

3 files

0.2.4

3 files

0.2.3

3 files

0.2.2

3 files

0.2.1

3 files

0.2.0

3 files

0.1.49

3 files

0.1.48

3 files

0.1.47

3 files

0.1.46

3 files

0.1.45

3 files

0.1.44

3 files

0.1.43

3 files

0.1.42

3 files

0.1.41

3 files

0.1.40

3 files

0.1.39

3 files

0.1.38

3 files

0.1.37

3 files

0.1.36

3 files

0.1.35

3 files

0.1.34

3 files

0.1.33

3 files

0.1.32

3 files

0.1.31

3 files

0.1.30

3 files

0.1.29

3 files

0.1.28

3 files

0.1.27

3 files

0.1.26

3 files

0.1.25

3 files

0.1.24

3 files

0.1.23

3 files

0.1.22

3 files

0.1.21

3 files

0.1.20

3 files

0.1.19

3 files

0.1.18

3 files

0.1.17

3 files

0.1.16

3 files

0.1.15

3 files

0.1.14

3 files

0.1.13

3 files

0.1.12

3 files

0.1.11

3 files

0.1.10

3 files

This release

0.1.9 This release

3 files

0.1.8

3 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page