synth-ai: Instructions file for Codex

AGENTS.md

synth-ai AGENTS.md is an instructions file for Codex, OpenCode from synth-laboratories/synth-ai. It costs 412 tokens per session, scanned A, original, MIT.

A set of instructions for Synth AI, a Python package and research software project. It explains which package owns the research software, how compatibility with older imports is maintained and what checks are required before a release.

In plain words
What is it for?
Use it when changing the research SDK, backend integrations, public Python interfaces, package releases or launch checks.
Why use it?
It prevents duplicated implementations and unreleased or untested code from being presented as ready for customers.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is synth-laboratories/synth-ai's own configuration. It tells Codex and OpenCode how to work on synth-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything synth-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to synth-laboratories/synth-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/synth-laboratories/synth-ai/dev/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/synth-laboratories/synth-ai

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for synth-ai AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/synth-laboratories/synth-ai/agents-md/github.svg)](https://agentmods.dev/instructions/synth-laboratories/synth-ai/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/synth-laboratories/synth-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/synth-laboratories/synth-ai/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for synth-ai AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/synth-laboratories/synth-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/synth-laboratories/synth-ai/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 412 This file is loaded in full into every session.
When invoked 412 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00412 $0.00412
Opus 5.5 $0.00165 $0.00165
Sonnet 5.5 $0.00082 $0.00082
Haiku 4.5 $0.00041 $0.00041

Measured 4d ago against content hash 768969fe76ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

synth-ai AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 20 lines

What it actually says

synth-ai agent notes

Public Python SDK, CLI, and MCP client for Synth Swarms (synth_ai/).

Layout

  • synth_ai/ — typed async/sync SDK clients, CLI (cli.py), MCP server (mcp/server.py), and generated OpenAPI contract/file-limit modules (_generated/).
  • contracts/ — pinned OpenAPI schema (synth-v1.openapi.yaml), mcp-tools.json, file-limits.json, and source pin manifests (SOURCE.toml, FILE_LIMITS_SOURCE.toml).
  • scripts/ — codegen and static contract parity/boundary gates (gen_contract.py, gen_sync.py, gen_file_limits.py, check_surface_parity.py, lint_standards.py, check_package.py).
  • tests/ & typing_tests/ — hermetic unit/contract tests and ty acceptance tests.

Developer Contract & Quality Gates

  • make fmt — format Python sources (ruff format) across synth_ai, scripts, tests, examples, and typing_tests.
  • make check — run staged secret hygiene (gitleaks when staged), ruff check, ruff format --check, Astral ty check, scripts/lint_standards.py, scripts/check_type_contracts.py, and synth-landmines check (<15s).
  • make test — run hermetic unit tests (pytest -q tests).
  • make clean — remove local .pytest_cache, .pytest_tmp, .ruff_cache, and dist scratch.
  • Do not hand-edit synth_ai/_generated/* or synth_ai/_sync.py; regenerate via scripts/gen_contract.py / scripts/gen_sync.py and verify with --check.
  • Commit subjects and pushes include [skip ci] except on release tag pushes (v*).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · -106 lines · -1,143 tokens per session 768969fe76ce
  2. 1mo ago Changed · -3 tokens per session cb42fd0641c3
  3. 1mo ago Changed e0bb48267eea
  4. 3mo ago First seen · 126 lines · 1,558 tokens per session scan A 5f3c4e6f9fa6

Subscribe to this mod's changes

synth-ai AGENTS.md is an instructions file published in the GitHub repository synth-laboratories/synth-ai (81 stars, last pushed today), licensed MIT. It adds 412 tokens to every session, about $0.0016 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

synth-ai AGENTS.md compared with instructions from other repositories

synth-ai AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
synth-ai AGENTS.mdsynth-laboratories/synth-aiInstructions file81todayMITA412Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode