Skip to main content

Repo-local continuity runtime for coding agents

Project description

AICTX

PyPI Website Python CI License: MIT PyPI Downloads

Operational continuity for AI coding agents.

AICTX helps Codex, Claude, GitHub Copilot and other coding agents continue work across sessions by preserving the last useful execution state: active work, next actions, decisions, failures, validation evidence and repo context.

The next agent does not start from zero. It resumes from what actually happened.

Website: https://aictx.org
PyPI package: https://pypi.org/project/aictx/
CLI: aictx

It is a repo-local CLI/runtime layer for agent continuity. It stores inspectable artifacts under .aictx/ and exposes one agent-facing resume command plus one finalize command.

AICTX is Codex-first, GitHub Copilot-aware, Claude-aware, and generic-agent compatible.

AICTX + Coding Agent Runtime Flow

Quickstart · Installation · Continuity View · Demo · Technical overview · Official project


The problem

Coding agents are powerful, but most sessions still start cold:

  • they rediscover the same repository structure;
  • they reopen broad docs before the relevant source or test;
  • they repeat failed commands or stale assumptions;
  • unfinished work depends on chat history instead of repo-local state.

AICTX makes that continuity repo-local, inspectable, and reusable.

Install

Install AICTX, then initialize the repository:

pip install aictx
aictx install
aictx init
aictx --version

After that, keep using your coding agent.

The generated repo instructions and hooks guide supported agents to call AICTX automatically. The normal user experience is:

install -> init -> use your coding agent

See Installation and Quickstart.


The operational continuity loop

resume useful context -> do the work -> finalize evidence -> next session continues

AICTX stores continuity locally under .aictx/, so it is inspectable, reviewable and not dependent on hidden chat history.

What changes?

Without operational continuity

A new agent session starts cold.
It scans README, docs, Makefile and source files.
It rediscovers decisions.
It may repeat failed commands.
It asks for context that already existed.

With AICTX

The agent runs one resume command.
It sees active work, next action, known failures and validation path.
After work, it finalizes factual evidence for the next session.

AICTX turns disconnected agent sessions into a continuous operational workflow.

Inspect the continuity

aictx view --repo .

AICTX can render the current operational state of a repository as local Markdown and Mermaid:

.aictx/reports/continuity-view.md
.aictx/reports/continuity-map.mmd

Not hidden memory. Reviewable operational continuity.

AICTX Continuity View example

Continuity View documentation · Image asset

What AICTX preserves

AICTX focuses on operational facts that help the next agent continue useful work:

  • active Work State and next action;
  • execution summaries and handoffs;
  • explicit decisions;
  • known failures and resolved failure patterns;
  • strategy hints from successful prior work;
  • execution contracts and contract-compliance signals;
  • optional RepoMap structural entry points;
  • optional Git-portable continuity for small teams.

What AICTX is not

AICTX is not an autonomous coding agent, a cloud memory service, a vector database, a dashboard, a replacement for human review, or a guarantee of correctness, productivity gains or token savings.

It is a repo-local operational continuity layer used by cooperating coding agents.


Core capabilities

Capability What it does Why it matters
Work State Preserves active task, hypothesis, files, next action, risks, and verification state The next session knows what was in progress
Failure Memory Stores observed command/test/build/type/lint failures as structured patterns Agents can avoid repeating known mistakes
RepoMap Optional Tree-sitter structural map of files and symbols Agents get compact structural entry points for “where should I look first?”
Strategy Memory Reuses successful prior execution patterns Known-good approaches can be suggested again
Handoff / Decisions Keeps operational summaries and explicit project decisions Architecture and intent survive session boundaries
Execution Summary Captures what happened at finalize time The next session starts from factual continuity
Continuity View Generates .aictx/reports/continuity-view.md and .aictx/reports/continuity-map.mmd from repo-local continuity Users and agents can inspect active Work State, handoffs, failures, contracts, summaries, RepoMap hints, and portability in one deterministic Markdown/Mermaid view
Contract Compliance Audits first action, edit scope, validation, and structural alignment Gaps can carry over into Work State instead of disappearing
Doctor Read-only repo/runtime diagnostic with aictx doctor --repo . --json; add --release-readiness for strict aictx release-gate checks Support uses a general repo diagnostic while releases keep stricter checks
Resume capsule Compiles continuity into one agent brief Agents do not need to discover AICTX internals at startup

Supported agents

AICTX is runner-aware, not runner-locked.

  • Codex-first: AGENTS.md, optional global Codex setup, CLI/runtime JSON contract.
  • Claude-aware: CLAUDE.md, .claude/settings.json, .claude/hooks/aictx_*.py.
  • GitHub Copilot: best-effort instruction hardening through .github/copilot-instructions.md, .github/instructions/aictx.instructions.md, and optional prompt files created by aictx init.
  • Generic fallback: any agent that can read repo instructions, run CLI commands, and consume JSON/Markdown.

Documentation

Start here:

Core concepts:

Use cases and comparisons:

Operations and trust:


Current limits

AICTX improves continuity only when agents or integrations cooperate with the runtime contract. File access, commands, tests, and failures are strongest when passed explicitly or captured through wrapped execution.

AICTX does not claim measured productivity gains, guaranteed speedups, or automatic correctness.

It makes operational continuity visible, inspectable, and reusable.

Project details


Download files

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

Source Distribution

aictx-6.5.1.tar.gz (300.1 kB view details)

Uploaded Source

Built Distribution

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

aictx-6.5.1-py3-none-any.whl (235.7 kB view details)

Uploaded Python 3

File details

Details for the file aictx-6.5.1.tar.gz.

File metadata

  • Download URL: aictx-6.5.1.tar.gz
  • Upload date:
  • Size: 300.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aictx-6.5.1.tar.gz
Algorithm Hash digest
SHA256 647e3c6324802e9c6e0a9ccf23dc514729ac410aefe65339f447405312d56d50
MD5 429a8fbefc069dd0865dab9574724313
BLAKE2b-256 dea011f4ffef21953f8ab8a070b55855d71f43ae8b772d5c42bc5bffe5d8d66f

See more details on using hashes here.

Provenance

The following attestation bundles were made for aictx-6.5.1.tar.gz:

Publisher: publish-pypi.yml on oldskultxo/aictx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aictx-6.5.1-py3-none-any.whl.

File metadata

  • Download URL: aictx-6.5.1-py3-none-any.whl
  • Upload date:
  • Size: 235.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aictx-6.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edd5d6aa2efc0f6b367973eecebc3642947ba81565783a8f2d5ad4582eb08357
MD5 264426d6f733fa355535184e78ea91b6
BLAKE2b-256 4048854b3eff80f98c8698977fd38f720da48b9edec64193210a73389a4f1779

See more details on using hashes here.

Provenance

The following attestation bundles were made for aictx-6.5.1-py3-none-any.whl:

Publisher: publish-pypi.yml on oldskultxo/aictx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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