# equinai/equin architecture

> Architecture diagram of the GitHub repository equinai/equin, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/equinai/equin
- Repository: https://github.com/equinai/equin

## Overview

equin is an agentic platform for building and running large, plugin-based applications. The principal workflow is to open the platform, express a wish, and use its agent manager and background agents to work on app features; the platform also provides reusable plugins, app navigation, and reporting for deployed apps. The README describes these capabilities, but the excerpts do not show the agent runtime or its wiring. Accordingly, the graph preserves those product areas without asserting unverified calls between them; the sampled gateway and app-shell paths anchor the runtime view.

Main entry points: [`plugins`](https://github.com/equinai/equin/tree/main/plugins) (Reusable plugins), [`plugins/apps-core`](https://github.com/equinai/equin/tree/main/plugins/apps-core) (App shell), [`plugins/apps`](https://github.com/equinai/equin/tree/main/plugins/apps) (Agent manager), [`gateway`](https://github.com/equinai/equin/tree/main/gateway) (Gateway)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["App experience"]
  node_app_shell["App shell"]
  node_app_launcher["App launcher"]
  node_tabs["Tabs and navigation"]
  node_surface["App surfaces"]
end

subgraph group_agents["Agent workflows"]
  node_agent_manager["Agent manager"]
  node_background_agents["Background agents"]
end

subgraph group_platform["Platform runtime"]
  node_gateway["Gateway"]
  node_plugin_system["Reusable plugins"]
end

subgraph group_capabilities["App capabilities"]
  node_reports["Automated reports"]
  node_metrics["Metrics engine"]
  node_active_data["Active data"]
  node_integrations["Integrations"]
  node_file_explorer["File explorer"]
  node_isle["Isle renderer"]
  node_sonata["Sonata audio"]
end

node_user(("User"))

node_user -->|"opens platform"| node_gateway
node_gateway -.->|"serves app"| node_app_shell
node_user -->|"starts a wish"| node_agent_manager
node_agent_manager -->|"delegates work"| node_background_agents
node_agent_manager -->|"uses features"| node_plugin_system
node_app_shell -.->|"provides app access"| node_app_launcher
node_app_shell -.->|"supports navigation"| node_tabs
node_app_shell -.->|"frames app views"| node_surface
node_plugin_system -.->|"offers capability"| node_active_data
node_plugin_system -.->|"offers capability"| node_integrations
node_plugin_system -.->|"offers capability"| node_reports
node_reports -.->|"reports performance"| node_metrics
node_plugin_system -.->|"includes app feature"| node_file_explorer
node_plugin_system -.->|"includes app feature"| node_isle
node_plugin_system -.->|"includes app feature"| node_sonata

click node_gateway "https://github.com/equinai/equin/tree/main/gateway"
click node_app_shell "https://github.com/equinai/equin/tree/main/plugins/apps-core"
click node_app_launcher "https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/app-launcher"
click node_tabs "https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/tabs"
click node_surface "https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/surface"
click node_plugin_system "https://github.com/equinai/equin/tree/main/plugins"
click node_agent_manager "https://github.com/equinai/equin/tree/main/plugins/apps"
click node_background_agents "https://github.com/equinai/equin/tree/main/plugins/tasks"
click node_reports "https://github.com/equinai/equin/tree/main/plugins/reports"
click node_metrics "https://github.com/equinai/equin/tree/main/plugins/primitives/plugins/metrics"
click node_active_data "https://github.com/equinai/equin/tree/main/plugins/active-data"
click node_integrations "https://github.com/equinai/equin/tree/main/plugins/integrations"
click node_file_explorer "https://github.com/equinai/equin/tree/main/plugins/apps/plugins/file-explorer"
click node_isle "https://github.com/equinai/equin/tree/main/plugins/apps/plugins/isle/plugins/renderer"
click node_sonata "https://github.com/equinai/equin/tree/main/plugins/apps/plugins/sonata"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app_shell,node_app_launcher,node_tabs,node_surface,node_user toneBlue
class node_agent_manager,node_background_agents toneAmber
class node_gateway,node_plugin_system toneMint
class node_reports,node_metrics,node_active_data,node_integrations,node_file_explorer,node_isle,node_sonata toneRose
```

## Components

### App experience

- [App shell](https://github.com/equinai/equin/tree/main/plugins/apps-core): `plugins/apps-core`
- [App launcher](https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/app-launcher): `plugins/apps-core/plugins/app-launcher`
- [Tabs and navigation](https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/tabs): `plugins/apps-core/plugins/tabs`
- [App surfaces](https://github.com/equinai/equin/tree/main/plugins/apps-core/plugins/surface): `plugins/apps-core/plugins/surface`

### Agent workflows

- [Agent manager](https://github.com/equinai/equin/tree/main/plugins/apps): `plugins/apps`
- [Background agents](https://github.com/equinai/equin/tree/main/plugins/tasks): `plugins/tasks`

### Platform runtime

- [Gateway](https://github.com/equinai/equin/tree/main/gateway): `gateway`
- [Reusable plugins](https://github.com/equinai/equin/tree/main/plugins): `plugins`

### App capabilities

- [Automated reports](https://github.com/equinai/equin/tree/main/plugins/reports): `plugins/reports`
- [Metrics engine](https://github.com/equinai/equin/tree/main/plugins/primitives/plugins/metrics): `plugins/primitives/plugins/metrics`
- [Active data](https://github.com/equinai/equin/tree/main/plugins/active-data): `plugins/active-data`
- [Integrations](https://github.com/equinai/equin/tree/main/plugins/integrations): `plugins/integrations`
- [File explorer](https://github.com/equinai/equin/tree/main/plugins/apps/plugins/file-explorer): `plugins/apps/plugins/file-explorer`
- [Isle renderer](https://github.com/equinai/equin/tree/main/plugins/apps/plugins/isle/plugins/renderer): `plugins/apps/plugins/isle/plugins/renderer`
- [Sonata audio](https://github.com/equinai/equin/tree/main/plugins/apps/plugins/sonata): `plugins/apps/plugins/sonata`

### Other components

- **User**

## Connections

- User → Gateway: opens platform
- Gateway → App shell: serves app
- User → Agent manager: starts a wish
- Agent manager → Background agents: delegates work
- Agent manager → Reusable plugins: uses features (evidence: `plugins/apps/plugins/isle/plugins/renderer/web/internal/engine.ts`)
- App shell → App launcher: provides app access
- App shell → Tabs and navigation: supports navigation
- App shell → App surfaces: frames app views
- Reusable plugins → Active data: offers capability (evidence: `plugins/active-data/server/internal/routes.ts`)
- Reusable plugins → Integrations: offers capability (evidence: `plugins/integrations/plugins/youtube/web/internal/controller.ts`)
- Reusable plugins → Automated reports: offers capability
- Automated reports → Metrics engine: reports performance
- Reusable plugins → File explorer: includes app feature
- Reusable plugins → Isle renderer: includes app feature (evidence: `plugins/apps/plugins/isle/plugins/renderer/web/internal/engine.ts`)
- Reusable plugins → Sonata audio: includes app feature (evidence: `plugins/apps/plugins/sonata/plugins/audio/plugins/engine/web/components/audio-engine.tsx`)
