{"id":42784836,"url":"https://github.com/sreehari05055/chatpilot","last_synced_at":"2026-02-05T02:01:52.706Z","repository":{"id":330848160,"uuid":"1116215916","full_name":"Sreehari05055/ChatPilot","owner":"Sreehari05055","description":"ChatPilot is a lightweight RAG tool for individuals and small teams who don't want to maintain complex AI stacks, yet still need reliable retrieval, tool use, and streaming responses.","archived":false,"fork":false,"pushed_at":"2026-01-29T21:33:19.000Z","size":2296,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T10:46:17.800Z","etag":null,"topics":["agent","ai","ai-search","automated-code-generation","deep-learning","document-parser","google-cloud","multi-agent","openai","retrieval-augmented-generation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sreehari05055.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-14T12:39:36.000Z","updated_at":"2026-01-29T21:33:23.000Z","dependencies_parsed_at":"2026-01-19T01:00:35.217Z","dependency_job_id":null,"html_url":"https://github.com/Sreehari05055/ChatPilot","commit_stats":null,"previous_names":["sreehari05055/chatpilot"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Sreehari05055/ChatPilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreehari05055%2FChatPilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreehari05055%2FChatPilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreehari05055%2FChatPilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreehari05055%2FChatPilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sreehari05055","download_url":"https://codeload.github.com/Sreehari05055/ChatPilot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreehari05055%2FChatPilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29107301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T00:52:08.035Z","status":"online","status_checked_at":"2026-02-05T02:00:07.839Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","ai-search","automated-code-generation","deep-learning","document-parser","google-cloud","multi-agent","openai","retrieval-augmented-generation"],"created_at":"2026-01-29T23:07:42.960Z","updated_at":"2026-02-05T02:01:52.701Z","avatar_url":"https://github.com/Sreehari05055.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✈️ ChatPilot: Intelligent Agentic RAG \u0026 Autonomous Research Engine\n\nChatPilot is a tool-augmented **Agentic Copilot** that goes beyond simple chat. It utilizes a single AI agent to interact with your local files, conduct deep web research, and perform autonomous data analysis through Python code execution.\n**Demo Frontend:** [ChatPilot Frontend](https://github.com/Sreehari05055/Demo-frontend)\n\n---\n\n## 🚀 Key Capabilities\n\n### 🧠 Agentic Context Reasoning \u0026 Document Intelligence\nPowered by **Docling**, ChatPilot supports complex document understanding, including both scanned and digital formats. It utilizes a sophisticated **Agentic Intelligence** workflow:\n- **Multi-Keyword Search**: The agent identifies and searches for multiple keywords to ensure comprehensive retrieval.\n- **Context Re-evaluation**: Linked content and retrieved snippets are dynamically re-evaluated by the agent for relevance.\n- **Sub-clause Retrieval**: The LLM can explicitly call for sub-clauses to retrieve deep context when simpler retrieval isn't enough.\n- **Scanned Document Support**: Handles OCR and layout analysis for scanned PDFs and images using **Docling**.\n- **🎯 PDF Highlighting**: Precise coordinate-based highlighting in the frontend - retrieved chunks are highlighted directly in the PDF viewer with element-level bounding boxes.\n\n### 📊 Autonomous Data Analysis\nUpload CSV or Excel files and ask for insights. ChatPilot functions as a **Data Analyst Agent**:\n- **Planning**: Formulates a step-by-step analysis strategy.\n- **Execution**: Writes and runs Python code in a secure sandbox.\n- **Self-Correction**: If the code fails, the agent analyzes the error and automatically retries until it gets the result.\n\n### 🌐 Agentic Web Research\nIntegration with **Tavily** or **Google Custom Search** enables high-fidelity information gathering:\n- **Deep Research**: Conducts multi-step, agentic research loops to generate thorough and structured reports—ideal for deep **competitor analysis** and market trends.\n- **Real-Time Knowledge**: Accesses the latest news and specialized finance/news topics.\n- **Web Fetch**: Extracts and cleans content from URLs for use as context in analysis tasks.\n\n### ⚡ Parallel Tool Execution\nChatPilot supports **parallel tool calls within a single agent step**, allowing multiple retrieval or research tools to run concurrently. This reduces latency, enables multi-source context gathering, and improves efficiency while preserving a single-agent architecture.\n\n### 🔓 Multi-LLM Flexibility\nBuilt on **LangChain**, ChatPilot supports switching between top providers. Use the same agent with your preferred model provider:\n- OpenAI \n- Anthropic \n- DeepSeek\n- Google (Gemini)\n- Local models via Ollama\n\n---\n\n## 🛠️ Tech Stack\n\n- **Backend**: FastAPI (Python 3.10+)\n- **Server**: Uvicorn (ASGI server with multi-worker support)\n- **Agent Framework**: LangChain (Single-agent architecture with parallel tool execution)\n- **Data Agent**: LangGraph (For iterative code execution and self-correction)\n- **Vector Store**: ChromaDB\n- **Embeddings \u0026 Reranking**: \n  - **Local Option**: HuggingFace embeddings (BAAI BGE-small-en-v1.5) + BGE reranker-v2-m3 (fully offline)\n  - **Cloud Option**: Cohere API (1024D embeddings with reranking)\n- **Containerization**: Docker (Secure code execution sandbox)\n- **Document Processing**: Docling (Advanced document intelligence with OCR and bbox extraction)\n- **Web Search**: Tavily API, Google Custom Search\n- **Code Execution**: Isolated Docker sandbox with resource limits\n\n---\n\n## 🏁 Getting Started\n\nFor detailed setup instructions including prerequisites, API key configuration, and Docker setup, see **[docs/SETUP.md](docs/SETUP.md)**.\n\n**Quick Start:**\n```bash\n# 1. Clone and install dependencies\ngit clone https://github.com/Sreehari05055/ChatPilot.git\ncd ChatPilot\npip install -r requirements.txt\n\n# 2. Set up your .env file with API keys (see docs/SETUP.md)\n\n# 3. Build Docker sandbox\ndocker build -t python-sandbox:latest -f Dockerfile .\n\n# 4. Run the server\npython main.py\n```\n\nServer runs on `http://localhost:8000` with 4 worker processes.\n\n---\n\n## 📜 License\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreehari05055%2Fchatpilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsreehari05055%2Fchatpilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreehari05055%2Fchatpilot/lists"}