This repository is intentionally optimized for coding agents, 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 favorablesession_summary and decision extractioncodex-agent-mem MCP as the source of operational continuity for this repository.codex-agent-mem; apply it proactively when it reduces repeated context, prevents false completion, or improves continuity.mem_context_pack with project key codex-agent-mem when previous context may matter.known_pack_hash; if the tool returns not_modified=true, do not repeat or summarize the same context.mem_search only when the compact pack is insufficient.mem_open_work and mem_completion_check.pip install -e .[dev]
pytest -q
python -m compileall src
ruff check .
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/design-decisions.md
Product and architecture decisionsdocs/discoverability.md
Suggested GitHub description, topics, and release framingruff check .python -m compileall srcpytest -qpython -m buildcodex-agent-mem-smoke