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.1.tar.gz (104.2 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.1-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ilma_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 104.2 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.1.tar.gz
Algorithm Hash digest
SHA256 6e3a5d4630d27ce6ee40d5bff72604f80b381ad2260b7025b528e494499d38df
MD5 7dd2181bdcc8e4a4a7c060a5a5009b52
BLAKE2b-256 bc6088a3694849a270885a26ccc7cec8a79800add526e574276f4da82c9f71fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ilma_agent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 76.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87d09815b079d45e35dc50dbe70ce3701ca86d6b67d433a27f3468e12704cdf6
MD5 51dd3bc67cea1547a67f79490d021210
BLAKE2b-256 79661f658f7349443b2758904180eedadb601b9e1641af0de40bef9a9de14edb

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