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.3.0.tar.gz (138.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.3.0-py3-none-any.whl (96.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ilma_agent-0.3.0.tar.gz
  • Upload date:
  • Size: 138.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.3.0.tar.gz
Algorithm Hash digest
SHA256 76c5831b4fdbd889c876a59bc0dd11a554e8d585cce26802ed7e46c24c6e0454
MD5 6d2d74f619e5ca63bd54350e7ce41454
BLAKE2b-256 3978bcc68e3b0e37c518666ea40ff19b7621a74b409c26aafe33c5269b218f7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ilma_agent-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 96.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11993589a1a5888c974b2e9fffccf3b2214ab2a283a98ce11458807588ddddeb
MD5 4ed9966089558c4ef7316958aa3fed42
BLAKE2b-256 78f78925f623582add9644c1158302c8393f0f0f950ab14578e04997e23e0ed7

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