Answers natural language questions about SQL databases by generating and executing queries - Use when user says 04 sql query agent or needs data-analytics agent - Framework: langchain - From 500 AI Agents Projects (36k stars) - 04-sql-query-agent
Scanned 9/8/2026
Install to Claude Code
npx -y skills add trmv2007-bot/hermus-agent-free --skill 04_sql_query_agent --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of 04 Sql Query Agent?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/trmv2007-bot-04-sql-query-agent)More formats (shields.io, HTML) on the badges page.
---
name: 04_sql_query_agent
description: Answers natural language questions about SQL databases by generating and executing queries - Use when user says 04 sql query agent or needs data-analytics agent - Framework: langchain - From 500 AI Agents Projects (36k stars) - 04-sql-query-agent
---
# sql-query-agent - 04_sql_query_agent
Answers natural language questions about SQL databases by generating and executing queries
**Framework:** langchain
**Industry:** data-analytics
**Original:** https://github.com/ashishpatel26/500-AI-Agents-Projects/tree/main/04-sql-query-agent
**Tags:** langchain, data-analytics, 500-agents, free
## What it does
Answers natural language questions about SQL databases by generating and executing queries
Original agent from 500-AI-Agents-Projects collection - 04-sql-query-agent:
- Takes user query/task
- Uses langchain framework
- Produces structured output
## Original Setup (from 500-AI-Agents-Projects)
```bash
cd agents/04-sql-query-agent
pip install -r requirements.txt
cp .env.example .env
# Edit .env and add your API keys
python agent.py
```
## Free Clone Implementation
This free clone in Hermus Agent Free uses:
- Ollama local free LLMs (llama3.1:8b) instead of GPT-4o-mini OpenAI (no API key needed)
- DuckDuckGo free search instead of Tavily paid (free)
- SQLite FTS5 memory instead of Pinecone paid
- File-based skills compatible with agentskills.io
## Usage in Hermus Free
```
/04_sql_query_agent
```
Or:
```
You: I need 04 sql query agent
Hermus: [Tool] skill_use({"name": "04_sql_query_agent"})
```
## When to use
Use this skill when user says:
- "04 sql query agent"
- "data-analytics agent"
- "I need Answers natural language questions about SQL datab"
## Framework Comparison (from 500-AI-Agents-Projects)
| Framework | Best For | Complexity | Multi-Agent | Streaming | Local LLM |
| LangGraph | Stateful workflows, RAG pipelines | ⭐⭐⭐ | ✅ | ✅ | ✅ |
| CrewAI | Role-based teams, business automation | ⭐⭐ | ✅ | ✅ | ✅ |
| AutoGen | Code generation, research | ⭐⭐⭐ | ✅ | ✅ | ✅ |
| Agno | Lightweight single agents | ⭐ | ✅ | ✅ | ✅ |
| LlamaIndex | Document Q&A, enterprise RAG | ⭐⭐ | ⚠️ | ✅ | ✅ |
Quick decision:
- Just starting → Agno or CrewAI
- Need stateful graphs + RAG → LangGraph
- Code-writing/research → AutoGen
- Enterprise doc pipelines → LlamaIndex
## Industry Use Cases (from 500-Agents)
This agent belongs to data-analytics industry. Other industries in collection:
- Healthcare: Health Insights Agent, AI Health Assistant
- Finance: Automated Trading Bot, Agent Wallet SDK
- Education: Virtual AI Tutor
- Customer Service: 24/7 AI Chatbot
- Retail: Product Recommendation Agent
- Transportation: Self-Driving Delivery Agent
- Manufacturing: Factory Process Monitoring
- Real Estate: Property Pricing Agent
- Agriculture: Smart Farming Assistant
- Energy: Energy Demand Forecasting Agent
- Entertainment: Content Personalization Agent
- Legal: Legal Document Review Assistant
- HR: Recruitment Recommendation Agent
- Hospitality: Virtual Travel Assistant
- Gaming: AI Game Companion Agent
- Cybersecurity: Real-Time Threat Detection Agent (like Vrindha!)
- E-commerce: Personal Shopper Agent
See full 500+ use cases: https://github.com/ashishpatel26/500-AI-Agents-Projects
## Free Implementation Notes
This skill in Hermus Free is a free clone using:
- Ollama local free LLMs (no API key)
- DuckDuckGo free search (no API key)
- SQLite FTS5 free memory (no Pinecone)
- File-based skills (no paid)
You can run it fully offline on laptop/$5 VPS.
## Original Code Reference
Original agent.py from 500-AI-Agents-Projects has ~100 lines using LangGraph/CrewAI/AutoGen.
This free clone provides simplified version using Hermus tools: web_search (DuckDuckGo free), file_write, etc.
If you want original exact code, clone: https://github.com/ashishpatel26/500-AI-Agents-Projects/tree/main/04-sql-query-agent
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!