Skip to main content

Local, cloud-free memory for OpenClaw agents.

Project description

Palaia — The Knowledge System for AI Agent Teams

Crash-safe. Local-first. Zero-cloud. The memory system that makes your agents smarter over time.

CI PyPI Python 3.9+ License: MIT OpenClaw Plugin


Install

Recommended: Tell your agent

Paste this into your OpenClaw agent (works for install AND update):

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.

The agent handles everything: ClawHub skill install, pip setup, plugin config, and verification.

Manual Setup

pip install "palaia[fastembed]"
palaia init
palaia doctor --fix

Optional extras:

pip install "palaia[mcp]"          # MCP server for Claude Desktop, Cursor
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.

MCP Setup (Claude Desktop, Cursor, Claude Code — no OpenClaw needed)

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

Add to your MCP config:

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

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

Why Palaia?

Feature Details
Semantic Search Hybrid BM25 + vector embeddings. 6 providers: fastembed, sentence-transformers, Ollama, OpenAI, Gemini, BM25.
Native Vector Search sqlite-vec (SIMD KNN) or pgvector (ANN/HNSW). Not Python cosine — real database-level acceleration.
MCP Server palaia-mcp — standalone memory for Claude Desktop, Cursor, any MCP host. No OpenClaw required.
Multi-Backend SQLite (default, zero-config) or PostgreSQL + pgvector for distributed teams.
Crash-Safe SQLite WAL mode — survives power loss, kills, OOM.
Auto-Capture OpenClaw plugin captures significant exchanges automatically.
Structured Types memory, process, task — with status, priority, assignee, due date.
Multi-Agent Shared store, scopes (private/team/public), agent aliases, per-agent injection priorities.
Smart Tiering HOT/WARM/COLD rotation based on decay scores and access patterns.
Embed Server Background process holds model in RAM. CLI queries: ~1.5s (was ~3-5s). MCP/Plugin: <500ms.
Zero-Cloud Everything local. No API keys needed for core functionality.

Comparison

Feature Palaia claude-mem Mem0 Stock Memory
Local-first Yes Yes No (cloud) Yes
Cross-tool (MCP) Yes (any MCP client) No (Claude Code only) No No
Native Vector Search sqlite-vec / pgvector ChromaDB (separate) Cloud No
Structured Types memory/process/task decisions/bugfixes No No
Multi-Agent Scopes private/team/public No Per-user No
Smart Tiering HOT/WARM/COLD No No No
Embedding Providers 6 (configurable) 1 (fixed) Cloud None
Open Source MIT AGPL-3.0 Partial N/A
Crash-safe (WAL) Yes Partial N/A No

Documentation

Document Description
Getting Started Installation, first steps, quick tour
Storage & Search SQLite, PostgreSQL, sqlite-vec, pgvector, embedding providers
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

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

palaia-2.4.dev1.tar.gz (274.2 kB view details)

Uploaded Source

Built Distribution

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

palaia-2.4.dev1-py3-none-any.whl (191.6 kB view details)

Uploaded Python 3

File details

Details for the file palaia-2.4.dev1.tar.gz.

File metadata

  • Download URL: palaia-2.4.dev1.tar.gz
  • Upload date:
  • Size: 274.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for palaia-2.4.dev1.tar.gz
Algorithm Hash digest
SHA256 97861a94185d5253b9ff39e6de63341b8f19f66de0f943892884c96b82a858dd
MD5 28ceddce335ca0d6f872bfe983dbdf58
BLAKE2b-256 f681d50cdedf9046e20bd3d5bb970c5f19815b04c0b286642c6b56ecb266fdfc

See more details on using hashes here.

File details

Details for the file palaia-2.4.dev1-py3-none-any.whl.

File metadata

  • Download URL: palaia-2.4.dev1-py3-none-any.whl
  • Upload date:
  • Size: 191.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for palaia-2.4.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 43da0b892c1c9ed22d7101b70b14d1ed99c5104fb9b4d40706b22e5775badc85
MD5 0c8cb523876e8e214ac93cfe61d1b6a0
BLAKE2b-256 81f88194c9833649d9d94e70358e558de36ed22c880fa61af1c35bf053e927fc

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