Expand description
§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_HOST→server.hostUCOTRON_SERVER_PORT→server.portUCOTRON_SERVER_WORKERS→server.workersUCOTRON_SERVER_LOG_LEVEL→server.log_levelUCOTRON_SERVER_LOG_FORMAT→server.log_formatUCOTRON_STORAGE_MODE→storage.modeUCOTRON_MODELS_DIR→models.models_dirUCOTRON_CONSOLIDATION_TRIGGER_INTERVAL→consolidation.trigger_intervalUCOTRON_AUTH_API_KEY→auth.api_key- etc.
Structs§
- ApiKey
Entry - A named API key with role and optional namespace scope.
- Audit
Config - Audit logging configuration.
- Auth
Config - Authentication configuration.
- Connector
Schedule Entry - A single connector schedule entry in the configuration file.
- Connectors
Config - Connector scheduling configuration.
- Consolidation
Config - Background consolidation worker configuration.
- Gdpr
Config - GDPR compliance configuration.
- Gdpr
Retention Policy Config - A single retention policy entry in configuration.
- Graph
Backend Config - Graph backend settings.
- Hnsw
Config - HNSW vector index parameters.
- Instance
Config - Multi-instance configuration.
- McpConfig
- MCP (Model Context Protocol) server configuration.
- Mindset
Detector Config - Mindset auto-detection configuration.
- Models
Config - ML model configuration.
- Namespaces
Config - Multi-tenancy namespace configuration.
- Server
Config - HTTP server configuration.
- Storage
Config - Storage backend configuration.
- Telemetry
Config - OpenTelemetry configuration.
- Ucotron
Config - Top-level Ucotron configuration.
- Vector
Backend Config - Vector backend settings.
Enums§
- Auth
Role - RBAC role with ordered privilege levels.