This repository is intentionally optimized for MCP-compatible AI agents, coding workflows, deep-research tools, and maintainers who need a fast map of what exists today.
codex-agent-memcodex_agent_memcodex-agent-mem-smokenotify on agent-turn-complete/uiAGENTS.md working-memory block when compression is favorablemem_bootstrap_context or mem_scope_resolve before loading mem_context_pack(project_key). A project-wide pack may remain available, but it must not be treated as the active thread when candidate lanes are ambiguous.pip install -e .[dev]
pytest -q
python -m compileall src
ruff check .
python scripts/mcp_contract_smoke.py --both
python scripts/check_repo_hygiene.py
python scripts/smoke_release.py --mcp-subprocess --with-ruff --with-build --with-wheel-smoke
codex-agent-mem-smoke
codex-agent-mem-bootstrap-codex --db-path C:\Users\YOU\.codex_agent_mem\codex_agent_mem.db
python -m build
src/codex_agent_mem/
Core package codetests/
Executable tests for API, MCP, ingest, notify, and smoke flowexamples/codex/
Codex config examples and optional HTTP notify wrapperscripts/
Windows and POSIX bootstrap helpersdocs/
Quickstart, integration notes, architecture, support matrix, and design decisionssrc/codex_agent_mem/api.py
FastAPI inspection APIsrc/codex_agent_mem/mcp_stdio.py
MCP stdio serversrc/codex_agent_mem/codex_notify.py
Codex notify adaptersrc/codex_agent_mem/db.py
SQLite persistence and query surfacesrc/codex_agent_mem/schema.sql
Database schemasrc/codex_agent_mem/bootstrap_codex.py
Codex config snippet generatorsrc/codex_agent_mem/project_doc.py
Generated AGENTS block sync for compressed continuitysrc/codex_agent_mem/context_pack.py
Compact working-memory pack builder and token-budget statssrc/codex_agent_mem/smoke.py
End-to-end smoke verificationREADME.md
Public entry pointdocs/quickstart.md
Fastest operational pathdocs/codex-integration.md
Notify + MCP integration detailsdocs/support-matrix.md
Supported and unsupported combinationsdocs/validation/
Validation levels, client behavior, and runtime evidencedocs/benchmarks/
Reproducible token-savings methodologydocs/design-decisions.md
Product and architecture decisionsdocs/discoverability.md
Suggested GitHub description, topics, and release framingruff check .python -m compileall srcpytest -qpython scripts/mcp_contract_smoke.py --both for MCP contract changespython scripts/check_repo_hygiene.py before release reviewpython -m buildcodex-agent-mem-smoke