Skip to content

System Architecture

This section covers the core architecture of Evonic AI — the building blocks that power every agent, skill, and plugin.

┌──────────────┐
│ Frontend │
│ (Vanilla) │
└──────┬───────┘
│ HTTP
┌──────▼───────┐
│ Flask App │
│ (app.py) │
└──────┬───────┘
┌──────────────────────┼──────────────────────┐
│ │ │
┌─────────▼─────────┐ ┌───────▼───────┐ ┌─────────▼─────────┐
│ Agents │ │ Skills │ │ Plugins │
│ │ │ │ │ │
│ • Agent Runtime │ │ • Tool Defs │ │ • Event Handlers │
│ • Sessions │ │ • Backends │ │ • Flask Routes │
│ • Knowledge Base │ │ • Lifecycle │ │ • Config Vars │
│ • Tools │ │ │ │ │
└────────┬──────────┘ └───────┬────────┘ └────────┬──────────┘
│ │ │
┌────────▼──────────────────────▼──────────────────────▼──────────┐
│ Agent Runtime Engine │
│ │
│ message_received → processing → llm_call → tool_execute → │
│ final_answer → message_sent → turn_complete │
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ LLM Client │ │ Tool Registry│ │ Event Stream │ │
│ │ (OpenAI API) │ │ (plugins/ │ │ (pub/sub bus)│ │
│ └──────────────┘ │ skills/) │ └──────────────┘ │
│ └──────────────┘ │
└────────────────────────────────────────────────────────────────┘
┌────────▼───────────────────────────────────────────────────────┐
│ Persistence Layer │
│ SQLite (models/db.py) — sessions, messages, agents, models, │
│ evaluations, results, and more │
└───────────────────────────────────────────────────────────────┘
ComponentDescriptionDocs
AgentsAgent runtime, sessions, knowledge bases, tools, and channelsOverview
SkillsInstallable packages that bundle tool definitions with Python backendsSkills
PluginsEvent-driven extensions that respond to platform eventsOverview
ModelsModel configuration and managementLocal Models
EventsPlatform event stream for plugin integrationEvents
  • Read the Agents overview to understand the core platform
  • Explore Skills to extend agent capabilities
  • Learn about Plugins to build custom integrations
  • Review Events to understand the event-driven architecture