a1n2a3s4w commited on
Commit
c76b236
·
verified ·
1 Parent(s): 81917a3

Replace stub agent with LangGraph-based tool-using agent

Browse files

Implement a working GAIA benchmark agent using LangGraph instead of the
placeholder BasicAgent.
- Add tool-calling loop (agent -> tools -> agent) with web search,
Wikipedia, Python REPL, calculator, and file-reading tools
- Auto-download task-attached files via /files/{task_id} and expose
local path to the file reader tool
- Add a verification pass that strips model output down to a clean,
exact-match-ready final answer
- Wire task_id through to the agent so file-based questions can be
handled
- Update requirements.txt with langgraph/langchain deps

1 file changed +250 -62
app.py+250-62