Superseded

Platform Component ↔ Service ↔ Agent Map

Status: Superseded implementation snapshot. Do not use as architecture authority.
The grounded replacement is
PLATFORM_CONTROL_SURFACE_MAPPING.md, subordinate to
INTEGRATEWISE_ARCHITECTURE.md.

Historical wire map for the IntegrateWise control plane and workbench surfaces.
UI surfaces live in apps/platform. Reusable microfrontend components live in packages/platform-mfe.
Canonical backend services live in services/. Runtime agents live in services/iw-agent-runtime.
Route, API, service, and agent statements below are retained as dated lineage and may be planned rather than implemented.


Legend

ColumnMeaning
SurfaceA user-facing page or control-plane view.
ComponentPrimary React component / folder that owns the view.
API Routesapps/platform/app/api/v1/* routes the surface should call (or already calls).
Service BindingsCloudflare Worker services the route proxies to.
Agentservices/iw-agent-runtime Durable Object that participates in the surface's work.
Spine EntityAdaptive Spine canonical entity type the surface primarily projects.

1. Workspace / Workbench Surfaces

Operational surfaces the user interacts with inside the Workbench shell.

SurfaceRoute(s)ComponentAPI RoutesService BindingsAgentSpine Entity
Overview / Home/app/(shell)/page.tsx/api/v1/workspace/discoveryworkflow, gatewayTwinAgentTimelineEvent, Capability
My Work/my-workapp/(shell)/my-work/page.tsx/api/v1/tasks/* (planned)task-managementCoworkerAgentTask
Communications/communicationsapp/(shell)/communications/page.tsx/api/v1/signals/* (planned)signals, hermesTwinAgentTimelineEvent
Workbench/workbenchapp/(shell)/workbench/page.tsx, components/workbench/*/api/v1/spine?type=schema, /api/v1/capabilities/*spine, workflow, intelligenceTwinAgent, SchemaAgentSchema, Capability
Network Catalog/networkapp/(shell)/network/page.tsx, components/network/*/api/v1/marketplace/connectors, /api/v1/connectorsintegration-management-mcp, provider-management-mcpDiscoveryAgentConnector, Connection
MCP Pool/network/mcpapp/(shell)/network/mcp/page.tsx, components/network/mcp-hub.tsx/api/v1/connectors/mcp-poolmcp-poolDiscoveryAgentCapability
Marketplace/marketplaceapp/(shell)/marketplace/page.tsx, components/connectors/connector-catalog.tsxGET /api/v1/workspace/marketplace-items?kind=*, POST /api/v1/workspace/marketplace-itemsworkflow, marketplace-installationDiscoveryAgentConnector, Capability
Governance/governanceapp/(shell)/governance/page.tsx, components/governance/*/api/v1/workspace/governance/* (planned)workflow, hermesTriageAgent, TwinAgentTimelineEvent
Approvals/approvalsapp/(shell)/approvals/page.tsx, components/approvals/*/api/v1/workspace/approvals/* (planned)workflowTriageAgent, TwinAgentTimelineEvent
Connectors/connectorsapp/(shell)/connectors/page.tsx, components/connectors/*/api/v1/connections/*, /api/v1/connections/[provider]connector, provider-management-mcpDiscoveryAgentConnection, Connector
Agents/agentsapp/(shell)/agents/page.tsx/api/v1/agents/* (planned)agent-registry, iw-agent-runtimeTwinAgent, CoworkerAgent, DiscoveryAgent, SchemaAgent, TriageAgent, AdaptiveAutotunerAgentCapability
Settings/settingsapp/(shell)/settings/page.tsx, components/settings/*/api/v1/auth/session, /api/v1/keys/*tenants, admin, billingTwinAgent—

2. Platform Control Plane Surfaces

New /control/[surface] admin views. These are operator-grade surfaces for the Platform Control Plane.

Surface IDPageConsole ComponentAPI RoutesService BindingsAgentNotes
overview/control/overviewPlatformConsole/api/v1/workspace/bootstrap, /api/v1/workspace/discoveryworkflow, gatewayTwinAgentAggregate KPIs across all surfaces.
connectors/control/connectorsPlatformConsole/api/v1/connections/*, /api/v1/marketplace/connectorsconnector, integration-management-mcp, provider-management-mcpDiscoveryAgentInstalled + available connectors.
marketplace/control/marketplacePlatformConsoleGET /api/v1/workspace/marketplace-items, POST /api/v1/workspace/marketplace-itemsworkflow, marketplace-installationDiscoveryAgentBrowse and publish packs / MCPs / plugins / connectors.
mcp-servers/control/mcp-serversPlatformConsole/api/v1/connectors/mcp-pool, /api/v1/capabilitiesmcp-pool, integration-management-mcpDiscoveryAgentTenant MCP pool registry.
agents/control/agentsPlatformConsole/api/v1/agents/* (planned)agent-registry, iw-agent-runtimeTwinAgent, CoworkerAgent, DiscoveryAgent, SchemaAgent, TriageAgent, AdaptiveAutotunerAgentSurface all 6 agent types per CONTEXT_TRANSFER_PLATFORM_UI.md.
pipelines/control/pipelinesPlatformConsole/api/v1/pipelines/* (planned)pipeline, loader, storeAdaptiveAutotunerAgentETL and sync pipelines.
automations/control/automationsPlatformConsole/api/v1/workflows/* (planned)workflow, task-managementCoworkerAgentRepeatable workflows.
observability/control/observabilityPlatformConsole/api/v1/telemetry/* (planned)telemetry, signalsAdaptiveAutotunerAgentHealth, metrics, logs.
governance/control/governancePlatformConsole/api/v1/workspace/governance/* (planned)workflow, hermesTriageAgent, TwinAgentProposals, approvals, audit.
settings/control/settingsPlatformConsole/api/v1/auth/session, /api/v1/keys/*tenants, adminTwinAgentTenant schema, policies, API keys.
organizations/control/organizationsPlatformConsole/api/v1/tenants/* (planned)tenants, billingTwinAgentWorkspace switching, plans, members.
users/control/usersPlatformConsole/api/v1/auth/users/* (planned)tenants, adminTwinAgentMembers, roles, invitations.

3. Runtime Agents

All agents live in services/iw-agent-runtime and are exposed via /agents/:name/* through routeAgentRequest.

AgentPrimary ResponsibilitySurfaces That Use ItPipeline Stage
TwinAgentSilent, non-authoritative cognitive participant; proposes, explains, requests approval.All user surfacesTHINK / APPROVE
DiscoveryAgentDiscover hosts, tools, schemas, connectors, MCP servers, capabilities.Network, Marketplace, Connectors, AgentsLOAD / NORMALIZE
SchemaAgentGenerate, migrate, validate tenant schemas and field mappings.Workbench, AgentsNORMALIZE / STORE
TriageAgentRoute signals/intents; enforce governance gate before execution or writes.Governance, Approvals, PipelinesTHINK → APPROVE
CoworkerAgentExecute assigned tasks and actions under human approval.My Work, Automations, AgentsACT
AdaptiveAutotunerAgentTune parameters, resource allocation, execution strategies from metrics.Observability, Pipelines, AgentsREPEAT

4. Key Backend Services

ServiceCapability DomainPrimary Consumers
gatewayIngress, auth routing, request validationAll surfaces
workflowWorkspace bootstrap, marketplace publication, HITL flows, approvalsOverview, Marketplace, Governance, Approvals
pipelineCanonical write pipeline, Spine writerWorkbench, Pipelines
integration-management-mcpConnectors, schemas, sync, webhooksNetwork, Connectors, MCP servers
provider-management-mcpOAuth apps, provider adapters, connectionsNetwork, Connectors, Settings
task-managementTask scheduling, assignment, executionMy Work, Automations
mcp-poolMCP registry, resolver, health, versioningNetwork / MCP, Agents
iw-agent-runtimeDurable Object agents (Twin, Discovery, Schema, Triage, Coworker, AdaptiveAutotuner)All surfaces
agent-registryAgent metadata, discovery, lifecycleAgents surface
spineRead-side catalog and projection cacheWorkbench, Network
tenantTenant membership, roles, invitationsSettings, Organizations, Users
billingPlans, subscriptions, usageOrganizations, Settings
hermesSync event routingGovernance, Communications, Pipelines
signalsSignal ingestion, alertingCommunications, Observability
telemetryMetrics, logs, tracesObservability

5. Frozen Pipeline Reference

LOAD → NORMALIZE → STORE → THINK → APPROVE → ACT → REPEAT
                          ↑                 ↑
                   Store in Spine    Approve Twin's Action
                   Ask your Twin     Assign your Twin
  • Agents participate only at THINK, APPROVE, ACT, REPEAT.
  • No agent writes directly to the Neon canonical DB. Write intent flows: UI → gateway → TriageAgent/workflow → pipeline → canonical store.
  • UI surfaces are projections over the Adaptive Spine, not direct DB consumers.

6. Next-Wire Targets (priority order)

  1. Marketplace surface — wire /control/marketplace to GET /api/v1/workspace/marketplace-items?kind=*.
  2. Overview surface — wire /control/overview to /api/v1/workspace/bootstrap and /api/v1/workspace/discovery.
  3. Agents surface — add /api/v1/agents/* proxy and render the 6 runtime agents from iw-agent-runtime.
  4. Governance surface — attach approval queue endpoints through workflow.
  5. Connectors surface — proxy to integration-management-mcp and provider-management-mcp.