Languages: English · Deutsch · Español · Français · Português · Русский · 简体中文 · 日本語 · العربية · हिन्दी · বাংলা
This concise entry point replaces the former long
README.mdfrom source commitbf281f1. Its corrected archival edition is now docs/archive/README.full.en.md; the linked commit preserves the original source revision.
USMC is a Python package and CLI that stores facts, lessons, working notes, and session handoffs in SQLite. The declared direct runtime dependency list is empty; Python 3.10 or newer is required.
By default, the database path is ~/.usmc/usmc_memory.db. Set USMC_DB or pass --db to choose another path; custom paths are used as supplied. USMC does not automatically prune stored records. Choose a suitable local path and manage its permissions, backups, and retention for your use case.
graph LR
subgraph Agents["Autonomous Agents"]
Claude["Claude Code"]
Gemini["Antigravity / Gemini"]
Codex["Codex / GPT"]
end
subgraph USMC["USMC Architecture"]
Client["USMC Client / CLI"]
DB[("Local SQLite (WAL mode)<br/>~/.usmc/usmc_memory.db")]
end
Claude -->|"facts / lessons / working notes"| Client
Gemini -->|"cross-agent handoff"| Client
Codex -->|"context retrieval"| Client
Client <-->|"ACID transactions (zero dependencies)"| DB
The reviewed package source contains no direct HTTP client. Installing from GitHub or building the package uses network-capable tools, and a calling agent or other process may use the network independently. USMC does not provide a firewall or sandbox; processes inherit the privileges of their launcher.
Install from the Git source (this requires Git/Python packaging tools and network access):
python -m pip install "git+https://github.com/ellmos-ai/usmc.git"
usmc --help
usmc status
usmc setup --dry-run
For a local checkout, use python -m pip install -e ".[test]". The [test] extra is for development and testing.
from usmc import USMCClient
client = USMCClient(agent_id="codex")
client.add_fact("project", "status", "in progress", confidence=0.8)
print(client.generate_context())
- Full guide and API examples
- Code of Conduct
- Security and data-handling notes
- Contributing and test commands
- Third-party license inventory and plain-text license notes
- Machine-readable guide
- Changelog
BACH can use the optional shared-memory schema defined by USMC's memory_union.contract.json; see the migration and opt-in details in the full guide. This describes a schema relationship, not an automatic installation or a security boundary.
ellmos-stack composes USMC as its curated-memory component in a self-hosted research stack; its installer fetches USMC from a pinned Git commit. This describes that stack composition, not an installation or launch guarantee provided by USMC.
GARDENER offers optional read-only source templates for USMC replica snapshots; they are disabled by default and require a separate sync snapshot plus caller opt-in.
The project is provided under the MIT License; attribution details are in NOTICE.
