HyperAgents  by facebookresearch

Self-improving agents for optimizing computable tasks

Created 1 week ago

New!

880 stars

Top 40.8% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

HyperAgents introduces a framework for self-referential, self-improving AI agents designed to optimize any computable task. It targets researchers and developers seeking advanced autonomous systems capable of iterative refinement and task optimization. The core benefit lies in enabling agents to autonomously enhance their performance and problem-solving capabilities across diverse domains.

How It Works

The project implements a meta-agent and task-agent architecture, facilitating self-referential improvement. Agents are designed to introspect, learn, and modify their own processes or strategies to achieve optimal outcomes for defined computable tasks. This approach aims for emergent intelligence and adaptive performance without explicit human intervention for each optimization step.

Quick Start & Requirements

  • Installation: Requires Python 3.12 and development headers. System dependencies include graphviz, cmake, ninja-build, and development libraries for bzip2, zlib, ncurses, and libffi. A virtual environment (venv_nat) is recommended, followed by pip install -r requirements.txt and pip install -r requirements_dev.txt.
  • API Keys: Essential API keys for OpenAI, Anthropic, and Gemini must be configured in a .env file.
  • Docker: A Docker container can be built using docker build --network=host -t hyperagents ..
  • Setup: Initial agents are set up via ./setup_initial.sh.
  • Execution: Run experiments using python generate_loop.py --domains.
  • Outputs & Logs: Results are saved in outputs/. Experiment logs are multi-part ZIP archives requiring specific extraction (zip -s 0 outputs_os_parts.zip --out unsplit_logs.zip).

Highlighted Details

  • Features "self-referential self-improving agents" capable of optimizing any computable task.
  • Involves the execution of untrusted, model-generated code, presenting inherent safety considerations.
  • Supports Docker for containerized deployment.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), or roadmap were provided in the README.

Licensing & Compatibility

The README does not specify a software license. Users should verify licensing terms before integration, especially for commercial or closed-source applications.

Limitations & Caveats

A significant caveat is the execution of untrusted, model-generated code. While unlikely to be overtly malicious under current settings, this code may behave destructively due to model limitations or alignment issues. Users acknowledge and accept these risks upon using the repository.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
12
Issues (30d)
0
Star History
915 stars in the last 7 days

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of "Artificial Intelligence: A Modern Approach"; Research Director at Google), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
3 more.

dgm by jennyzzt

2.2%
2k
Self-improving agent system
Created 10 months ago
Updated 7 months ago
Feedback? Help us improve.