Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →
Top 23 Python Chatbot Projects
-
gpt4free
The official gpt4free repository | various collection of powerful language models | o3 and deepseek r1, gpt-4.5
-
Judoscale
Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
-
autogen
A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour
AI agents are getting a lot of attention lately, but getting started can be confusing. You may have heard about tools like LangChain/LangGraph, Semantic Kernel, AutoGen, or LlamaIndex. They are powerful, but sometimes all you need is something simple that works.
-
quivr
Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
-
Python Telegram Bot Library: https://python-telegram-bot.org
-
LLaVA
[NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.
Project mention: Show HN: LLM Aided OCR (Correcting Tesseract OCR Errors with LLMs) | news.ycombinator.com | 2024-08-09This package seems to use llama_cpp for local inference [1] so you can probably use anything supported by that [2]. However, I think it's just passing OCR output for correction - the language model doesn't actually see the original image.
That said, there are some large language models you can run locally which accept image input. Phi-3-Vision [3], LLaVA [4], MiniCPM-V [5], etc.
[1] - https://github.com/Dicklesworthstone/llm_aided_ocr/blob/main...
[2] - https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#de...
[3] - https://huggingface.co/microsoft/Phi-3-vision-128k-instruct
[4] - https://github.com/haotian-liu/LLaVA
[5] - https://github.com/OpenBMB/MiniCPM-V
-
Project mention: Kotaemon-papers: an open-source web app to chat with your academic papers | news.ycombinator.com | 2025-01-05
Hi HN,
Our team at https://github.com/Cinnamon/kotaemon/ has been working on a public demo to showcase the new advanced citation features in our RAG (retrieval-augmented generation) application.
We’re excited to share a web app that lets users explore top daily machine learning (ML) papers on Arxiv (via the HuggingFace API) and upload their own Arxiv papers to get LLM-assisted summaries, mind maps, and answers to questions based on the content.
Some notable features:
- Instant Summaries & Mind Maps: Generate concise summaries and visual mind maps for any Arxiv paper.
- Transparent Citations: Verify AI-generated answers with clear, evidence-backed citations. Citations are highlighted directly in the in-browser PDF viewer.
- Flexible Citation Options: Choose between highlights and inline citations. Plus, click on any sentence in the AI-generated response to see its supporting source from the original paper.
- Multi-Paper Analysis: Compare, contrast, and compose summaries from multiple papers simultaneously.
- Complex Question Solving: Use Chain-of-Thought (CoT) reasoning mode to break down and solve complex questions step-by-step.
- Customizable & Private Hosting: Easily self-host or customize your private app via HuggingFace Spaces. You can securely connect your LLM and upload your own document collections.
We’d love to hear your thoughts, feedback, and recommendations as we continue improving this tool.
Check out the demo here and happy hacking!
-
rasa
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
Rasa GitHub Repository
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
letta
Letta (formerly MemGPT) is the stateful agents framework with memory, reasoning, and context management.
Project mention: Show HN: Agent File (.af) – An open file format for agents | news.ycombinator.com | 2025-04-02If you're interested in the full schema you can look at the Pydantic models here: https://github.com/letta-ai/letta/blob/main/letta/serialize_...
Agent File is intended to support "one thread" agents, ie agents that have an indefinite conversation/event history, even if the underlying in-context message history is limited. That's why there's a distinction between just "messages" and "in-context messages" (a subset of messages).
-
ChuanhuChatGPT
GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.
-
9. ChatterBot
-
-
petals
🌸 Run LLMs at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading
Project mention: Serving AI from the Basement – 192GB of VRAM Setup | news.ycombinator.com | 2024-09-08 -
-
AstrBot
✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨ 平台支持 QQ、QQ频道、Telegram、微信、企微、飞书 | MCP 服务器、OpenAI、DeepSeek、Gemini、硅基流动、月之暗面、Ollama、OneAPI、Dify 等。附带 WebUI。
Project mention: AstrBot: Revolutionizing Chatbot Development with Ease and Flexibility | dev.to | 2025-03-26View the Project on GitHub
-
-
-
Project mention: InterLM: Open-source LLM with 1M context window | news.ycombinator.com | 2024-10-28
-
Project mention: Conversational AI and the Evolution of Search: Redefining How We Find Information | dev.to | 2025-01-29
DeepPavlov: A conversational AI library for building multi-skill chatbots and virtual assistants.
-
-
TEN-Agent
Meet TEN, the World's First Truly Real-time Multimodal Agent Framework for Creating Next-Gen AI Agents. The TEN Framework is an open-source framework that enables developers to quickly build real-time multimodal agents (voice, video, data stream, image and text), making it easy for developers to experiment, integrate large language models, and create reusable extensions. TEN can be used to build agents supporting use cases like voice chatbots, AI generated meeting minutes, language tutors, sim
-
-
-
Project mention: Build fully portable AI applications on top of Snowflake with SuperDuperDB | dev.to | 2024-06-26
Customize how AI and databases work together. Scale your AI projects to handle more data and users. Move AI projects between different environments easily. Extend the system with new AI features and database functionality. Check it out: Blog: https://blog.superduperdb.com/version-02 Github: https://github.com/SuperDuperDB/superduperdb (leave us a star ⭐️🥳)
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
Python Chatbot discussion
Python Chatbot related posts
-
Mercury Coder - A Quick Test of Diffusion Language Model
-
Skywork-OR1: new SOTA 32B thinking model with open weight
-
Show HN: Agent File (.af) – An open file format for agents
-
Show HN: Add an "Ask AI" button to your docs with this open-source Q&A assistant
-
AstrBot: Revolutionizing Chatbot Development with Ease and Flexibility
-
How to build your Solana sniper bot (4)💰🚀
-
Gptme v0.27 released – general purpose agent in your terminal
-
A note from our sponsor - InfluxDB
influxdata.com | 19 Apr 2025
Index
What are some of the best open-source Chatbot projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | gpt4free | 64,075 |
2 | autogen | 43,212 |
3 | quivr | 37,703 |
4 | python-telegram-bot | 27,317 |
5 | LLaVA | 22,230 |
6 | kotaemon | 21,988 |
7 | rasa | 19,980 |
8 | letta | 16,061 |
9 | ChuanhuChatGPT | 15,416 |
10 | ChatterBot | 14,287 |
11 | dolly | 10,812 |
12 | petals | 9,573 |
13 | ChatRWKV | 9,471 |
14 | AstrBot | 7,659 |
15 | GPTCache | 7,517 |
16 | TensorLayer | 7,338 |
17 | InternLM | 6,863 |
18 | DeepPavlov | 6,855 |
19 | rags | 6,438 |
20 | TEN-Agent | 5,626 |
21 | chatgpt_telegram_bot | 5,350 |
22 | Red-DiscordBot | 5,039 |
23 | superduper | 5,033 |