Skip to content
Agentmart
Submit a tool

AGENTS.md · OpenRLHF/OpenRLHF

AGENTS.md from OpenRLHF/OpenRLHF: 32 lines covering Code standards (hard rules, not preferences), Comments, Workflow.

Template by OpenRLHF

IndexedApache-2.0★ 10,115
Write a review

Chalk Labs

Need help deploying AGENTS.md · OpenRLHF/OpenRLHF?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/OpenRLHF/OpenRLHF/main/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that OpenRLHF/OpenRLHF (10,115 stars) keeps for coding agents. It has 32 lines in 3 sections: Code standards (hard rules, not preferences); Comments; Workflow. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
32 lines
File
AGENTS.md

Sections

  1. Code standards (hard rules, not preferences)
  2. Comments
  3. Workflow

First lines (shown under the repo's Apache-2.0 license)

# OpenRLHF — working rules for AI assistants

## Code standards (hard rules, not preferences)

The priority order is explicit: **human readability comes first; coding-agent
traceability is the minimum gate.** A human should understand code in one pass,
and an agent must be able to trace a feature from CLI flag to executed branch,
tensor/record, metric, and test without reconstructing hidden control flow.

1. Over-complex or hard-to-follow code is a **bug**, not a style issue.
2. Reduce complexity and line count — prefer deleting code over adding it.
3. No over-encapsulation: a helper needs 3+ real call sites AND nontrivial
   logic; never wrap trivial code or add classes/files for one call site.
4. Do NOT remove features, performance knobs, or observability in the name
   of simplicity — knobs default ON stay ON.
5. A "bug" that cannot trigger under the shipped recipes is not worth fixing.

Details: `.claude/skills/simplicity-first` (invoke before any code change).

## Comments

Concise "why" only, 2-4 lines, written for an external reader: no job ids,
commit hashes, single-run metrics, or internal cluster paths; keep upstream
issue/PR links.

## Workflow

- Reviews report findings only; fixes ship as one minimal diff per issue
  after approval.
- Verify with `python -m compileall -q openrlhf examples tests` and
  `python -m pytest -q`; shell scripts with `bash -n`.

Signals

Stars
10,115
Forks
1,052
Open issues
310
Last commit (this folder)
Aug 13, 2026 (2 months ago)
Last release
Sep 14, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get AGENTS.md · OpenRLHF/OpenRLHF running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying AGENTS.md · OpenRLHF/OpenRLHF?

CallGet help
Cite this page

AGENTS.md · OpenRLHF/OpenRLHF. Agent Mart. https://agentmart.dev/templates/openrlhf-openrlhf-agents-md (last updated 2026-10-24)