#237237th of 242 in Agent frameworks and SDKs
gptswarm
Python library that builds LLM agents as graphs and optimizes their connections
Watch puts gptswarm on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.gptswarm is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- MIT
- Last commit
- Feb 2026
- Language
- Python
980 on 8 May 20261,074 on 27 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
GPTSwarm is a Python library from an ICML 2024 paper (Language Agents as Optimizable Graphs). Agents are graph nodes, and an optimizer updates inter-agent edge probabilities against a benchmark score, pruning or creating connections. It has modules for environments, graphs, LLM backends with cost tracking, index-based memory and optimizers, and installs via pip or poetry.
Who it is for: Researchers and developers experimenting with multi-agent graphs in Python
Strengths
- Edge optimization prunes or creates inter-agent connections against a benchmark score
- Backed by a peer-reviewed ICML 2024 paper, with an experiments directory
- Colab notebooks cover a minimal swarm and a custom agent
- Local inference through LM Studio via model_name='lmstudio'
Weaknesses
- No tagged releases, although pip install gptswarm is documented
- README names OpenAI as the only hosted LLM backend
- Local models need the LM Studio desktop app (Mac or Windows)
- Web search tools need a separate Bing, Google or SearchAPI key
What it needs
- Needs OpenAI API key, Bing, Google or SearchAPI key (web search), LM Studio (optional, local models), Poetry, Python 3.10
- Models: OpenAI, LM Studio (local models)
Also in Agent frameworks and SDKs
See all 242| Rank | Project | Score |
|---|---|---|
| #235 | autopromptPrompt optimizer that tunes prompts against synthetic edge-case benchmarks | 12 out of 100 |
| #236 | kg-genPython library that extracts knowledge graphs from text or chats using LLMs | 11 out of 100 |
| #238 | webarenaSelf-hostable web environment and benchmark for evaluating browser-based agents | 6 out of 100 |
| #239 | webthinkerDeep research agent where a reasoning model searches, browses and drafts reports | 6 out of 100 |
| #240 | fastagencyDeploys AG2 multi-agent workflows as Mesop web apps, FastAPI services or NATS workers | 6 out of 100 |