Skip to main content

Local, cloud-free memory for OpenClaw agents.

Project description

Palaia

Your agent forgets everything. Every. Single. Session.

Yesterday's decisions, last week's server IP, that config you spent 20 minutes debugging — gone. Your agent starts over from scratch, makes the same mistakes, asks the same questions.

Palaia gives your agent a memory that actually works. Local. Private. Instant.

CI Python 3.9+ License: MIT

Get Started

Tell your 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."

That's it. Your agent handles everything. You just confirm.

No cloud. No API keys. No database server. Everything stays on your machine.


Why Palaia?

Because the alternatives suck.

Cloud memory services need API keys, internet, and trust. Vector databases need infrastructure. Dumping everything into markdown files works until you have 200 of them and can't find anything.

Palaia runs on your machine, survives crashes (WAL-backed), and finds things by meaning — not just keywords. Search for "due date" and it finds "the deadline is March 15th."

Palaia Cloud Memory Vector DB Markdown Files
Works offline Yes No No Yes
Semantic search Yes Sometimes Yes No
Survives crashes Yes Depends Depends No
Zero infrastructure Yes No No Yes
Finds things by meaning Yes Sometimes Yes No
Auto-organizes over time Yes No No No

Core Concepts

Write, Search, Find

# Save something worth remembering
palaia write "Customer prefers CSV exports over PDF" --tags "preferences"

# Find it weeks later
palaia query "what format does the customer want"

# See what's in active memory
palaia list

Projects

Keep memories organized when juggling multiple tasks:

palaia project create website-redesign --description "Q2 redesign"
palaia project write website-redesign "Homepage must load under 2s"
palaia project query website-redesign "performance targets"

Entry Types

Classify what you store:

palaia write "Always run migrations before deploy" --type process --tags "deploy"
palaia write "Switch to FastAPI decided 2026-03-01" --type memory --tags "decision,adr"
palaia write "Fix login timeout bug" --type task --status open --priority high

Scopes

Control visibility:

  • private — Only the agent that wrote it
  • team — All agents in the workspace (default)
  • public — Exportable across workspaces

Smart Tiering

Palaia auto-manages memory over time:

  • HOT — Frequently accessed, always in search results
  • WARM — Untouched for ~7 days, still searchable
  • COLD — Untouched for ~30 days, archived but retrievable

Nothing gets deleted. Old memories fade quietly to the background.

Semantic Search

Palaia finds things by meaning, not just keywords. Available providers:

Provider Type Best for
fastembed Local Most systems — lightweight, fast, no GPU needed
sentence-transformers Local GPU systems — heavier but accurate
gemini Cloud Google Gemini API — no local compute needed
openai Cloud When you have an OpenAI API key
ollama Local When you run Ollama already
bm25 Built-in Always works — keyword fallback
palaia detect                                    # See what's available
palaia config set-chain fastembed bm25           # Set provider priority
palaia warmup                                    # Pre-build search index

Multi-Agent Setup

Multiple agents can share one memory store:

palaia init                          # Auto-detects agents
palaia write "note" --agent elliot   # Attribute to specific agent
palaia write "secret" --scope private  # Only visible to the writer

Document Ingestion (RAG)

Index external documents alongside agent memory:

palaia ingest document.pdf --project docs
palaia ingest https://example.com/api.html --project api-docs
palaia query "How does auth work?" --project api-docs --rag

CLI Reference

Command What it does
palaia init Create a new store
palaia write "text" Save a memory
palaia query "search" Search by meaning or keywords
palaia get <id> Read a specific entry
palaia list List entries
palaia edit <id> Edit an entry
palaia status System health + active providers
palaia detect Available embedding providers
palaia warmup Pre-build search index
palaia doctor Diagnose and fix issues
palaia skill Print agent instructions (SKILL.md)
palaia project * Manage projects
palaia memo * Inter-agent messaging
palaia ingest Index documents for RAG
palaia export/import Share memories via git
palaia migrate Import from other memory systems

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

OpenClaw Plugin

Replace OpenClaw's built-in memory with Palaia:

npm install @byte5ai/palaia

Add to your OpenClaw config:

{ "plugins": ["@byte5ai/palaia"] }

Manual Install (without OpenClaw)

pip install "palaia[fastembed]"    # or: uv tool install "palaia[fastembed]"
palaia init
palaia doctor --fix
palaia warmup                      # pre-builds search index — don't skip this

Development

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

640+ tests. Contributions welcome.

Links

  • CHANGELOG — What's new in each version
  • ClawHub — Install via agent
  • GitHub — Source + Issues
  • OpenClaw — The agent platform Palaia is built for

MIT — © 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-1.9.0.tar.gz (165.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-1.9.0-py3-none-any.whl (99.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for palaia-1.9.0.tar.gz
Algorithm Hash digest
SHA256 27ccae7a86a7f75aea7dec17edbf5af645d9a9eca303d8f738c52d33dee49bca
MD5 e3be1101901baca8966c5bad9f3391db
BLAKE2b-256 d9a673ce1295681321c782f9046917ec566077906f93742c6ce50fec3221acb6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for palaia-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc06c57dc5ff9b225b8ed934708382a94ca7bed0a4b9614ff1e7c677c69f63c8
MD5 431fc8f76821312688c0090ec3b1b5b6
BLAKE2b-256 2429b9ce6ceaf0016c3202776c03c9e41a44ec85d88ebd2a5e1a5829f2214275

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