ucotron-config 0.1.0

Configuration system for Ucotron cognitive memory framework (TOML parsing, validation)
Documentation

Ucotron Config

Configuration system for the Ucotron cognitive memory framework.

Provides TOML-based configuration parsing and validation for the server, storage backends, model pipelines, consolidation settings, namespaces, and auth.

Configuration Schema

The configuration file (ucotron.toml) supports the following sections:

  • [server] — HTTP server settings (host, port, workers, log_level)
  • [storage] — Storage backend selection and settings
  • [models] — Embedding, NER, and LLM model configuration
  • [consolidation] — Background consolidation worker settings
  • [namespaces] — Multi-tenancy namespace configuration
  • [auth] — Authentication settings (API key, JWT)
  • [mcp] — MCP (Model Context Protocol) server settings
  • [telemetry] — OpenTelemetry tracing and metrics export

Environment Variable Overrides

Every config field can be overridden via environment variables using the UCOTRON_ prefix and _ as section separator:

  • UCOTRON_SERVER_HOSTserver.host
  • UCOTRON_SERVER_PORTserver.port
  • UCOTRON_SERVER_WORKERSserver.workers
  • UCOTRON_SERVER_LOG_LEVELserver.log_level
  • UCOTRON_SERVER_LOG_FORMATserver.log_format
  • UCOTRON_STORAGE_MODEstorage.mode
  • UCOTRON_MODELS_DIRmodels.models_dir
  • UCOTRON_CONSOLIDATION_TRIGGER_INTERVALconsolidation.trigger_interval
  • UCOTRON_AUTH_API_KEYauth.api_key
  • etc.