agentleFS
ThinkFlowLabThinkFlowLab/system1-agents/docs/agents.md

system1-agents

AGENTS.md114 starsChanged 57 days agoApache-2.0View on GitHub

Four kinds of agent share the loop, the models and the job folders: browser use over @playwright/mcp, computer use over Cua Driver, games and embodied text, and rails that answer one question at a hook of a running agent. The injection guard rail fails closed: a decision error quarantines the tool result too. Every tool agent takes --model jev|laya|cua|llm|random|rule, --rethink on|off, --episodes N, --seed S, --max-steps and --timeout, and writes a Harbor-shaped job folder under evals/results/<agent>/. A browser agent takes…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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 repository3 other files it gives its agents.

The file

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

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every tool agent takes --model jev|laya|cua|llm|random|rule, --rethink on|off, --episodes N, --seed S, --max-steps and --timeout, and …

    line 19
  2. Very specific:

    Every run prints one JSON object on stdout and nothing else there.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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: what each one measures and how to run it

Four kinds of agent share the loop, the models and the job folders: browser use over @playwright/mcp, computer use over Cua Driver, games and embodied text, and rails that answer one question at a hook of a running agent. The injection guard rail fails closed: a decision error quarantines the tool result too.

agentfrontwhat it measuresrun
allrecipesbrowserbrowser use against the chat model: WebVoyager task Allrecipes--0, a vegetarian lasagna with over 100 reviews, 4.5 stars or more, for 6s1a run allrecipes --model jev --batch on --headed
flightsbrowserbrowser use: wall clock on a Google Flights searchs1a run flights --model jev --batch on --profile-out run.json
desktoptoolcomputer use: clicks toward --goal until the window shows --expect; the Calculator on macOS or Windows is the examples1a run desktop --app Calculator --goal "compute 12 times 7" --expect 84 --execute --clear "All Clear" --model jev --rethink off --episodes 1
ticket_routertoolcorrect routes on a seeded batch of 30 labelled tickets, five queuess1a run ticket_router --model jev --rethink off --episodes 1
alfworldtoolsuccess on unseen household tasks in texts1a run alfworld --model jev --rethink on --episodes 12 --stride 11
game2048toolscore and largest tile at a move caps1a run game2048 --model jev --rethink on --episodes 10
millionairetoolwinnings on a 15-question quiz ladders1a run millionaire --model jev --rethink off --episodes 5
blackjacktoolpayoff per hand (RLCard)s1a run blackjack --model jev --rethink off --episodes 100
injection_guardrailprecision and recall on a labelled injection sets1a run injection_guard

Every tool agent takes --model jev|laya|cua|llm|random|rule, --rethink on|off, --episodes N, --seed S, --max-steps and --timeout, and writes a Harbor-shaped job folder under evals/results/<agent>/. A browser agent takes --model jev|laya|cua|llm and --goal. A rail takes --model jev|laya, the two models that answer noul. uv run python -m evals.table evals/results aggregates every job folder per eval and model into one table.

Every run prints one JSON object on stdout and nothing else there; s1a-mcp serves the same agents over stdio with list_agents, run_agent and decide. Flags, exit codes and the job-folder layout: architecture.md. The extras each agent needs and the keys: CONTRIBUTING.md. The --model values and the models behind them: architecture.md.

Agent-specific flags

s1a run <agent> --help lists every flag with its default. Beyond the shared ones: flights and allrecipes take --goal, --batch on|off, --prefetch on|off, --goal-values on|off, --profile-out and --logs-dir; desktop takes --app, --goal, --expect, --execute, --plan and --clear; ticket_router takes --dataset and --batch-size; injection_guard takes --labelled-set. The four games take no flag of their own.

Allrecipes

allrecipes is the first Allrecipes task of the WebVoyager task set (He et al., 2024, Apache License 2.0, attribution in NOTICE), verbatim: find a vegetarian lasagna with more than 100 reviews, a rating of at least 4.5 stars, suitable for 6 people, and answer in text. The run is headed because the site answers a headless Chromium with a bot wall. scripts/browser_showcase.sh allrecipes 2 runs both models twice with a frame after every browser call and renders the pair GIFs from the median run of each model; the numbers and the replay are in benchmarks.md.

The ticket router

ticket_router routes locally labelled tickets to five queues: logistics, payment, returns, account and human. The shipped set is 30 tickets in s1a/agents/_data/ticket_router_eval.jsonl, each with a title, a description and an order status; the label is read by the scorer alone. --dataset points the agent at a JSONL of your own with the same fields, and --batch-size caps the tickets per episode. The rules text the model reads is RULES in s1a/agents/ticket_router.py.

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.