Interface Layer
Multiple ways to interact with CogOS:| Interface | Description |
|---|---|
CLI (cogos) | Command-line for init, build, chat, serve |
| REST API (FastAPI) | Full HTTP API for programmatic integration |
| Web UI | Browser-based chat with schema inspection |
Core Layer
The engine orchestrates two main components:- CM Agent (Cognitive Memory) — An LLM-powered agent that reads user input and decides which schema operations to perform. It uses the Schema Call Protocol tools to read/write structured memory.
- Chatbot — Generates responses grounded in recalled schema data.
Memory Layer
- Schema Registry — In-memory registry of all schema domains and their fields.
- Schema Files — Standalone JSON files on disk, shared across sessions.
- Schema Templates — Pre-defined field structures that bootstrap new schemas.