Skip to main content

Local, cloud-free memory for OpenClaw agents.

Project description

Palaia — The Knowledge OS 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 — no OpenClaw needed)

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

Add to ~/.config/claude/claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "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: <500ms (was ~5s).
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)

Development

git clone https://github.com/iret77/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.3.4.tar.gz (273.1 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.3.4-py3-none-any.whl (190.8 kB view details)

Uploaded Python 3

File details

Details for the file palaia-2.3.4.tar.gz.

File metadata

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

File hashes

Hashes for palaia-2.3.4.tar.gz
Algorithm Hash digest
SHA256 ddc9d8dd6eb6a2aab4a72b12cbf240a2c7f9fb488fcd2b2d86123387243c4910
MD5 ae39ae35ef4b6dcd8ced00c49615925d
BLAKE2b-256 4b31d2ab9bb002a77fe6ba09734bc0c1f2897d5ab32ecc09b34a86140e99d020

See more details on using hashes here.

File details

Details for the file palaia-2.3.4-py3-none-any.whl.

File metadata

  • Download URL: palaia-2.3.4-py3-none-any.whl
  • Upload date:
  • Size: 190.8 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.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46517673c393cb928ed1ceeb4c9bd2bbd172c9470ef1c3a76789836acc864297
MD5 6b34308aa05a3e0af319827d78467297
BLAKE2b-256 559c349bddde27352299f0e637cc15f07f971cb190f05638eb4f2ae9c901dd7d

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