GitHub repo

metauto-ai/GPTSwarm

Python Tracked since 2024-02-26 Updated 2026-07-16 View source ↗

#569 of 783 by Stars among GitHub repos

1.0k Stars

🐝 The First Self-Improving agents with RL / Prompting Optimization

About

🐝 GPTSwarm is a graph-based framework for LLM-based agents, providing two high-level features:

At a granular level, GPTSwarm is a library that includes the following components:

Here is the edge optimization process that updates edge probabilities toward improvement of the benchmark score. Notice that within an agent, the edges are fixed, whereas the inter-agent connections are getting optimized towards either edge pruning (value 0, blue) or creation (value 1, red).

You should add API keys in .env.template and change its name to .env

The system will automatically select the appropriate search engine based on the following priority:

Getting started with GPTSwarm is easy. Quickly run a…

Excerpted from github.com/metauto-ai/GPTSwarm

Latest metrics

Stars 1.0k 2026-07-16
Forks 103 2026-07-16
Commits 70 2026-07-16
Releases 0 2026-07-16
Watchers 7 2026-07-16
Open issues 0 2026-07-16
Open PRs 1 2026-07-16