AgentTeams AGENTS.md

AgentTeams AGENTS.md is an instructions file for Codex, OpenCode from agentscope-ai/AgentTeams. It costs 4,263 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/agentscope-ai/agentteams/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,263 This file is loaded in full into every session.
When invoked 4,263 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.04263 $0.04263
Opus 5 $0.02132 $0.02132
Sonnet 5 $0.00853 $0.00853
Haiku 4.5 $0.00426 $0.00426

Measured 4d ago against content hash ceec080a70e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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 · 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 CoPaw-based (Dockerfile.qwenpaw)
├── worker/              # OpenClaw Worker image (shared base pattern; runtime also selected at deploy time)
├── copaw/               # CoPaw Python package source (published as e.g. copaw-worker on PyPI)
├── hermes/              # Hermes Python package source (Hermes Matrix worker runtime)
├── 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. 4d 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,552 stars, last pushed 2d ago), licensed Apache-2.0. It adds 4,263 tokens to every session, about $0.0213 per session on Opus 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.