AgentTeams: Instructions file for Codex

AGENTS.md

AgentTeams AGENTS.md is an instructions file for Codex, OpenCode from agentscope-ai/AgentTeams. It costs 4,279 tokens per session, scanned A, original, Apache-2.0.

Codebase instructions for AgentTeams, an open-source system where AI worker agents collaborate through chat infrastructure with human oversight. They explain the manager, workers, deployment components, and repository layout.

In plain words
What is it for?
Use them when working on manager or worker agents, the Kubernetes operator, Helm deployment files, the Python package, or local Docker Compose setup.
Why use it?
They make the system’s multiple services and deployment paths easier to navigate, reducing changes in the wrong component.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; built for openclaw.

This is agentscope-ai/AgentTeams's own configuration. It tells Codex and OpenCode how to work on AgentTeams 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 AgentTeams configures →

About the project

AgentTeams is a runtime platform where multiple AI agents collaborate in shared Matrix rooms under the coordination of a manager. It is for human-supervised or enterprise workflows that need visible, auditable cooperation among agents running on different runtimes, with shared files and centralized traffic management.

agentscope-ai/AgentTeams · 5,941 stars · on GitHub · aliyun.com

Reuse

Borrowing it

Nothing to install: this file belongs to agentscope-ai/AgentTeams. 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/agentscope-ai/AgentTeams/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/agentscope-ai/AgentTeams

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 AgentTeams AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agentscope-ai/agentteams/agents-md/github.svg)](https://agentmods.dev/instructions/agentscope-ai/agentteams/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/agentscope-ai/agentteams/agents-md"><img src="https://agentmods.dev/badge/instructions/agentscope-ai/agentteams/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 AgentTeams AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentscope-ai/agentteams/agents-md"><img src="https://agentmods.dev/badge/instructions/agentscope-ai/agentteams/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,279 This file is loaded in full into every session.
When invoked 4,279 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.04279 $0.04279
Opus 5.5 $0.01712 $0.01712
Sonnet 5.5 $0.00856 $0.00856
Haiku 4.5 $0.00428 $0.00428

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

Security

Grade A, and why

AgentTeams 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 29d 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 · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AgentTeams Codebase Navigation Guide

This file helps AI Agents (and human developers) quickly understand the project structure and find relevant code.

What is AgentTeams

AgentTeams is an open-source Agent Teams system that uses IM (Matrix protocol) for multi-Agent collaboration with human-in-the-loop oversight. It consists of a Manager Agent (coordinator) and Worker Agents (task executors), connected via an AI Gateway (Higress), Matrix Homeserver (Tuwunel), and HTTP file storage (MinIO or cloud OSS). Production-style deployments use the Kubernetes operator and Helm chart; local installs use Docker Compose scripts under install/.

Project Structure

AgentTeams/
├── agentteams-controller/   # Kubernetes operator (Go): reconciles Worker, Manager, Team, Human CRDs
├── helm/                # Helm chart (K8s): Higress, Tuwunel, MinIO, controller, Manager CR, defaults
├── manager/             # Manager images: OpenClaw-based (Dockerfile) and QwenPaw-based (Dockerfile.qwenpaw)
├── worker/              # OpenClaw Worker image (shared base pattern; runtime also selected at deploy time)
├── hermes/              # Hermes Python package source (Hermes Matrix worker runtime)
├── deepseek-harness/    # Experimental headless DeepSeek Harness Worker image and Matrix bridge
├── openhuman/           # OpenHuman Worker image: Rust core + native Matrix (channel-matrix feature)
├── openclaw-base/       # Base image: Ubuntu + Node.js + bundled agent assets + mcporter
├── shared/lib/          # Shared shell libs copied into images (agentteams-env.sh, render-skills.sh, …)
├── install/             # Local install scripts (Docker Compose / embedded “all-in-one” stack)
├── scripts/             # Project-level utilities (e.g. replay-task.sh)
├── tests/               # Automated integration tests
├── docs/                # User-facing documentation
├── design/              # Internal design notes and API specs
├── changelog/           # Archived release notes from earlier releases
├── hack/                # Maintenance helpers (e.g. image mirror scripts)
├── migrate/             # Optional migration helpers
├── blog/                # Announcement / blog source
└── .github/workflows/   # CI: build images, tests, release automation

Read the full file on GitHub · 273 lines

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. 29d ago Changed · -8 lines · -147 tokens per session c8d0dca5d776
  2. 2mo ago Changed · +8 lines · +163 tokens per session 0e6731f8e3f2
  3. 2mo ago First seen · 273 lines · 4,263 tokens per session scan A ceec080a70e1

Subscribe to this mod's changes

AgentTeams AGENTS.md is an instructions file published in the GitHub repository agentscope-ai/AgentTeams (5,941 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,279 tokens to every session, about $0.0171 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

AgentTeams AGENTS.md compared with instructions from other repositories

AgentTeams AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgentTeams AGENTS.mdagentscope-ai/AgentTeamsInstructions file5.9kyesterdayApache-2.0A4,279Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode