Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Agent Registry A mini Agent Discovery + Usage platform built with FastAPI. ## How to Run pip install fastapi uvicorn uvicorn main:app --reload Then open: http://localhost:8000/docs ## Design Questions ### Billing without double charging? Every usage log entry has a unique request_id. A billing job only processes entries with status "pending", marks them "billed" after charging, and never processes the same request_id twice. ### Scaling to 100K agents? Move agents to PostgreSQL with a full-text search index. Store usage logs in an append-only table. Use Redis counters for usage totals instead of scanning all rows every time.