Human-Agent-Society/reef

Infrastructure for continually self‑improving agents

What it solves

Reef provides infrastructure to automate the continuous improvement of AI agents. Instead of static deployments, it creates a feedback loop where agents learn from their own interactions, allowing them to refine their performance over time without manual intervention.

How it works

Reef operates through a four-step cycle:

  1. Serve: It hosts the agent and records all interactions.
  2. Observe: It collects feedback (such as scores or corrections) and links it to specific agent responses.
  3. Grow: It uses "recipes" to process this feedback and generate updates, either by training new model weights or refining the agent's "harness" (prompts, rules, and skills).
  4. Commit: It evaluates these updates and publishes them to a versioned history, allowing the agent to improve while staying live.

Who it’s for

This project is for developers and researchers building autonomous agents who want to implement self-improving capabilities. It is particularly useful for those working on scientific discovery, task-stream learning, or agents that need to adapt based on real-world usage feedback.

Highlights

  • Dual-Surface Evolution: Supports both model weight training (using GPU stacks) and harness optimization (using model APIs).
  • Version Management: Automatically tracks and manages versions of agent updates, ensuring stability during the learning process.
  • OpenAI-Compatible: Provides an inference endpoint that is compatible with standard OpenAI and Anthropic API formats.
  • Recipe-Driven: Includes a catalog of pre-built recipes for different tasks, such as scientific discovery and continual learning.

Written about in

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project