Frontend (React + Vite)
↓
Backend API (FastAPI)
↓
Agent Registry
↓
Tool Registry
↓
Agent Store Catalog
↓
Agent Runner / MCP Simulation
↓
Tool-Call Trace Logs
↓
Ratings, Reviews, Analytics
React + TypeScript + Vite application. Displays agent cards, detail pages, tool listings, run simulation UI, and trace viewer. Calls backend REST API.
Folder: frontend/
FastAPI server exposing REST endpoints for agents, tools, runs, ratings, and reviews. Uses Pydantic models and JSON file storage for MVP.
Folder: backend/
Loads and serves agent manifests from JSON files. Provides lookup by ID, category, and search.
Folder: agents/registry/
Loads and serves tool manifests. Maps tool IDs to schemas, permissions, and mock output notes.
Folder: tools/ (manifests), integrated via backend
The combined view of all marketplace listings — agents, tools, and future agent apps. Aggregates metadata for browse/search/trending.
Folders: agents/manifests/, tools/manifests/, backend/app/storage/
Simulates agent execution without real external calls. Steps through: receive request → identify tools → call mock tools → process responses → generate answer.
Folder: agents/runner/
Real MCP integration can replace mock calls in a future phase.
Records each step of a simulated run for display and debugging. Stored as JSON alongside run history.
Folder: agents/traces/
User ratings and text reviews stored via backend. Data Science cohort analyzes mock usage/review data for trending, quality scores, and recommendations.
Folders: backend/app/storage/, data-science/, datasets/
User clicks "Run Agent"
↓
Frontend POST /agents/{id}/run
↓
Backend loads agent manifest
↓
Agent Runner identifies required tools
↓
Mock tool calls executed (no real APIs)
↓
Trace steps recorded
↓
Final response + trace returned to frontend
↓
Frontend displays result and trace viewer
| Data | Location | Format |
|---|---|---|
| Agent manifests | agents/manifests/ |
JSON |
| Tool manifests | tools/manifests/ |
JSON |
| Mock traces | agents/traces/ |
JSON |
| Runtime ratings/reviews | backend/app/storage/data/ |
JSON |
| Mock analytics datasets | datasets/ |
CSV/JSON |
Students can migrate to SQLite, Postgres, or other databases in later phases.
Common Pydantic models and TypeScript types live in:
backend/app/models/— Python modelsshared/schemas/— JSON schema definitionsshared/types/— Shared type documentation
tests/backend/— Pytest for API endpointstests/agents/— Pytest for registry and runnertests/frontend/— Frontend test placeholder
See ROADMAP.md for planned phases including real MCP integration, agent-to-agent calling, recommendation systems, and production deployment.