Skip to main content

Local, cloud-free memory for OpenClaw agents.

Project description

Palaia v2.2 — The Knowledge OS for OpenClaw 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:

Install palaia for me. Set up memory so it works across sessions.

The agent handles everything: pip install "palaia[fastembed]", palaia init, plugin setup, and verification.

Manual / Expert Setup

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

For the OpenClaw plugin (Auto-Capture + Auto-Recall):

npm install -g @byte5ai/palaia@latest

Then configure openclaw.json — see SKILL.md for details.

For knowledge curation features:

pip install "palaia[curate]"

Upgrading? pip install --upgrade "palaia[fastembed]" && palaia doctor --fix — migration is automatic.

Quick Start

palaia init                                         # Initialize (SQLite store)
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

What's New in v2.2

  • SQLite as default backend — Zero-config, single-file database with WAL mode. Replaces flat JSON files. Existing stores migrate automatically.
  • Injection priorities — Per-agent/project control over which memories get injected (palaia priorities).
  • Knowledge curationpalaia curate analyze/apply for clustering, dedup, and clean migration.
  • ContextEngine integration — New OpenClaw ContextEngine adapter with 7 lifecycle hooks.
  • Service layer — Business logic extracted into palaia/services/ package.
  • Doctor decompositionpalaia/doctor/ package with modular checks, fixes, detection.
  • New nudges — Contextual guidance for curation, priorities, and backend migration.

See CHANGELOG.md for full details.


Why Palaia?

Feature Details
SQLite-Backed Storage Single-file database with WAL mode. Zero dependencies (sqlite3 is stdlib). Optional PostgreSQL for distributed teams.
Semantic Search Hybrid BM25 + embeddings. Providers: fastembed, sentence-transformers, OpenAI, Gemini, Ollama
Crash-Safe Writes WAL-backed — survives power loss, kills, OOM
Auto-Capture OpenClaw plugin captures significant exchanges automatically
Structured Types memory, process, task — with status, priority, assignee fields
Multi-Agent Shared store, scopes (private/team/public), agent aliases, per-agent priorities
Smart Tiering HOT -> WARM -> COLD rotation based on access patterns
Injection Priorities Per-agent/project control over what gets injected into context
Knowledge Curation Cluster, deduplicate, and clean up accumulated knowledge for migration
Adaptive Nudging Teaches agents best practices, graduates when they learn
Zero-Cloud Everything runs locally. No API keys required for core functionality

Architecture

palaia/
  backends/        Storage backends (SQLite, PostgreSQL)
  services/        Business logic (write, query, status, admin)
  doctor/          Diagnostics (checks, fixes, detection)
  hooks/           OpenClaw hook handlers (recall, capture, state, reactions)
  context-engine   ContextEngine adapter (7 lifecycle hooks)

See ARCHITECTURE.md for the full module map and data flows.


CLI Reference

palaia init                                          Initialize store (SQLite)
palaia write "text" [--type TYPE] [--tags a,b]       Save knowledge
palaia query "search" [--type TYPE] [--project P]    Search by meaning
palaia get <id>                                       Read specific entry
palaia list [--tier T] [--type T] [--status S]       List entries
palaia edit <id> [--status done]                      Edit entry
palaia status                                         System health
palaia doctor [--fix]                                 Diagnose + fix
palaia project create|list|show|query|delete          Manage projects
palaia memo send|inbox|ack|broadcast                  Inter-agent messaging
palaia priorities [block|set]                         Injection priorities
palaia curate analyze|apply                           Knowledge curation
palaia sync export|import                             Git-based exchange
palaia package export|import|info                     Portable packages
palaia process list|run                               Process tracking
palaia gc [--aggressive] [--budget N]                 Garbage collection
palaia config list|set|set-chain                      Configuration
palaia ingest <source> [--project P]                  Index documents (RAG)
palaia detect                                         Available providers
palaia warmup                                         Pre-build search index

All commands support --json for machine-readable output.


Comparison

Feature Palaia Stock Memory Mem0 Engram
Local-first Yes Yes No (cloud) Yes
Crash-safe (WAL) Yes No N/A No
SQLite Backend Yes (default) No No No
Auto-Capture Yes (plugin) No Yes No
Structured Types Yes (memory/process/task) No No No
Multi-Agent Scopes Yes (private/team/public) No Per-user No
Per-Agent Priorities Yes No No No
Smart Tiering Yes (HOT/WARM/COLD) No No No
Knowledge Curation Yes No No No
Semantic Search Hybrid (embedding + BM25) None Embedding Embedding
Zero-Cloud Yes Yes No Yes

Development

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

Links

  • GitHub — Source + Issues
  • PyPI — Package registry
  • ClawHub — Install via agent skill
  • OpenClaw — The agent platform Palaia is built for
  • CHANGELOG — Release history

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.2.1.tar.gz (255.0 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.2.1-py3-none-any.whl (175.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for palaia-2.2.1.tar.gz
Algorithm Hash digest
SHA256 9f81d0677979d823b92c8dc14ad5f564d8c5b47572be167683c388a1094039ad
MD5 52cda62d30429f4b7e9287f0ce771bc5
BLAKE2b-256 abfb42ac1a30a12a410f9ab813a711efa2a9fe56c8331a2396cdbc3f79831711

See more details on using hashes here.

File details

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

File metadata

  • Download URL: palaia-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 175.2 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc34dc008965c2d1f74d99f9dee71b2dde5692dc3d115b5d6e5b3588480a9d24
MD5 ad7c8348a666effbf9e889383bb036c8
BLAKE2b-256 fd0afc9d4328eaab6dceaa053b0dd0b6941b9457b99c51e130572f2b1053052b

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