Institutional memory for
coding agents
TechSphereX Studio is an open-source AI Experience Engine that intercepts agent actions, decomposes goals into User Stories with BA-level analysis, and orchestrates multi-agent workflows with HITL controls — so your agents plan, execute, and learn autonomously.
Built for production agent workflows
Every component in TechSphereX Studio is designed to make your AI agents smarter over time.
3-Layer Intercept Pipeline
Every agent action flows through L1 keyword filter, L2 semantic vector search via Qdrant, and L3 LLM synthesis — returning ranked experience suggestions in milliseconds.
FastAPI · Qdrant · OllamaHarness Brain Orchestration
Submit a high-level goal and the engine decomposes it into Research, Code, Test, and Evaluate tasks, assigns them to agents by role, and closes the loop with PostTool feedback.
Phase 9 · GoalService · TaskRecordAgent Registry
In-memory registry with 120-second TTL tracks online agents by role — orchestrator, research, coding, testing, evaluation — and routes tasks to the right agent automatically.
AgentRegistry · Heartbeat · Role routingMCP Integration
15 built-in MCP tools expose the full engine surface — intercept, save experience, register agent, submit goal, claim task, and complete task — to any MCP-compatible client.
FastMCP · stdio transport · 15 toolsSSE Real-time Event Bus
Agents subscribe to /api/stream/{id} and receive push events — task_assigned, goal_completed, experience_evolved — without polling.
Native Desktop Dashboard
React 19 + Tauri 2 app with nine pages — Dashboard, Experiences, Agents, Goals, Fleet, Monitor, Graph, Terminal, Settings — with Notification config (webhook + Telegram feature flag) built-in.
React 19 · Tauri 2 · Vite 6Agentic Brain — Phase 11
BA Agent decomposes any natural-language goal into User Stories with Acceptance Criteria and Fibonacci story points using LLM. Tasks are queued by priority, claimed exclusively (no race condition), and executed autonomously. HITL tasks wait 180 seconds for SA approval — then auto-execute. SECURITY tasks require explicit approval always. Interrupted tasks resume from checkpoint, not from scratch.
Architecture overview
Polyglot monorepo — Python for the engine, TypeScript for the SDK and desktop, Rust via Tauri for native packaging.
Engine (Python · :8082)
Client (TypeScript)
Fleet & Host Services
.\start.ps1 → engine + bridge + loop + dashboard all start →
submit goal in UI → tasks flow to fleet → CLIs execute autonomously →
.\stop.ps1 when done (Docker keeps running)
Quick start
Docker engine already running at :8082? One command starts everything else.
agy and codex function wrappers in the current session.•
apps/cli-bridge/config.json — correct paths for each CLI• PowerShell
$PROFILE — agy / codex wrappers with fleet reporting•
~/.claude/settings.json — UserPromptSubmit / Stop / PreToolCall hooks• Grok: edit
~/.grok/config.toml manually (see README → CLI Setup)
API reference
The engine runs on port 8082. All endpoints return JSON.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/intercept | 3-layer pipeline — returns ranked suggestions |
| POST | /api/posttool | Report PostTool verdict — closes the learning loop |
| GET | /api/experiences | List all stored experiences |
| POST | /api/experiences | Save a new experience |
| POST | /api/experiences/search | Semantic vector search |
| POST | /api/agents/register | Register an agent with role and capabilities |
| GET | /api/agents | List online agents (TTL-filtered) |
| POST | /api/goals | Submit goal — engine decomposes into 4 tasks |
| POST | /api/goals/{id}/tasks/{tid}/claim | Agent claims a task |
| POST | /api/goals/{id}/tasks/{tid}/complete | Complete task — triggers SSE broadcast |
| GET | /api/stream/{agent_id} | SSE stream — subscribe to push events |
| POST | /api/evolve | Trigger evolution cycle — promote/demote experiences |
| GET | /health | Liveness probe |
| GET | /api/stats | Engine statistics — queries, latency, experience count |
| Phase 11 — Agentic Brain | ||
| POST | /api/ba/analyze | BA Agent decomposition — returns User Stories + AC + Fibonacci points |
| POST | /api/ba/goals/{id}/tasks/{tid}/approve | SA approves or rejects a HITL task |
| POST | /api/ba/goals/{id}/tasks/{tid}/checkpoint | Save task checkpoint for resume-on-interrupt |
| GET | /api/ba/notifications/config | Get notification config (feature flag + webhooks) |
| POST | /api/ba/notifications/toggle | Toggle notification feature flag ON/OFF (via UI or MCP) |
Daily workflow
From session start to autonomous execution — four steps, one command each.
Running services
All services started with .\start.ps1. Docker Engine + Qdrant run persistently.