Building AI agents using Python, llama Index and using Gemini Api and Deepseek model.
# AI Agents RAG
Creating a basic AI Agents using DeepSeek API or locally downloaded LLMs using Ollama/Hugging Face to extract information using available dataset and PDF file. The following are the steps to run this repo:
- Clone this repo using the commands below:
```bash
git clone https://github.com/usman619/ai_agents_RAG.git
cd ai_agents_RAG
code .
```
- Create the python virtual environment using the following commands:
```bash
python -m venv env
source env/bin/activate
```
- Install the required packages using the requirements.txt:
```bash
pip install -r requirements.txt
```
- Run this repo using the command below:
```bash
python main.py
```
## Example Outputs:
- Input: What is the population of Pakistan?
```bash
❯ python main.py
> Pandas Instructions:
```python
df[df['Country'] == 'Pakistan']['Population2023'].iloc[0]
```
> Pandas Output: 240485658
```
- Input: Save a note saying "I love coding in Python"
```bash
❯ python main.py
Enter a prompt (q to quite): Save a note saying "I love coding in Python"
> Running step 687679b4-d0ca-4a21-a61b-f4c8c5e99ad3. Step input: Save a note saying "I love coding in Python"
Thought: The current language of the user is: English. I need to use the note_saver tool to save the note.
Action: note_saver
Action Input: {'note': AttributedDict([('title', 'Coding Note'), ('content', 'I love coding in Python')])}
Observation: Note Saved
> Running step f5e96726-60cc-48f9-a21f-d8f40a0f818f. Step input: None
Thought: I can answer without using any more tools. I'll use the user's language to answer
Answer: Note saved successfully.
Save a note saying "I love coding in Python"
```
- Input: What is the current population of Pakistan?
```bash
Enter a prompt (q to quite): What is the current population of Pakistan?
> Running step 36e1d99c-c7f1-4eb9-89b5-d2859ec4703c. Step input: What is the current population of Pakistan?
HAL 分层混合模型工作流 — 强模型(Claude)负责理解/拆解/验收,低成本模型(DeepSeek)负责检索/提取/清洗。Hermes Agent skill。
An LLM agent fine-tuned on DeepSeek for spaced repetition, dynamically integrating knowledge points based on the Ebbinghaus forgetting curve.
基于 STM32F103 构建的端到端 AI 智能手表生态。自研“零重定位”原生机器码动态加载引擎与页面栈式 UI 框架;集成生产级 OTA 回滚保护机制与高带宽(921600 baud)串口协议栈。通过 Node.js 中继实现 DeepSeek AI 语义控制及 ASRPRO 语音全双工交互,是一个集成了分布式计算、现代存储管理与 AI Agent 的嵌入式全栈工程。
A Meta-Agent-Driven Self-Evolving Multi-Agent System for UAV Detection and Tracking
One command to run Hermes AI Agent with a browser UI. Zero prerequisites. 一行命令,AI 就位。
网页应用Agent,接入DeepSeek、Mimo等模型