cyberneticlibrary

Build FastAPI backend services

fastapi-backend-expertsubagentsetup L30
Thabonel/action-insight-pilot
What it does

Develop FastAPI routes and AI agent services

Best for

Rapid FastAPI backend development with multi-model fallback and user-provided API key management

Inputs
  • · route specification
  • · API model schemas
  • · AI service integration request
Outputs
  • · FastAPI route handler code
  • · Pydantic models
  • · Supabase integration
  • · error handling
Requires
  • · Read
  • · Write
  • · Edit
  • · Grep
  • · Glob
  • · Bash
Preconditions

FastAPI 0.100+; Supabase client configured; OpenAI/Anthropic/Gemini API keys

Failure modes
  • · Hardcoded secrets leaked
  • · No async/await in I/O operations
  • · Missing Pydantic validation
Trust signals
  • · Type hints on all functions
  • · Multi-model defaults specified
  • · Error handling pattern defined