{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "human-agent-society-reef--let-agent-harness-self-improve",
 "repo": "Human-Agent-Society/reef",
 "repo_url": "https://github.com/Human-Agent-Society/reef",
 "repo_slug": "human-agent-society-reef",
 "title": "Let your coding agent harness improve itself from requests",
 "page_title": "How to let your coding agent harness improve itself from requests with Reef",
 "summary": "Run Reefine against a local model endpoint, then ask in plain language for harness changes.",
 "who": "A developer who runs a coding agent day to day and wants its prompts, rules, and skills to get better without training any model.",
 "problem": "Agent instructions and skills stay static, so the same corrections are repeated in every session.",
 "outcome": "A versioned harness that reflects your requests, installed in a separate directory and ready to review or roll back.",
 "steps": [
  "Install the package with `uv pip install reef-infra` inside an activated virtual environment.",
  "Start the harness recipe with `reef serve --recipe reefine --inference.upstream-url http://127.0.0.1:11434 --inference.upstream-model gemma4:26b`. (inferred, check the README)",
  "Create a scenario with `curl -fsS -H \"Content-Type: application/json\" -d '{\"name\": \"my-harness\"}' http://127.0.0.1:8901/reef/scenarios`. (inferred, check the README)",
  "Install the harness with `curl -fsS -H \"x-reef-scenario: my-harness\" 'http://127.0.0.1:8901/reef/harness/install?adapter=pi' | bash`, after checking the script contents. (inferred, check the README)",
  "Ask for a change with `reef-pi evolve \"when I ask you to fix a bug, reproduce it with a failing test first\"`.",
  "Review versions with `/versions` inside a reef-pi session and install one with `/versions   install`."
 ],
 "agent_prompt": "Using the Human-Agent-Society/reef repo, set up the Reefine harness recipe against the local model endpoint at <model endpoint URL> and install a scenario named <scenario name>. Report the output of reef-pi evolve and confirm the install root is outside the project directory.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says the install root must stay outside the project the agent works in, because a session could otherwise change what the next session runs.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python with uv installed",
  "git-lfs system package for artifact and checkpoint features",
  "A model endpoint, such as a local Ollama server, for harness work",
  "A CUDA GPU stack that meets the Evolve your model requirements, for weight training"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The documented install pipes a script from the local Reef server into bash, so read the script before running it and keep the install root outside your working project."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/human-agent-society-reef/let-agent-harness-self-improve/",
 "md": "https://dedupedai.com/use-cases/human-agent-society-reef/let-agent-harness-self-improve/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/human-agent-society-reef--let-agent-harness-self-improve.json",
 "api_version": "v1"
}
