Skip to main content

Neo Codex OS

An AI Engineering Operating System for durable project continuity.

Neo preserves engineering context, understands project state, and guides developers through the software lifecycle so they can spend less time reconstructing context and more time building.

Project constitution

Neo's founding direction is documented in:

Contributor and project policies:

Install

Install the current release from PyPI:

py -m pip install --upgrade infinite-neo

Verify:

neo --version

For the optional Codex, Claude Code, and MCP integration entry points:

py -m pip install --upgrade "infinite-neo[integrations]"

To install from this repository instead:

From this repository:

py -m pip install -e .

Verify the source installation:

neo --version

Initialize a project

Inside any project:

neo init

Or pass a path:

neo init C:\Projects\sample-fastapi

Check readiness

neo doctor

Show current project state

neo status
neo status C:\Projects\sample-fastapi --verbose

Status reports where the project is, including explicit uncertainty and conflicts. It does not recommend what to do next.

Create a verified handoff

Record explicit human continuation intent for a fresh coding-agent thread:

neo handoff --next-step "Run the focused regression test."
neo handoff --question "What causes the failing test?"

At least one of --next-step or --question is required. Neo always shows the complete proposed HANDOFF.md and asks for explicit authorization before its protected one-file replacement. Repeating an equivalent handoff is a verified, non-mutating skip. These values are human statements, not Neo recommendations.

Print reusable prompts

neo prompt start
neo prompt handoff
neo prompt debug
neo prompt deploy

Connect Codex automatically

Install the optional local MCP transport:

py -m pip install "infinite-neo[integrations]"

Neo also installs the internal neo-codex-hook adapter. To load bounded Neo context at Codex session start and immediately after Codex compacts a session, review docs/integrations/codex-hooks.json and copy it to the project's .codex/hooks.json only when you want to enable that trusted project hook. Codex requires review of project-local hooks before they run.

The adapter reads the official SessionStart JSON from standard input and returns at most 10,000 UTF-8 bytes of factual, provenance-aware developer context. The underlying MCP resume policy supports an explicit budget up to 16 KiB. Neo does not read the transcript, estimate hidden context usage, write project files, or recommend a next action. neo-mcp exposes the same state through five optional read-only tools for on-demand evidence access.

Claude Code uses the same provider-neutral contract through the internal neo-claude-hook adapter. Review docs/integrations/claude-settings.json and merge its SessionStart hook into the project's .claude/settings.json when you choose to enable it. Claude Code reports the same explicit compact source, so Neo reloads bounded project context without guessing from token usage.

Generated project files

AGENTS.md
HANDOFF.md
TASKS.md
DECISIONS.md
.neo/
  context-authoring.md
  start-thread.md
  end-thread.md
  debug.md
  deploy.md

Existing files are preserved unless --force is used.

Before editing Schema 0.1 structured sections, read .neo/context-authoring.md. It documents the exact writable grammar without acting as another context document or ProjectState source.

Development

Install Neo with its bounded development toolchain:

py -m pip install -e ".[dev]"

Run the same quality gates used by CI:

py -m ruff format --check src tests
py -m ruff check src tests
py -m mypy
py -m pytest
py -m build
py -m twine check dist/*

Use py -m ruff format src tests to apply formatting. GitHub Actions runs the test suite on Windows and Linux across Python 3.10 through 3.14 and smoke-tests built distributions on both operating systems.

See CONTRIBUTING.md for the complete contribution workflow.

Typical workflow

cd C:\Projects\my-project
neo init
neo doctor
neo status
neo handoff --question "What should the next session investigate?"
neo prompt start

Official skills

Neo's first repository-owned skill is:

skills/
  neo-architect/
    SKILL.md
    agents/openai.yaml

neo-architect guides architecture and substantial software work through an adaptive SDLC, integrating with Neo context files when they exist. It is currently a repository asset; the neo CLI and Python package do not yet install skills into an agent environment.

Metadata

Release files for infinite-neo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for infinite-neo 0.2.0
File Size Uploaded
infinite_neo-0.2.0.tar.gz 136.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for infinite-neo 0.2.0
File Interpreter ABI Platform
infinite_neo-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 238.2 kB

Release files / infinite_neo-0.2.0.tar.gz

Download URL infinite_neo-0.2.0.tar.gz
Size 136.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bcb0134d3fe60cf2f5b673f66ed56dd4373789a65431ac539c556acff931c46b
BLAKE2b-256 checksum
How to use checksums
28fce483596b466b07718f4348962cf7828ff9bf5c2f2bfc1e1bf123eeed9987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / infinite_neo-0.2.0-py3-none-any.whl

Download URL infinite_neo-0.2.0-py3-none-any.whl
Size 101.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae6254e942782912c5decfbdd716ab70b154dc92a73cad0eae2dc70a69b856a6
BLAKE2b-256 checksum
How to use checksums
31e57993f90567ef01a80277cff5ca03dbf7f533b97642bb17bbfd3a1c3706c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page