DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to serve a model behind an API that records every interaction with Reef

Run Reef as an inference server that accepts OpenAI- and Anthropic-style requests.

Short answer: Install with uv venv && source .venv/bin/activate then uv pip install reef-infra; then start the server with uv run reef serve --inference.model-path Qwen/Qwen2.5-1.5B-Instruct; send a request to /v1/chat/completions with an x-reef-scenario header and read the x-reef-agent-record-id response header. All steps.

Authorization notice. Reef is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer who wants a single endpoint for agent traffic that keeps interaction records for later learning.

The problemAgent requests go straight to a model server, so no record exists that feedback could later attach to.

The outcomeA local endpoint that answers provider-compatible requests and returns a receipt header for each interaction.

What you need first

  • 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

Steps

  1. Install with uv venv && source .venv/bin/activate then uv pip install reef-infra.
  2. Start the server with uv run reef serve --inference.model-path Qwen/Qwen2.5-1.5B-Instruct.
  3. Send a request to /v1/chat/completions with an x-reef-scenario header and read the x-reef-agent-record-id response header.
  4. Report feedback to /reef/report with the receipt in the references list.

Prompt for your agent

Using the Human-Agent-Society/reef repo, start Reef as an inference server for the model <model path>, send one chat completion request, and print the x-reef-agent-record-id header. Expected output: a response body in OpenAI format and a non-empty receipt.

Caveat. The README gives this pure inference server as a minimal example, and the feedback and learning steps only run once a recipe is configured.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Human-Agent-Society/reef and "Serve a model behind an API that records every interaction"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer