How nithinnayakgugloth-creator/agentnithin works
agentnithin is a small FastAPI service exposing a restricted Indian weather-and-cinema assistant. A request reaches the /agent route, is normalized into agent messages, processed by a Gemini-backed tool-using agent, then reduced to text. The tools provide local movie lookup and temperature conversion, plus weather lookup through Open-Meteo. The graph reflects the single sampled runtime file; external service calls are visible there, while framework-internal routing details are not expanded.
Main entry points: app.py Restricted agent
Components 11
HTTP interface
- Agent route
app.py
Agent workflow
- Input formatter
app.py - Restricted agent
app.py - Text extractor
app.py
Assistant tools
- Weather lookup
app.py - Movie search
app.py - Temperature conversion
app.py
Other components
- API caller
- Gemini model
- Open-Meteo geocoding
- Open-Meteo forecast
Connections 10
- API caller → Agent route: sends request
app.py - Agent route → Input formatter: invokes chain
app.py - Input formatter → Restricted agent: formats input
app.py - Restricted agent → Gemini model: uses model
app.py - Restricted agent → Weather lookup: dispatches tool
app.py - Restricted agent → Movie search: dispatches tool
app.py - Restricted agent → Temperature conversion: dispatches tool
app.py - Restricted agent → Text extractor: passes output
app.py - Weather lookup → Open-Meteo geocoding: requests location
app.py - Weather lookup → Open-Meteo forecast: requests forecast
app.py