tool-calling-agent / README.md
arinbalyan's picture
Upload folder using huggingface_hub
bd394cc verified
|
Raw
History Blame Contribute Delete
1.05 kB
---
title: Tool-Calling AI Agent
emoji: πŸ› οΈ
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 5.9.0
app_file: app.py
pinned: false
---
# πŸ› οΈ Tool-Calling AI Agent
A LangGraph-inspired Tool-Calling AI Agent with 3 tools:
- πŸ”’ **Calculator** β€” Safe math expression evaluation
- 🌐 **Web Search** β€” Knowledge base lookup
- πŸ“ **File Reader** β€” Read text files
Each response shows the full reasoning trace: **Thought β†’ Tool Call β†’ Tool Result β†’ Final Answer**
## Usage
Just type your question! Examples:
- `What is 2 + 2?`
- `Calculate the area of a circle with radius 7`
- `Tell me about LangGraph`
- `Read app.py`
## Architecture
```
User Query β†’ Intent Detection β†’ Tool Selection β†’ Execution β†’ Response
β”‚ β”‚ β”‚ β”‚ β”‚
└──── Thought ──── Tool Call ────┴── Tool Result ─┴─ Final β”€β”€β”˜
```
Built with Python and Gradio. No external LLM API needed β€” the agent uses deterministic intent routing.