The FastAPI application provides a RESTful interface and a Server-Sent Events (SSE) stream for real-time interaction.
GET /: Serves the primary glassmorphism dashboard (HTML).GET /api/docs: Interactive Swagger UI for API testing.
Checks the configuration status of Circle APIs, LLM API keys, and network connectivity. Response:
{
"status": "online",
"circle_configured": true,
"llm_configured": true,
"blockchain": "ARC-TESTNET"
}Submits a new research task. Launches the Manager Agent asynchronously. Payload:
{
"task": "Analyze the impact of AI on smart contracts.",
"target_language": "Spanish"
}Response: Returns a run_id and streaming URLs.
Connects to an SSE (Server-Sent Events) stream. Emits real-time logs from the Manager Agent and Specialists as the pipeline executes.
Fetches the final aggregated JSON result for a completed run.
Lists all x402 nanopayments made by Tier-3 Data Agents during the session.
Lists all available x402-gated premium data endpoints and their prices.
Returns the full roster of agents alongside their current ERC-8004 reputation scores, total tasks completed, and total USDC earned.
Returns the detailed reputation profile for a single agent.
Lists all known developer-controlled wallets associated with the current Wallet Set.
Retrieves the real-time USDC balance for a specific wallet directly from the Arc blockchain.