Python Chatbot

Open-source Python projects categorized as Chatbot

Top 23 Python Chatbot Projects

  1. gpt4free

    The official gpt4free repository | various collection of powerful language models | o3 and deepseek r1, gpt-4.5

  2. 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.

    Judoscale logo
  3. autogen

    A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour

    Project mention: Build your first AI Agent for Postgres on Azure | dev.to | 2025-04-08

    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.

  4. 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.

    Project mention: Ask HN: Local RAG with private knowledge base | news.ycombinator.com | 2024-10-29
  5. python-telegram-bot

    We have made you a wrapper you can't refuse

    Project mention: How to build your Solana sniper bot (4)💰🚀 | dev.to | 2025-03-17

    Python Telegram Bot Library: https://python-telegram-bot.org

  6. 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-09

    This 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

  7. kotaemon

    An open-source RAG-based tool for chatting with your documents.

    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!

  8. 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

    Project mention: What is Rasa? A Beginner’s Guide to Conversational AI | dev.to | 2024-12-31

    Rasa GitHub Repository

  9. 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.

    CodeRabbit logo
  10. 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-02

    If 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).

  11. 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.

  12. ChatterBot

    ChatterBot is a machine learning, conversational dialog engine for creating chat bots

    Project mention: The Top 10 Open-Source Chatbot Frameworks of 2025 | dev.to | 2025-03-18

    9. ChatterBot

  13. dolly

    Databricks’ Dolly, a large language model trained on the Databricks Machine Learning Platform

  14. 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
  15. ChatRWKV

    ChatRWKV is like ChatGPT but powered by RWKV (100% RNN) language model, and open source.

  16. 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-26

    View the Project on GitHub

  17. GPTCache

    Semantic cache for LLMs. Fully integrated with LangChain and llama_index.

  18. TensorLayer

    Deep Learning and Reinforcement Learning Library for Scientists and Engineers

  19. InternLM

    Official release of InternLM series (InternLM, InternLM2, InternLM2.5, InternLM3).

    Project mention: InterLM: Open-source LLM with 1M context window | news.ycombinator.com | 2024-10-28
  20. DeepPavlov

    An open source library for deep learning end-to-end dialog systems and chatbots.

    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.

  21. rags

    Build ChatGPT over your data, all with natural language

  22. 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: A conversational AI powered by TEN | news.ycombinator.com | 2024-12-17
  23. chatgpt_telegram_bot

    💬 Telegram bot with ChatGPT, Python-based, using OpenAI's API.

  24. Red-DiscordBot

    A multi-function Discord bot

  25. superduper

    Superduper: End-to-end framework for building custom AI applications and agents.

    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 ⭐️🥳)

  26. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Chatbot discussion

Log in or Post with

Python Chatbot related posts

  • Mercury Coder - A Quick Test of Diffusion Language Model

    3 projects | dev.to | 18 Apr 2025
  • Skywork-OR1: new SOTA 32B thinking model with open weight

    4 projects | news.ycombinator.com | 13 Apr 2025
  • Show HN: Agent File (.af) – An open file format for agents

    2 projects | news.ycombinator.com | 2 Apr 2025
  • Show HN: Add an "Ask AI" button to your docs with this open-source Q&A assistant

    1 project | news.ycombinator.com | 26 Mar 2025
  • AstrBot: Revolutionizing Chatbot Development with Ease and Flexibility

    1 project | dev.to | 26 Mar 2025
  • How to build your Solana sniper bot (4)💰🚀

    3 projects | dev.to | 17 Mar 2025
  • Gptme v0.27 released – general purpose agent in your terminal

    1 project | news.ycombinator.com | 11 Mar 2025
  • A note from our sponsor - InfluxDB
    influxdata.com | 19 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

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

Sponsored
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.
judoscale.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?