facebookresearch/HyperAgents
facebookresearch/HyperAgents has 2,872 GitHub stars and 373 forks. GitHot measured +2 stars in 24 hours. Last checked 2026-11-07 19:39 UTC. Last push 2026-07-31.
Self-referential self-improving agents that can optimize for any computable task
Measured star growth
- in 24h
- +2
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSetup
# API keys, put these into .env file
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...
GEMINI_API_KEY=...
# Install things
sudo dnf install -y python3.12-devel
sudo dnf install -y graphviz graphviz-devel cmake ninja-build bzip2-devel zlib-devel ncurses-devel libffi-devel
# Create virtual environment
python3.12 -m venv venv_nat
source venv_nat/bin/activate
pip install -r requirements.txt
pip install -r requirements_dev.txt
# To build the docker container
docker build --network=host -t hyperagents .
# Setup initial agents
bash ./setup_initial.sh
Running HyperAgents
# See the script for args, and baseline selections
python generate_loop.py --domains <domain>
By default, outputs will be saved in outputs/ directory.
File Structure
agent/code for using foundation modelsanalysis/scripts used for plotting and analysisdomains/code for each domainutils/common code used in the reporun_meta_agent.pyscript to help run the meta agent and get the diffsmeta_agent.pymain implementation of the meta agenttask_agent.pymain implementation of the task agentgenerate_loop.pyentry point for running the algorithm
Logs from Experiments
The experiment logs can be downloaded here: https://drive.google.com/drive/folders/164fKQWgLM18foOzSnpv0F_I3TNpX8u8-?usp=sharing
Safety Consideration
[!WARNING]
This repository involves executing untrusted, model-generated code. We strongly advise users to be aware of the associated safety risks. While it is highly unlikely that such code will perform overtly malicious actions under our current settings and with the models we use, it may still behave destructively due to limitations in model capability or alignment. By using this repository, you acknowledge and accept these risks.
Citing
If you find this project useful, please consider citing:
@misc{zhang2026hyperagents,
title={Hyperagents},
author={Jenny Zhang and Bingchen Zhao and Wannan Yang and Jakob Foerster and Jeff Clune and Minqi Jiang and Sam Devlin and Tatiana Shavrina},
year={2026},
eprint={2603.19461},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2603.19461},
}
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,941 starspublic-apis/public-apis
A collective list of free APIs
497,202 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
442,610 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,181 stars