How pacenak/sol-full works
SOL is a self-hosted, multi-sector AI hub with a central runtime and an administrative Command control plane for pairing and managing Outposts. The principal flow is user authentication, sector-scoped chat and agent work, optional retrieval or research, then persistence of sessions and other state. The graph also preserves documented capabilities such as MCP, skills, policies, and fleet management. Several backend subsystems are represented from README and SOURCE INDEX evidence rather than inspected implementation; their internal call paths are therefore not asserted.
Main entry points: app.py FastAPI Runtime · hub_routes.py Command API · chat_helpers.py Chat and Agents · auth.py Authentication
Components 26
AI Runtime
- FastAPI Runtime
app.py - Chat and Agents
routes/chat_helpers.py - Skills API
routes/skills_routes.py - Sector Workspaces
src/branches.py - Persona Presets
src/preset_manager.py
Identity and State
- Session Manager
core/session_manager.py - Application Database
core/database.py - Authentication
core/auth.py - Request Authorization
core/middleware.py - Auth Routes
routes/auth_routes.py - Settings and Features
src/settings.py - Shared Sector Data
src/shared_data.py - Atomic File I/O
core/atomic_io.py - Auth Helpers
src/auth_helpers.py
SOL Command
- Command API
routes/hub_routes.py - Outpost Pairing
hub/pairing.py - Sector Policies
hub/policies.py - Branch Packs
hub/packs.py - Fleet Models
hub/fleet_models.py - Immune System
hub/immune_system.py
Knowledge and Integrations
- Vector RAG
src/rag_vector.py - Embedding Management
routes/embedding_routes.py - Deep Research
services/research/research_handler.py - MCP Integrations
src/mcp_manager.py
Other components
- User
- Paired Outpost
Connections 28
- User → FastAPI Runtime: uses
README.md - FastAPI Runtime → Auth Routes: serves
app.py - FastAPI Runtime → Request Authorization: configures
app.py - Request Authorization → Authentication: checks identity
core/middleware.py - Auth Routes → Authentication: manages accounts
- FastAPI Runtime → Chat and Agents: serves chat
- Chat and Agents → Session Manager: persists sessions
- Session Manager → Application Database: reads and writes
core/session_manager.py - Chat and Agents → Vector RAG: retrieves context
- Chat and Agents → Deep Research: starts research
- Chat and Agents → MCP Integrations: uses tools
- FastAPI Runtime → Sector Workspaces: provides workspaces
- Sector Workspaces → Shared Sector Data: scopes shared data
- FastAPI Runtime → Settings and Features: uses configuration
src/settings.py - Settings and Features → Atomic File I/O: persists settings
src/settings.py - FastAPI Runtime → Command API: serves Command
README.md - Command API → Outpost Pairing: handles pairing
routes/hub_routes.py - Command API → Sector Policies: manages policies
routes/hub_routes.py - Command API → Branch Packs: manages packs
routes/hub_routes.py - Command API → Fleet Models: manages fleet models
routes/hub_routes.py - Command API → Immune System: manages defenses
routes/hub_routes.py - Paired Outpost → Outpost Pairing: requests pairing
README.md - Paired Outpost → Command API: syncs packs
README.md - FastAPI Runtime → Embedding Management: serves embeddings
- FastAPI Runtime → Skills API: serves skills
app.py - Authentication → Application Database: uses account store
core/auth.py - Chat and Agents → Persona Presets: uses personas
- FastAPI Runtime → Auth Helpers: uses authorization helpers
app.py