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.3.tar.gz (255.7 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.3-py3-none-any.whl (175.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: palaia-2.2.3.tar.gz
  • Upload date:
  • Size: 255.7 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.3.tar.gz
Algorithm Hash digest
SHA256 50f883c1c6676436802183589fd4e4e7db34f05580fa1a0c960bf41ea0d19650
MD5 33b82f3f3fc819329da621001a2d7f70
BLAKE2b-256 5d3dc32508f8961660dac9adb51888ef43fe062dacf07c9a735b08fafffb4adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: palaia-2.2.3-py3-none-any.whl
  • Upload date:
  • Size: 175.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f643b56795f423c0762b16b6587ef44884c8a27fa350b5878cc0f21ab01fa678
MD5 b5b7b0b713a54499f31fa54bb330baae
BLAKE2b-256 078f5214ac7b27d1b244e02a765bdd2e865389c844efa1fe8afa4390032c525c

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