How ibrahimoyassin/aiui works
AIUI is a browser-based workflow and agent builder: users configure projects as visual steps, test them, and export runnable Python or C# projects. The map follows that path through the editor, project/run services, plugin catalog, and code generation, while retaining account, connections, marketplace, and administration capabilities documented in the README. Several UI and runtime modules are unsampled; uncertain links are omitted or marked dashed rather than inferred as calls.
Main entry points: App.tsx App routing · http.ts HTTP application · db.ts SQLite state · projects.ts Project service
Components 28
Browser experience
- App routing
apps/web/src/App.tsx - Workflow editor
apps/web/src/ide/IdePage.tsx - Editor state
apps/web/src/stores/editor.ts - Session and catalog
apps/web/src/stores/app.ts - Web API client
apps/web/src/api.ts - Account access
apps/web/src/pages/Auth.tsx - Connections UI
apps/web/src/pages/Connections.tsx - Marketplace UI
apps/web/src/pages/Marketplace.tsx - Plugin publishing UI
apps/web/src/pages/PluginEditor.tsx - Admin interface
apps/web/src/pages/admin/AdminPage.tsx
Platform services
- HTTP application
apps/server/src/http.ts - Authentication
apps/server/src/routes/auth.ts - Project service
apps/server/src/routes/projects.ts - Connection service
apps/server/src/routes/connections.ts - Administration
apps/server/src/routes/admin.ts - Platform policy and activity
apps/server/src/platform.ts
Plugins and marketplace
- Plugin registry
apps/server/src/plugins.ts - Marketplace service
apps/server/src/routes/market.ts - Built-in workflow steps
plugins
Workflow execution
- Flow validation and planning
apps/server/src/codegen/index.ts - Python generator
apps/server/src/codegen/python.ts - C# generator
apps/server/src/codegen/csharp.ts - Server-side runner
apps/server/src/runner.ts - Python runtime
runtime/python/aiui_runtime.py - C# runtime
runtime/csharp/AiuiRuntime.cs
Platform state
- SQLite state
apps/server/src/db.ts - Token and secret security
apps/server/src/security.ts
Other components
- Builder
Connections 42
- Builder → App routing: uses
README.md - App routing → Workflow editor: routes to
apps/web/src/App.tsx - App routing → Account access: routes to
apps/web/src/App.tsx - App routing → Connections UI: routes to
apps/web/src/App.tsx - App routing → Marketplace UI: routes to
apps/web/src/App.tsx - App routing → Plugin publishing UI: routes to
apps/web/src/App.tsx - App routing → Admin interface: routes to
apps/web/src/App.tsx - Workflow editor → Editor state: edits
- Workflow editor → Web API client: requests project actions
- Account access → Web API client: submits credentials
apps/web/src/pages/Auth.tsx - Session and catalog → Web API client: loads catalog and connections
apps/web/src/stores/app.ts - Web API client → HTTP application: sends HTTP requests
- HTTP application → Authentication: mounts routes
apps/server/src/routes/auth.ts - HTTP application → Project service: mounts routes
apps/server/src/routes/projects.ts - HTTP application → Connection service: mounts routes
apps/server/src/routes/connections.ts - HTTP application → Marketplace service: mounts routes
apps/server/src/routes/market.ts - HTTP application → Administration: mounts routes
apps/server/src/routes/admin.ts - Authentication → SQLite state: reads and writes
apps/server/src/routes/auth.ts - Authentication → Token and secret security: hashes passwords
apps/server/src/routes/auth.ts - Authentication → Platform policy and activity: records events
apps/server/src/routes/auth.ts - Project service → SQLite state: reads and writes
apps/server/src/routes/projects.ts - Project service → Flow validation and planning: generates exports
apps/server/src/routes/projects.ts - Project service → Server-side runner: runs projects
apps/server/src/routes/projects.ts - Project service → Connection service: resolves connections
apps/server/src/routes/projects.ts - Connection service → SQLite state: reads and writes
apps/server/src/routes/connections.ts - Connection service → Token and secret security: encrypts secrets
apps/server/src/routes/connections.ts - Connection service → Plugin registry: uses connection definitions
apps/server/src/routes/connections.ts - Administration → SQLite state: reads and writes
apps/server/src/routes/admin.ts - Administration → Platform policy and activity: manages platform policy
apps/server/src/routes/admin.ts - Administration → Marketplace service: uses marketplace operations
apps/server/src/routes/admin.ts - Marketplace service → SQLite state: reads and writes
apps/server/src/routes/market.ts - Marketplace service → Plugin registry: builds catalog
apps/server/src/routes/market.ts - Plugin registry → SQLite state: seeds plugin records
apps/server/src/plugins.ts - Plugin registry → Built-in workflow steps: loads first-party plugins
- Flow validation and planning → Python generator: generates Python
apps/server/src/codegen/index.ts - Flow validation and planning → C# generator: generates C#
apps/server/src/codegen/index.ts - Server-side runner → Python runtime: launches runtime
- Server-side runner → C# runtime: launches runtime
- Builder → Workflow editor: builds and tests flows
README.md - Builder → Marketplace UI: installs extensions
README.md - Builder → Plugin publishing UI: publishes plugins
README.md - Builder → Connections UI: configures services
README.md