Appearance
Architecture overview
autom8ai runs its automation and AI platform as a deliberate system rather than a flat collection of tools. Delivery is declared and reviewed, the runtime is a set of containers on local hardware, and every model call and external capability passes through a boundary that can be inspected, swapped or switched off. This page is the map; the other architecture and agent pages go deeper into each layer.
Layers at a glance
| Layer | Responsibility | Representative components |
|---|---|---|
| Delivery | Build, plan and converge the runtime | GitLab CI, Terraform |
| Interfaces | Human entry points | Telegram, Open WebUI, Nextcloud UI, a smartwatch face |
| Orchestration | Plan work, call tools, compose answers | Hermes, n8n |
| Services | Capabilities the orchestrator can call | Nextcloud, Pushover, Vikunja, Hindsight memory, search and extraction |
| Data and telemetry | State, cache, metrics | PostgreSQL with pgvector, Redis for Nextcloud, Prometheus, Grafana, cAdvisor, Node Exporter |
| Model access | Route inference requests | LiteLLM in front of a Local AI server and hosted providers |
How a request flows
- A request enters through a chat app, the browser UI, a file workflow or a device event.
- Hermes recalls relevant context from memory before deciding what to do.
- It selects tools exposed through MCP servers and, for scheduled or repeatable sequences, hands work to n8n workflows.
- Model calls go through LiteLLM, which picks a local or hosted model for the task.
- The answer returns to the channel the request came from, with the services it touched.
Principles behind the shape
- Orchestration is separate from state. Agents coordinate; services and databases own their data.
- Local first. Private and latency-sensitive work runs on the Local AI server; hosted models are used where they add clear value.
- Everything that runs is declared. Containers, volumes, networks and settings live in version-controlled configuration.
- Each capability is an explicit, bounded interface rather than an open-ended permission.
Related pages
Design decisions
- One gateway for models. Callers never hard-wire a provider, so models can change without touching agents.
- Orchestrator, not monolith. Hermes plans and delegates; the services remain independently deployable.
- Infrastructure as code for the whole runtime. A reviewed plan is the only path to production change.
- Public description, private detail. The architecture is documented at the level of responsibilities; addresses, credentials and live identifiers stay out of public material.