SULCUS Enterprise is designed as a high-scale Coordination Layer for distributed AI agents. Unlike the local vMMU, the Enterprise Server handles:
- Global Golden Index: A unified memory graph across multiple agents and devices.
- Tenant Isolation: Strong cryptographic and logical partitioning of memory pools.
- Multi-modal Vector Caching: Efficient storage and retrieval of high-dimensional embeddings using
pgvector.
- Authentication: All requests require a
Bearertoken. Tokens are SHA256 hashed and matched against theapi_keystable. - Data at Rest: Leverages Azure/AWS native encryption for PostgreSQL storage.
- Audit Logging: Every
SyncRequestandsearch_golden_indexcall is logged withtenant_idand timestamp. - SOC2 Readiness: Designed for easy integration with corporate logging providers (Datadog, Splunk).
Each request is scoped to a tenant_id derived from the API key.
- Database Partitioning: All tables (nodes, edges, golden_index, server_ops) use a
tenant_idcolumn as part of the primary or composite index. - Context Integrity: An agent for Tenant A can never retrieve, update, or even know of the existence of memories belonging to Tenant B.
- Horizontal Scaling: The
sulcus-serveris stateless and can be scaled behind a load balancer. - Connection Pooling: Uses
sqlxwith aggressive pooling to minimize Postgres handshake overhead. - Latency Targets:
- Local: <50ms context build.
- Remote Sync: <250ms (p95).
- Remote Search: <300ms (p95).
- Infrastructure: Ubuntu 22.04 VM + PostgreSQL 15 (with
pgvector). - Setup:
git clone https://github.com/digitalforgeca/sulcus.git cd sulcus docker compose -f docker-compose.postgres.yml up -d cargo build --release -p sulcus-server --features server-bin - Configuration:
SULCUS_DATABASE_URL: Connection string.SULCUS_BIND_ADDR: Binds to0.0.0.0:3000.SULCUS_ALLOW_ANY_KEY: Set totrueonly for initial bootstrap or local dev.