Python llm-framework

Open-source Python projects categorized as llm-framework

Top 23 Python llm-framework Projects

llm-framework
  1. autogen

    A programming framework for agentic AI

    Project mention: Wait... FDE Is Not a JavaScript Framework? | dev.to | 2026-06-09

    LLM / agentic frameworks: LangChain, LlamaIndex, LangGraph, AutoGen, MCP, RAG. (Fiddler and Razorpay both list these. "Hands-on counts, not just awareness," as Razorpay puts it.)

  2. SaaSHub

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

    SaaSHub logo
  3. PocketFlow-Tutorial-Codebase-Knowledge

    Pocket Flow: Codebase to Tutorial

    Project mention: Beyond Code Generation: LLMs for Code Understanding | dev.to | 2026-01-02

    My exploration of LLM-based tools for code understanding started with DeepWiki, which I have been using since its early release. As my interest shifted toward analyzing private repositories and experimenting more deeply with the underlying mechanics, I began looking for open-source alternatives. This led me to deepwiki-rs and later OpenDeepWiki. After starring OpenDeepWiki on GitHub, one of the authors of Davia reached out, which introduced me to a different, more collaborative approach to AI-assisted documentation. I later encountered PocketFlow Tutorial Codebase Knowledge through a technical report, and finally Google Code Wiki when it was publicly announced, which I followed closely given its enterprise positioning.

  4. PocketFlow

    Pocket Flow: 100-line LLM framework. Let Agents build Agents!

    Project mention: Porting from PocketFlow to Ambler TS | dev.to | 2026-05-19

    git submodule add https://github.com/The-Pocket/PocketFlow.git vendor/pocketflow

  5. langroid

    Harness LLMs with Multi-Agent Programming

    Project mention: Agent Framework Is Just a Bad Clone of Elixir | news.ycombinator.com | 2026-02-19

    I ran into this question when thinking about the approach for a recent project. Yes CLI coding tools are good agents for interactive use, but if you are building a product then you do need an agent abstraction.

    You could package Claude Code into the product (via agents-sdk or Claude -p) and have it use the API key (with metered billing) but in my case I didn’t find it ergonomic enough for my needs, so I ended up using my own agent framework Langroid for this.

    https://github.com/langroid/langroid

    (No it’s not based on that similarly named other framework, it’s a clean, minimal, extensible framework with good dx)

  6. holmesgpt

    SRE Agent - CNCF Sandbox Project

    Project mention: What is an AI SRE? Definition, Capabilities, and 2026 Buyer's Lens | dev.to | 2026-05-21

    Infrastructure tool execution. The agent reads from kubectl, cloud SDKs, observability backends, and ticket systems. Some agents also write, with guardrails. HolmesGPT documents read-only access with RBAC respect. Aurora documents sandboxed execution into an isolated namespace. K8sGPT documents Kubernetes-only diagnostics with anonymisation before any AI backend call.

  7. LLMStack

    No-code multi-agent framework to build LLM Agents, workflows and applications with your data

  8. contextgem

    ContextGem: Effortless LLM extraction from documents

  9. LLMCompiler

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

  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: Sandboxing AI - Extending AI Responsibly | dev.to | 2025-07-15

    The source code and datasets are available on GitHub.

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

  12. LLMtuner

    FineTune LLMs in few lines of code (Text2Text, Text2Speech, Speech2Text)

  13. spelltest

    AI-to-AI Testing | Simulation framework for LLM-based applications

  14. playbooks

    ▶📚 Playbooks is a semantic programming system for AI agents (by playbooks-ai)

    Project mention: Show HN: Realizing Karpathy's Prediction for Natural Language Programming | news.ycombinator.com | 2025-10-21

    Andrej Karpathy's posted in early 2023 (https://x.com/karpathy/status/1617979122625712128) -

    > "The hottest new programming language is English"

    I've built a Natural Language Programming stack for building AI Agents. I think it is the first true Software 3.0 stack.

    The core idea: Use LLMs as CPUs! You can finally step debug through your prompts and get reliable, verifiable execution. The stack includes a new language, compiler, developer tooling like VSCode extension.

    Programs are written as markdown. H1 tags are agents, H2 tags are natural language playbooks (i.e. functions), python playbooks. All playbooks in an agents run on the same call stack. NL and python playbooks can call each other.

    Quick intro video: https://www.youtube.com/watch?v=ZX2L453km6s

    Github: https://github.com/playbooks-ai/playbooks (MIT license)

    Documentation: https://playbooks-ai.github.io/playbooks-docs/getting-starte...

    Project website: runplaybooks.ai

    Example Playbooks program -

        # Country facts agent

  15. DataJourney

    Design first Open Source Data Management Toolkit

  16. SyGra

    SyGra - Graph-oriented Synthetic data generation Pipeline

    Project mention: Show HN: SyGra – Graph-oriented Synthetic data generation Pipeline for LLMs | news.ycombinator.com | 2025-09-23
  17. GoalChain

    GoalChain for goal-orientated LLM conversation flows

  18. geniusrise

    Geniusrise: Framework for building geniuses

  19. sql-sidekick

    Experiment on QnA tabular data using LLMs and SQL

  20. Kite

    Production-ready agentic AI framework. High-performance, lightweight, simple. Built-in safety, memory, and 4 reasoning patterns. Ships to production fast. (by thienzz)

    Project mention: Ask HN: When should you stop building an open-source AI agent framework? | news.ycombinator.com | 2026-02-05

    Hi HN,

    I've been building an open-source Python framework for production-ready AI agents (lightweight, with built-in circuit breakers, multi-LLM support including Ollama, ReAct/ReWOO/ToT reasoning, and safety features like guardrails/idempotency).

    Repo: https://github.com/thienzz/Kite (just released v0.1.0 on PyPI: pip install kite-agent)

    My questions:

  21. SynapseKit

    Async-native Python framework for building LLM applications — RAG pipelines, tool-using agents, and graph workflows. Streaming-first, transparent API, 2 hard deps. 27 providers · 43 tools · 26 loaders · 9 vector stores.

    Project mention: Why I Modelled My LLM Pipeline as a DAG Instead of a Chain — and What I Found Out | dev.to | 2026-04-16

    SynapseKit is the framework I built around this model: https://github.com/SynapseKit/SynapseKit API Doc: https://synapsekit.github.io/synapsekit-docs/

  22. geniusrise-prompt-actions

    Bolts that read data and perform chains of actions with prompts

  23. listeners

    A collection of Spouts that listen to events

  24. geniusrise-openai

    Bolts interfacing with the openai ecosystem

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-framework discussion

Log in or Post with

Python llm-framework related posts

  • Porting from PocketFlow to Ambler TS

    2 projects | dev.to | 19 May 2026
  • Paperclip AI Review: I Tried to Build a Zero-Human Company in a Weekend [2026]

    1 project | dev.to | 19 Apr 2026
  • What Is Multi-Agent Orchestration? A Technical Guide for 2026

    3 projects | dev.to | 28 Mar 2026
  • Ask HN: When should you stop building an open-source AI agent framework?

    1 project | news.ycombinator.com | 5 Feb 2026
  • Show HN: Sovereign GraphGuard – Atomic Persistence for AutoGen Agents

    1 project | news.ycombinator.com | 14 Jan 2026
  • How to Actually Start Contributing to Open Source AI Projects (A Step-by-Step Guide)

    1 project | dev.to | 17 Dec 2025
  • Show HN: SyGra – Graph-oriented Synthetic data generation Pipeline for LLMs

    1 project | news.ycombinator.com | 23 Sep 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 autogen 58,700
2 PocketFlow-Tutorial-Codebase-Knowledge 12,377
3 PocketFlow 10,713
4 langroid 4,029
5 holmesgpt 2,577
6 LLMStack 2,301
7 contextgem 1,844
8 LLMCompiler 1,835
9 code-act 1,656
10 edsl 464
11 LLMtuner 248
12 spelltest 136
13 playbooks 90
14 DataJourney 89
15 SyGra 85
16 GoalChain 69
17 geniusrise 62
18 sql-sidekick 27
19 Kite 9
20 SynapseKit 8
21 geniusrise-prompt-actions 4
22 listeners 2
23 geniusrise-openai 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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