creel

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: Apache-2.0

README

Creel

CI codecov Quality Gate Status Security Rating Snyk

Self-hosted memory-as-a-service for AI agents.

Creel provides topic-scoped memory with principal-based RBAC, Zettelkasten-style chunk-to-chunk linking across topic boundaries, and dual-mode retrieval (semantic search + temporal context). It runs in your infrastructure via Helm chart.

Quick start

# Start PostgreSQL/pgvector
docker compose up -d postgres

# Build
make build

# Generate a bootstrap API key and create creel.yaml (see docs/QUICKSTART.md)
bin/creel bootstrap-key --name quickstart

# Start the server with migrations
bin/creel --config creel.yaml --migrate

See Quickstart for the full walkthrough.

Key features

  • Topic > Document > Chunk hierarchy with RBAC
  • Cross-topic linking with permission-gated traversal
  • Dual-mode retrieval: RAG (semantic search) and context (temporal ordering)
  • Client-driven compaction with link preservation
  • Pluggable vector backends: pgvector (reference), OpenAI, Qdrant, Weaviate
  • 28 gRPC RPCs across 7 services

Documentation

Guide Description
Quickstart End-to-end setup in under 5 minutes
Concepts Data model, auth, search modes, linking, compaction
API Reference All 28 RPCs with request/response details
Development Dev environment, testing, adding new RPCs
Deployment Helm chart, configuration, OIDC setup
creel-chat Interactive demo agent with conversation memory
Architecture Full design document and roadmap

Status

Early development (v0.1.0). Phase 1 is complete; see ARCHITECTURE.md for the roadmap and CHANGELOG.md for release history.

License

Apache 2.0. See LICENSE.

Directories

Path Synopsis
cmd
creel command
creel-chat command
creel-cli command
internal
auth
Package auth provides authentication and authorization for Creel.
Package auth provides authentication and authorization for Creel.
config
Package config handles loading and validating Creel server configuration.
Package config handles loading and validating Creel server configuration.
retrieval
Package retrieval implements RAG search logic for Creel.
Package retrieval implements RAG search logic for Creel.
server
Package server implements the Creel gRPC server.
Package server implements the Creel gRPC server.
store
Package store provides PostgreSQL-backed data access for Creel.
Package store provides PostgreSQL-backed data access for Creel.
store/dbtest
Package dbtest provides test helpers for database stores.
Package dbtest provides test helpers for database stores.
vector
Package vector defines the interface for pluggable vector storage backends.
Package vector defines the interface for pluggable vector storage backends.
vector/pgvector
Package pgvector implements the vector.Backend interface using PostgreSQL with pgvector.
Package pgvector implements the vector.Backend interface using PostgreSQL with pgvector.
vector/vectortest
Package vectortest provides a reusable conformance test suite for vector backends.
Package vectortest provides a reusable conformance test suite for vector backends.
Package mcp implements the Creel MCP server adapter.
Package mcp implements the Creel MCP server adapter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL