Python llm-agent

Open-source Python projects categorized as llm-agent

Top 22 Python llm-agent Projects

  1. 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: 10 Ways AI Can Speed Up your Mobile App Development | dev.to | 2025-02-21

    AutoGen offers tools for automating the generation of agent behaviors and interactions, streamlining the development process.

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

    Letta (formerly MemGPT) is the stateful agents framework with memory, reasoning, and context management.

    Project mention: Letta: Letta is a framework for creating LLM services with memory | news.ycombinator.com | 2025-03-07
  4. codeinterpreter-api

    ๐Ÿ‘พ Open source implementation of the ChatGPT Code Interpreter

  5. gptme

    Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.

    Project mention: Gptme v0.27 released โ€“ general purpose agent in your terminal | news.ycombinator.com | 2025-03-11
  6. langroid

    Harness LLMs with Multi-Agent Programming

    Project mention: Understanding the BM25 full text search algorithm | news.ycombinator.com | 2024-11-19

    In the Langroid[1] LLM library we have a clean, extensible RAG implementation in the DocChatAgent[2] -- it uses several retrieval techniques, including lexical (bm25, fuzzy search) and semantic (embeddings), and re-ranking (using cross-encoder, reciprocal-rank-fusion) and also re-ranking for diversity and lost-in-the-middle mitigation:

    [1] Langroid - a multi-agent LLM framework from CMU/UW-Madison researchers https://github.com/langroid/langroid

    [2] DocChatAgent Implementation -

  7. AgentBench

    A Comprehensive Benchmark to Evaluate LLMs as Agents (ICLR'24)

  8. LLMCompiler

    [ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. code-act

    Official Repo for ICML 2024 paper "Executable Code Actions Elicit Better LLM Agents" by Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji.

    Project mention: Executable Code Actions Elicit Better LLM Agents | news.ycombinator.com | 2024-05-30
  11. holmesgpt

    Your 24/7 On-Call AI Agent - Solve Alerts Faster with Automatic Correlations, Investigations, and More

    Project mention: AIOpsย : Investigation par lโ€™IA dans Kubernetes avec HolmesGPT, Ollama et RunPodย โ€ฆ | dev.to | 2025-01-14

    root@k0s-incus:~# apt install pipx -y root@k0s-incus:~# pipx ensurepath Success! Added /root/.local/bin to the PATH environment variable. Consider adding shell completions for pipx. Run 'pipx completions' for instructions. You will need to open a new terminal or re-login for the PATH changes to take effect. Otherwise pipx is ready to go! โœจ ๐ŸŒŸ โœจ root@k0s-incus:~# pipx install "https://github.com/robusta-dev/holmesgpt/archive/refs/heads/master.zip" installed package holmesgpt 0.1.0, installed using Python 3.12.3 These apps are now globally available - holmes done! โœจ ๐ŸŒŸ โœจ root@k0s-incus:~# holmes version /root/.local/share/pipx/venvs/holmesgpt/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2: * 'fields' has been removed warnings.warn(message, UserWarning) HEAD -> master-bfafbde3

  12. Interactive-LLM-Powered-NPCs

    Interactive LLM Powered NPCs, is an open-source project that completely transforms your interaction with non-player characters (NPCs) in any game! ๐ŸŽฎ๐Ÿค–๐Ÿš€

  13. LLM-VM

    irresponsible innovation. Try now at https://chat.dev/

  14. airweave

    Turn any app into agent knowledge

    Project mention: Ask HN: What Are You Working On? (February 2025) | news.ycombinator.com | 2025-02-23

    I'm working on Airweave https://github.com/airweave-ai/airweave , an open-source dev tool that makes any app searchable for AI agents. it connects to a source app, db, or api and converts its contents to accessible knowledge for agents. Airweave automates authentication, ingestion, enrichment, mapping, and syncing to vector stores and graph databases of choice. you can use it via our UI, API, or SDKs https://docs.airweave.ai/

    we originally built this for our previous agent startup as an internal solution to ensure agents could find the relevant data on apps they're using. We then pivoted to this after some early positive reactions and decided to open-source it.

    here's a short demo: https://tinyurl.com/demo-airweave

    we're two engineers/friends based in Amsterdam, NL. We just launched the project, so it's rough around the edges ofc, but we're very eager to get some feedback!

    feel free to reach out to me personally if you like this!

  15. edsl

    Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.

    Project mention: Python Library for Structured Data Extraction via LLM | news.ycombinator.com | 2024-08-14

    Hey thanks for noticing - here's the MIT licensed library it's based on: https://github.com/expectedparrot/edsl

  16. dialop

    DialOp: Decision-oriented dialogue environments for collaborative language agents

  17. Noema-Declarative-AI

    A declarative way to control LLMs.

    Project mention: Noema โ€“ A Declarative AI Programming Library | dev.to | 2024-12-01

    I'm excited to share an open source contribution to python LLM ecosystem: Noema-Declarative-AI.

  18. freeact

    freeact is a lightweight library for code-action based agents (by gradion-ai)

    Project mention: Show HN: Gemini 2 with unrestricted code execution | news.ycombinator.com | 2025-01-29

    I recently experimented using Gemini 2 Flash and Gemini 2 Flash Thinking with unrestricted code execution in a local sandbox and open sourced the results: https://github.com/gradion-ai/freeact. Here's an example that uses Gemini 2 Flash Thinking as agent that acts via code, executed in a sandbox based on IPython and Docker: https://gist.github.com/krasserm/dcdae47f85ee9922e3284953d07...

    Gemini's code execution environment is restricted to selected Python libraries like NumPy or SymPy and prevents the model from installing new packages, besides other limitations. While this may be useful for agentic applications in restricted environments, it may prevent agents from adapting to new environments, especially agents that write their actions in code (see CodeAct paper https://arxiv.org/abs/2402.01030).

    Has anyone else experimented with Gemini 2 as a CodeAct agent? I'd be particularly interested in hearing about approaches to unrestricted code execution.

  19. clientai

    A unified client for AI providers with built-in agent support.

    Project mention: Building a Local AI Code Reviewer with ClientAI and Ollama - Part 2 | dev.to | 2024-12-16

    For ClientAI's docs see here and for Github Repo, here.

  20. airbyte-connector-generator-poc

    proof of concept to generate Airbyte low-code YAML connectors from API documentation

  21. monocle

    Monocle is a framework for tracing GenAI app code. This repo contains implementation of Monocle for GenAI apps written in Python. (by monocle2ai)

    Project mention: AIM Weekly for 04Nov2024 | dev.to | 2024-11-04

    ๐ŸŒ Composed Image Retrieval ๐Ÿ“Ž Intro to Multimodal LLama 3.2 ๐Ÿ› ๏ธ Multi Agent Concierge ๐Ÿ’ป RAG with Langchain Granite, Milvus ๐Ÿซถ Download content โœ… Transformer Replacement? ๐Ÿค– vLLM for runing models ๐ŸŒ Amphion ๐Ÿ“ Autogluon ๐Ÿš™ Notebook LLama like Google's Notebook LLM ๐Ÿซถ Monocle2ai for tracing GenAI app code LFA&D Project ๐Ÿค– Bee Agent Framework โœ… LLama RFP Response โ–ถ๏ธ GenAI Script ๐Ÿ‘ฝ Simular AI Agent S ๐Ÿฆพ DrawDB with AI โœจ Ollama with LLama 3.2 Vision!!!! Preview ๐Ÿš• Powerful RAG Checker ๐Ÿ“Š SQL Generator ๐Ÿ’ป Role of LLMs ๐Ÿ Document Extraction ๐Ÿ•ถ๏ธ Open Source Vector DB Reddit ๐Ÿ” The Practical Guide to Self Hosting LLM ๐Ÿฆพ Stagehand Controller ๐Ÿ•ถ๏ธ Understanding HNSWLIB ๐Ÿ Best practices in RAG ๐Ÿ’ป Enigma Agent ๐Ÿ“ Langchain, Ollama, Phi3 for Function Calling ๐Ÿ”‹ Compass Judger ๐Ÿ“ Princeton NLP SimPO ๐Ÿ” Princeton NLP ProLong ๐Ÿ”‹ Princeton NLP HELMET ๐Ÿง Ollama Cheatsheet ๐Ÿš• Princeton NLP CopyCat ๐Ÿ“Š Princeton NLP Shp ๐Ÿ•ถ๏ธ Can LLM Solve Hard Github Issues ๐Ÿ“ Enabling Large Language Models to Generate Text with Citations ๐Ÿ”‹ Princeton NLP CharXiv ๐Ÿ“Š Awesome AI Agents List ๐Ÿฆพ Nomicโ€™s Matryoshka text embedding model

  22. ipybox

    A lightweight, stateful and secure Python code execution sandbox built with IPython and Docker

    Project mention: Build Code-Action AI Agents with freeact | dev.to | 2025-01-13

    Code actions are executed in ipybox, a secure Docker + IPython sandbox that runs locally or remotely

  23. llmling-agent

    Multi-agent workflows and complex Agent interactions, both via YAML manifest and programmatic usage. Pydantic-AI and LiteLLM backends. Human-in-the-loop integration.

    Project mention: Show HN: LLMling-Agent (Yet another Agent framework) | news.ycombinator.com | 2025-01-28
  24. Agently

    [AI Agent Application Development Framework] - ๐Ÿš€ Build AI agent native application in very few code ๐Ÿ’ฌ Easy to interact with AI agent in code using structure data and chained-calls syntax ๐Ÿงฉ Enhance AI Agent using plugins instead of rebuild a whole new agent

  25. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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 llm-agent discussion

Log in or Post with

Python llm-agent related posts

  • Show HN: Gemini 2 with unrestricted code execution

    1 project | news.ycombinator.com | 29 Jan 2025
  • Build Code-Action AI Agents with freeact

    2 projects | dev.to | 13 Jan 2025
  • Show HN: Freeact โ€“ A Lightweight Library for Code-Action Based Agents

    4 projects | news.ycombinator.com | 10 Jan 2025
  • Show HN: We released an AI Agent for Prometheus alerts and on-call

    1 project | news.ycombinator.com | 6 Nov 2024
  • Leveraging AI for efficient incident response

    2 projects | news.ycombinator.com | 22 Aug 2024
  • HolmesGPT โ€“ The Open Source On-Call/DevOps Agent

    1 project | news.ycombinator.com | 23 Aug 2024
  • Han benchmarked LLM's para comparar resultados, costo, etc?

    1 project | /r/chileIT | 6 Dec 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 20 Mar 2025
    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. Learn more โ†’

Index

What are some of the best open-source llm-agent projects in Python? This list will help you:

# Project Stars
1 autogen 41,685
2 letta 15,337
3 codeinterpreter-api 3,826
4 gptme 3,633
5 langroid 3,159
6 AgentBench 2,437
7 LLMCompiler 1,635
8 code-act 882
9 holmesgpt 720
10 Interactive-LLM-Powered-NPCs 616
11 LLM-VM 489
12 airweave 514
13 edsl 228
14 dialop 106
15 Noema-Declarative-AI 72
16 freeact 71
17 clientai 48
18 airbyte-connector-generator-poc 23
19 monocle 23
20 ipybox 18
21 llmling-agent 14
22 Agently 0

Sponsored
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.ai

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