Skip to content
ellmos-aiPublic

Latest commit

 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USMC banner

USMC — United Shared Memory Client

CI Tests Dependabot MIT License Python 3.10+ Zero Dependencies Storage

Languages: English · Deutsch · Español · Français · Português · Русский · 简体中文 · 日本語 · العربية · हिन्दी · বাংলা

This concise entry point replaces the former long README.md from source commit bf281f1. 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.

Data and runtime scope

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
Loading

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 and try

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())

Documentation

Related projects

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.

License

The project is provided under the MIT License; attribution details are in NOTICE.

Legacy section links

  1. Open the archived section

2. Open the archived section

3. Open the archived section

4. Open the archived section

5. Open the archived section

6. Open the archived section

7. Open the archived section

8. Open the archived section

9. Open the archived section

10. Open the archived section

11. Open the archived section

12. Open the archived section

13. Open the archived section

14. Open the archived section

15. Open the archived section

16. Open the archived section

17. Open the archived section

18. Open the archived section