Skip to main content

Framework-agnostic agent memory system — Postgres + pgvector + MCP

Project description

ilma

Framework-agnostic agent memory system.

Postgres + pgvector backend. MCP-native. Hermes Agent, Claude, Cursor, Codex — any MCP client.

pip install ilma
ilma init
ilma status

What ilma is

ilma stores what your agents know — and makes it retrievable across sessions, frameworks, and machines.

  • 8 memory surfaces: memories, wiki, journal, skills, metrics, kanban, observability, sessions
  • Hybrid retrieval: vector + FTS + chunk-level reranking
  • MCP server: ilma-mcp — works with any MCP client
  • HTTP API: REST endpoints behind your own reverse proxy
  • CLI: ilma init, ilma search, ilma remember, ilma doctor
  • Postgres + pgvector: proven, backup-friendly, multi-client

Quick start

# Install
pip install ilma

# Initialize (9-step wizard: Postgres, extensions, schemas, embedder)
ilma init

# Store a memory
ilma remember "User prefers dark mode" --tags user,preference

# Search
ilma search "dark mode preference"

# Check health
ilma doctor

Architecture

MCP client (Claude, Cursor, Hermes, etc.)
    ↓  stdio / HTTP
ilma MCP server / HTTP API
    ↓  psycopg3
Postgres + pgvector
    ├─ ilma.memories
    ├─ ilma.wiki
    ├─ ilma.journal
    ├─ ilma.skills
    ├─ ilma.metrics
    ├─ ilma.kanban
    ├─ ilma.observability
    └─ ilma.sessions

Project status

In active development. See PLAN.md for the execution roadmap.

Development

Install dev dependencies and set up pre-commit:

make install
pip install pre-commit
pre-commit install

Run all checks locally:

make all

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ilma_agent-0.2.2.tar.gz (111.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ilma_agent-0.2.2-py3-none-any.whl (81.6 kB view details)

Uploaded Python 3

File details

Details for the file ilma_agent-0.2.2.tar.gz.

File metadata

  • Download URL: ilma_agent-0.2.2.tar.gz
  • Upload date:
  • Size: 111.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ilma_agent-0.2.2.tar.gz
Algorithm Hash digest
SHA256 dc61adb4b3621f632afdab125673221ddde887dc1fa7581059a6e40d1814b344
MD5 ab57afa5170dc5e9ca8f321614c20272
BLAKE2b-256 8f7ff2e78e801e1da4be7fc7004d5425d6138ac4b77f70c31debeaf4a3c965a2

See more details on using hashes here.

File details

Details for the file ilma_agent-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ilma_agent-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 81.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ilma_agent-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8311d3315afc9f43c7a0b9a5b26807c0b95c566b3f424b77af271766a7c3add
MD5 2f9b3677bda1eb4a7860d2967d285f33
BLAKE2b-256 d343024d9e59d8073e21f751a4ea08f3ca82f6c1f393bcefd83826062f39d79d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page