HyperAgentsHyperAgents
Home
Guide
Examples
GitHub
Home
Guide
Examples
GitHub
  • Guide

    • Introduction
    • Quick start
    • Basic concepts
    • Architecture
    • Limitations

Quick start

Prerequisites

  • Node.js 18+
  • pnpm
  • An API key for your chosen model (e.g. OPENAI_API_KEY for OpenAI)

Use as a package

pnpm add @lablnet/hyperagents

Import agents, loop, domains, and utilities from @lablnet/hyperagents. See API reference.

Run from this repository

git clone https://github.com/Framework-Island/hyperagents.git
cd hyperagents
pnpm install
cp .env.example .env   # set OPENAI_API_KEY (and others if needed)

Scoring demo (recommended first run)

pnpm demo:scoring

Watch average score improve as the MetaAgent fixes prompt logic (e.g. math equivalence vs strict string match).

Other examples

CommandWhat it shows
pnpm example:bashBash command generation
pnpm demo:calculatorTool code fixed by evolution
pnpm example:paper-reviewAccept/reject style task
npx tsx examples/bash/run.ts evolveFull loop on bash domain
pnpm demo:git-evolutionGit-based patches, full loop

LLM providers (library)

import { createLLM } from "@lablnet/hyperagents";

createLLM({ model: "openai/gpt-4o" });
createLLM({ model: "anthropic/claude-sonnet-4-5-20250929" });
createLLM({ model: "gemini/gemini-2.5-pro" });
createLLM({ model: "ollama/llama3" });

Docker (optional)

From the repo root, build and run as in the main README: mount volumes for keys and outputs as needed.

Documentation site

cd docs_site
pnpm install
pnpm docs:dev

Then open the URL VuePress prints (usually http://localhost:8080).

Further reading

  • Concepts — archive, harness, parent selection, prompt files.
  • Limitations — cost, frozen model, framework boundaries.
Prev
Introduction
Next
Basic concepts