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.3.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.3-py3-none-any.whl (81.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ilma_agent-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f4d9d5e56d62d13ed0e1bb9fcf2e71289e36c29e40f4fb54a2cb67b6b3f108cc
MD5 d135cc9359d0ada73a8701db81830cf3
BLAKE2b-256 ea07d03ceba1d19c5d2393a8380285aa4f1657fd9aea556bd5ba72fb9550222e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ilma_agent-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 308acd092a064c2075ad7b247cf8f19e57820248658ed4654d6b7c36696db3c1
MD5 e05ccdf435c35ce34e4316e825c3eb22
BLAKE2b-256 9c86667451bb2554c1e57788b2f51d5d5bb8f55768bb476f980b4932e9f2c30c

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