Skip to main content
             .__         .__
___________  |  | _____  |__|____
\____ \__  \ |  | \__  \ |  \__  \
|  |_> > __ \|  |__/ __ \|  |/ __ \_
|   __(____  /____(____  /__(____  /
|__|       \/          \/        \/

The Knowledge System for AI Agent Teams

Your agents forget. palaia doesn't.

CI PyPI Python 3.9+ License: MIT OpenClaw Plugin


What palaia Does

AI agents are stateless by default. Every session starts from scratch — no memory of past decisions, no shared knowledge between agents, no context that survives a restart.

palaia gives your agents a persistent, searchable knowledge store. They save what they learn. They find it again by meaning, not keyword. They share it across tools and sessions — automatically.


What palaia Is Not

  • Not a chatbot or prompt manager
  • Not a cloud service (everything runs locally)
  • Not a vector database you manage yourself (it manages itself)
  • Not limited to one tool — works across OpenClaw, Claude Code, and any MCP client

What You Get

Capability What it means
Agents remember across sessions Knowledge survives restarts, tool switches, and team handoffs
Find anything by meaning Hybrid BM25 + vector search across 6 embedding providers
Zero-config local setup SQLite with native SIMD vector search — no separate database process
Works everywhere via MCP OpenClaw and Claude Code: paste a prompt, done. Claude Desktop, Cursor, any MCP host: manual config.
Multi-agent ready Private, team, and public scopes — agents see what they should
Agent isolation --isolated mode for strict per-agent memory boundaries
Crash-safe by default SQLite WAL mode survives power loss, kills, OOM
Fast Embed server keeps model in RAM — CLI queries ~1.5s, MCP/Plugin <500ms
WebUI memory explorer palaia ui — browse, search, create entries in the browser. Localhost only.
Scales when needed Swap to PostgreSQL + pgvector for distributed teams, no code changes

Comparison

Feature palaia claude-mem Mem0 OpenClaw Built-in
Local-first Yes Yes Yes (optional cloud) Yes
Cross-tool (MCP) Yes (any MCP client) No (Claude Code only) No No (OpenClaw only)
Native Vector Search sqlite-vec / pgvector ChromaDB (separate) FAISS (embedded) No
Structured Types memory/process/task Yes (6 categories) No No
Multi-Agent Scopes private/team/public Partial (session isolation) Yes (user/agent/run) No
Smart Tiering HOT/WARM/COLD No No No
Embedding Providers 6 (configurable) 1 (fixed) Cloud External (5+)
Open Source MIT AGPL-3.0 Apache 2.0 MIT
Crash-safe (WAL) Yes Yes (WAL) Partial (SQLite, not primary) No

Install

Recommended: Paste into your agent

Both OpenClaw and Claude Code support fully autonomous setup. Copy the prompt below and paste it directly into your agent's chat — the agent handles everything from there.

OpenClaw — copy this prompt into your OpenClaw agent:

Install or update the palaia memory skill from ClawHub to the latest version (even if already present). Read the SKILL.md completely and follow it step by step. Run palaia init, then palaia doctor --fix and resolve all warnings — don't stop until the doctor report is clean. Set up completely.

Claude Code — copy this prompt into Claude Code:

Install palaia for persistent memory in this Claude Code environment.
Run: pip install "palaia[mcp,fastembed]" && palaia init && palaia setup claude-code --global
Then tell me to restart Claude Code so the MCP tools become active.
After restart, read the CLAUDE.md and follow its instructions.

See Claude Code Integration for the full guide.

Manual Setup

OpenClaw:

pip install "palaia[fastembed]"
palaia init
openclaw plugins install @byte5ai/palaia
palaia doctor --fix

Then activate the memory slot in your OpenClaw config:

// openclaw.json
{
  plugins: {
    slots: { memory: "palaia" }
  }
}

Restart the gateway: openclaw gateway restart

Claude Code:

pip install "palaia[mcp,fastembed]"
palaia init
palaia setup claude-code --global

Restart Claude Code after setup.

Other MCP Clients (Claude Desktop, Cursor)

pip install "palaia[mcp,fastembed]"
palaia init

Add to your MCP config:

  • Claude Desktop: ~/.config/claude/claude_desktop_config.json
  • Cursor: .cursor/mcp.json
{
  "mcpServers": {
    "palaia": {
      "command": "palaia-mcp"
    }
  }
}

Note: These clients require manual MCP configuration. palaia provides the memory tools, but you need to instruct the agent yourself.

Optional Extras

pip install "palaia[curate]"       # Knowledge curation
pip install "palaia[postgres]"     # PostgreSQL + pgvector backend

Note: palaia[fastembed] already includes sqlite-vec for native vector search and the embed-server auto-starts on first query. No manual optimization needed.

Upgrading? palaia upgrade — auto-detects install method, preserves extras, runs doctor.

Quick Start

palaia write "API rate limit is 100 req/min" \
  --type memory --tags api,limits                   # Save knowledge
palaia query "what's the rate limit"                # Find it by meaning
palaia status                                        # Check health

Documentation

Document Description
Getting Started Installation, first steps, quick tour
Storage & Search SQLite, PostgreSQL, sqlite-vec, pgvector, embedding providers
Claude Code Claude Code integration, setup command, paste-this prompt
MCP Server Setup for Claude Desktop, Cursor, tool reference, read-only mode
Embed Server Performance optimization, socket transport, daemon mode
Multi-Agent Scopes, agent identity, team setup, aliases
Configuration All config keys, embedding chain, tuning
CLI Reference All commands with flags and examples
Migration Guide Import from other systems, flat-file migration
Architecture Module map, data flows, design decisions
SKILL.md Agent-facing documentation (what agents read)
Contributing Versioning, release process, development setup
Changelog Release history

Development

git clone https://github.com/byte5ai/palaia.git
cd palaia
pip install -e ".[dev]"
pytest

Links


MIT — (c) 2026 byte5 GmbH

Metadata

Release files for palaia 2.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for palaia 2.8.0
File Size Uploaded
palaia-2.8.0.tar.gz 331.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for palaia 2.8.0
File Interpreter ABI Platform
palaia-2.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 558.8 kB

Release files / palaia-2.8.0.tar.gz

Download URL palaia-2.8.0.tar.gz
Size 331.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f79b3308d90e7eb0c78fb11f93623c8a62e325b0433515f3c9ba67ef77f403bf
BLAKE2b-256 checksum
How to use checksums
52e70ba55a82f595fa1d8b394c3c2ea88145db869fb506dbe8711dcf5e5c3575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / palaia-2.8.0-py3-none-any.whl

Download URL palaia-2.8.0-py3-none-any.whl
Size 227.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25b21b28bc1cedb56f93b11e02569ca9375ea2ef6d3671ab076828012a0a4046
BLAKE2b-256 checksum
How to use checksums
9e914f22dbf2f15262727cf6d607d775cc6eb1938820b942c7bfaf5b39ea7b05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

2.8.0 This release

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.7

2 release files

2.6

2 release files

2.5.1

2 release files

2.5

2 release files

2.4

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.13

2 release files

2.0.12

2 release files

2.0.11

2 release files

2.0.10

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.9.0

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page