vessica-knowledge-server

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0

README

Vessica Knowledge Server

Durable entities, authoritative artifacts, retrieval-optimized memories, relationships, context assembly, workflow episodes, and verified local-to-hosted migration for Vessica agents.

The repository publishes an embeddable Go core used by ves in SQLite solo mode and an authenticated HTTP service backed by Postgres/pgvector for hosted teams.

go test ./...
go run ./cmd/vessica-knowledge-server

Environment variables:

  • DATABASE_URL: Postgres connection string; omit for SQLite.
  • KNOWLEDGE_SQLITE_PATH: SQLite path when DATABASE_URL is absent.
  • KNOWLEDGE_API_TOKEN: required bearer token for hosted HTTP requests.
  • KNOWLEDGE_WORKSPACE_ID: default workspace.
  • EMBEDDING_API_KEY, EMBEDDING_BASE_URL, EMBEDDING_MODEL: hosted embedding provider.
  • PORT: listen port, default 8080.

The versioned HTTP contract is documented in openapi.yaml. Every write uses an idempotency key, actor, provenance, and a bearer token constrained to KNOWLEDGE_WORKSPACE_ID. /readyz reports database, migration, embedding-worker, and index readiness separately.

Production images are published as ghcr.io/vessica-labs/vessica-knowledge-server:<version> and deployed by immutable digest. Solo callers embed the same core and require no service, model download, or API key.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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