Skip to content
AtGlance
Architecture

Everything you need. Nothing you don't.

Three views — the CLI, the Console internals, and the end-to-end picture — at increasing levels of detail. All inside your boundary.

View 1 · CLI

AtGlance CLI

Ubuntu/systemd host. Reads runtime, writes backups, talks to the REST API.

CLI architecture: the atglance binary, its settings and identity files, the schedule and the agent service, talking to the console over REST and one WebSocket
CLI · commands, schedule, agent · outbound only
View 2 · Console

AtGlance Management System

Application, REST API gateway, database, cache (queue + cache + buffer), file storage, SSO providers.

Console architecture: Caddy, the app, Kong, worker, scheduler, MCP, controller, MySQL, Redis and the optional overlays
Console · Docker containers and optional overlays
View 3 · End-to-end

Full picture

The CLI commands, the gateway, the application layer, the data plane, and future capabilities.

How the CLI and the console work together: network paths, REST, the agent WebSocket, Redis streams, the tunnel service and the credentials
Host → network path → console · credentials
Sequences

Step by step

Connecting a host, live monitoring and a Remote Tunnel session. The full write-up is in the docs.

Sequence: atglance login and system register
Connect a host
Sequence: agent install, connection and heartbeats
Live monitoring
Sequence: a Remote Tunnel terminal through a bastion
Remote Tunnel session

Operators

SREs, admins, developers — all interact through the CLI or the Console UI.

AtGlance CLI

main() routes through configure/validate/register/runtime/export.

REST API gateway

DB-less, declarative config. HTTPS on :8002. Rate-limited.

Application

Web UI, REST APIs, RBAC middleware, DatabaseCircuitBreaker, job dispatch.

Cache

Queue (jobs), cache (reads), buffer (writes during a database outage).

Database

Users, orgs, workspaces, systems, services, configuration, files, raw data, tokens, activity logs.