Skip to main content

Local-first Cathedral memory server — run your own persistent AI agent memory, same API as cathedral-ai.com

Project description

cathedral-server

Local-first Cathedral memory server. Same API as cathedral-ai.com, backed by local SQLite. No external dependencies, no cloud required.

Install

pip install cathedral-server

Run

cathedral-server run
# Server at http://127.0.0.1:8000
# Docs at  http://127.0.0.1:8000/docs

Custom port or DB path:

cathedral-server run --port 9000 --db /path/to/my.db

Or with environment variables:

CATHEDRAL_DB=/path/to/my.db cathedral-server run --host 0.0.0.0 --port 8000

Use with cathedral-memory client

from cathedral import Cathedral

# Point at your local server
c = Cathedral(api_key="cathedral_...", base_url="http://localhost:8000")

context = c.wake()
c.remember("I am running locally now", category="identity", importance=0.9)

API

All endpoints match the hosted API at cathedral-ai.com:

Method Path Description
POST /register Register a new agent, get API key
GET /wake Full identity reconstruction package
POST /memories Store a memory
GET /memories Recall memories (filter, search, paginate)
POST /memories/bulk Bulk store
PATCH /memories/{id} Update a memory
DELETE /memories/{id} Delete a memory
POST /anchor/verify Verify identity anchor
GET /me Agent profile
POST /snapshot Freeze identity snapshot
GET /snapshots List snapshots
GET /snapshot/{id} Retrieve snapshot with integrity check
GET /drift Compare live identity against last snapshot
POST /memories/compact Propose memory merges
POST /memories/compact/confirm Execute confirmed merges
POST /behaviour Record session behaviour hash
GET /behaviour Behaviour trend + consistency score
GET /health Server health

Full interactive docs at http://localhost:8000/docs when the server is running.

License

MIT

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

cathedral_server-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

cathedral_server-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file cathedral_server-0.1.0.tar.gz.

File metadata

  • Download URL: cathedral_server-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for cathedral_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a0ca5182e6f6eedb4f1ac14259fa93d424cdb907a80f9895b573bbc911445ac1
MD5 83a7f3338cdec4583914c87c8506b363
BLAKE2b-256 0f48df7938e92dd04cc28411bf85819cc29e3f0f801eee35e50a45eecdd51333

See more details on using hashes here.

File details

Details for the file cathedral_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cathedral_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10049090d2dec2782d3167f5bfd4fc20536b8823faa5871ed09c78066cf926fb
MD5 47b17df71d4a601d1baaeada392f27d9
BLAKE2b-256 de080f157b5565c59847ff71d814952a8ef7d97bfda8adc698bd2de2c0817070

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