Skip to main content

Architecture Deep Dive

This document provides detailed architecture diagrams showing how Station’s services, APIs, and components interact.

High-Level System Architecture

Agent Execution Flow

All entry points converge at the AgentExecutionEngine:

AgentExecutionEngine Internals

The core execution engine orchestrates the full agent lifecycle:

Service Layer Architecture

Station’s service layer contains 43+ focused modules:

MCP Server Architecture

Database Layer

Request Flow Example

Complete flow for stn agent run analyzer "Check logs":

Key Design Decisions

Next Steps

Development Setup

Set up your local environment

Code Style

Coding conventions and standards