agentleFS
trinity-ai-labstrinity-ai-labs/agentic-behaviour-lab/AGENTS.md

agentic-behaviour-lab

AGENTS.md0 starsChanged 5 months agoMITView on GitHub

Working notes for AI agents (and humans) contributing to this repo. An open-source local-first web app + research corpus for measuring AI coding-agent behaviour. Users (and agents, via MCP) define scenarios, run trial fleets against models, and compare results in a dashboard. Read docs/VISION.md (why), docs/ARCHITECTURE.md (design decisions), docs/scenario-families.md (what gets tested). Experiment write-ups and raw run artifacts live under experiments/. - packages/engine — Effect-TS core: schemas (THE data contract: src/schema.ts), artifact store, scenario loader, trial runner, SQLite index. Everything…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 1 is common, 1 is distinctive, and 1 is very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Public repo: No secrets or tokens (run logs can capture them — redact), no private internals from other projects — that includes internal …

    line 35
  2. Very specific:

    Solo, local-first tool: No accounts, no auth, no team/collaboration/ multiplayer features — no shared sessions, no live presence, no …

    line 38
  3. Distinctive:

    No AI attribution on commits or PRs.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — agentic-behaviour-lab

Working notes for AI agents (and humans) contributing to this repo.

What this is

An open-source local-first web app + research corpus for measuring AI coding-agent behaviour. Users (and agents, via MCP) define scenarios, run trial fleets against models, and compare results in a dashboard. Read docs/VISION.md (why), docs/ARCHITECTURE.md (design decisions), docs/scenario-families.md (what gets tested). Experiment write-ups and raw run artifacts live under experiments/.

Structure

  • packages/engine — Effect-TS core: schemas (THE data contract: src/schema.ts), artifact store, scenario loader, trial runner, SQLite index. Everything else builds on this.
  • packages/mcp — stdio MCP server exposing the lab to agents (list scenarios, run trials, fetch results).
  • packages/server — HTTP API serving the dashboard (planned).
  • packages/web — SolidJS dashboard (planned).
  • experiments/ — research corpus: designs, probes, raw runs, findings.
  • scripts/ — gate queue tooling (enqueue/runner/slot), shared with the /orchestrate workflow.

Hard rules

  • Flat files are truth. trial.json + artifacts on disk are the source of truth; SQLite and UI state are derived, rebuildable indexes. Never invert.
  • The contract is packages/engine/src/schema.ts. Build against it; propose changes explicitly in PRs, never drift it silently.
  • Every trial carries its environment fingerprint (model, harness, OS, scenario + grader versions). Unfingerprinted records are worthless.
  • Public repo. No secrets or tokens (run logs can capture them — redact), no private internals from other projects — that includes internal roadmap or phase references in code comments ported from elsewhere. MIT.
  • Solo, local-first tool. No accounts, no auth, no team/collaboration/ multiplayer features — no shared sessions, no live presence, no multi-user chat. Sharing happens through committed artifacts. Never port session/collab infrastructure from other projects; the server binds 127.0.0.1.
  • Statistical honesty. Stochastic claims state their N; "inconclusive" is a first-class verdict; mechanical graders before LLM judges.
  • Forward-only pre-launch: no migration/backfill/compat shims.
  • Comments explain the mechanism, not plans/versions/PRs.
  • No AI attribution on commits or PRs.

Stack

  • Backend: TypeScript, Effect v3 (effect, @effect/platform) — invoke the effect-v3 skill before writing Effect code.
  • Full Effect, no parallel schema vocabularies. Effect Schema is the only validation/serialization library; typed failures are Data.TaggedError (or Schema.TaggedError on the wire) — never string-matched errors. Where a third-party SDK demands its own schema format (e.g. MCP), GENERATE it from the Effect contract (JSONSchema.make) rather than hand-writing a mirror, and keep the Effect schema as the authoritative re-decode.
  • Frontend: SolidJS — invoke the solid skill before writing UI code.
  • Node >= 20, pnpm workspace. Strict TS (tsconfig.base.json).

Checks & workflow

  • pnpm check — cheap scoped check (typecheck/lint per package); the pre-commit hook enforces it on every agent commit.
  • pnpm gate — heavy full gate (build + check + test); run by the gate-queue runner, not by implementers.
  • Work flows through worktrees + draft PRs + the durable gate queue — see the /orchestrate skill; this repo is configured for it (~/.worktrees/config/agentic-behaviour-lab.sh).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.