How holamexico/end-to-end-agentic-ai-fastapi-docker-project works
This repository is a small FastAPI-backed agentic query service. A client submits a query to the /generate/ endpoint; the API delegates it to a LangGraph workflow, which invokes an agent that queries the configured Groq chat model and returns the response. app/workflows.py also exposes a thin wrapper around the same workflow, but the API route calls the runner directly. The README describes agent CRUD endpoints, but the sampled application source implements only /generate/ and /.
Main entry points: agent.py Graph runner · main.py FastAPI routes · workflows.py Workflow wrapper
Components 6
API
- FastAPI routes
app/main.py
Workflow
- Workflow wrapper
app/workflows.py - Graph runner
app/agent.py - Agent node
app/agent.py
Model integration
- Groq chat model
Other components
- API client
Connections 5
- API client → FastAPI routes: submits query
app/main.py - FastAPI routes → Graph runner: calls runner
app/main.py - Workflow wrapper → Graph runner: delegates to
app/workflows.py - Graph runner → Agent node: invokes graph
app/agent.py - Agent node → Groq chat model: queries model
app/agent.py