| description | Details Layer 3: Interface Layer. | |||
|---|---|---|---|---|
| tags |
|
|||
| layer | 3 |
This layer acts as the user-facing surface for the entire MONITOR system.
- monitor-cli: A Typer-based CLI for running the system, entering REPLs, and executing specific offline commands.
- monitor-ui-backend: A FastAPI application that serves the frontend and handles WebSocket connections for live loops.
- monitor-ui-frontend: A Next.js web application for visual interaction, world building, and chat.
- Taking user input and passing it to the appropriate Layer 2 loops.
- Displaying streaming output from agents.
- Formatting structured data for human consumption.
- Rule: Imports from Layer 2.
- Rule: Skip-Layer Protection: Layer 3 must avoid importing directly from Layer 1. Operations requiring Layer 1 access must be routed through Layer 2 Agents or Loops.