agentis: Instructions file for Codex

AGENTS.md

agentis AGENTS.md is an instructions file for Codex, OpenCode from agentis-labs/agentis. It costs 468 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for setting up Agentis, a system that coordinates AI agents. They document its command-line setup, API-key creation, agent roles, workspaces, and supported connections to coding tools.

In plain words
What is it for?
Use them to start Agentis, create an API key, bootstrap an agent, choose its role, select a workspace, and connect tools such as Codex or Claude Code.
Why use it?
They help an agent configure Agentis consistently and avoid creating more than one main coordinator for a workspace. They also keep connection secrets out of source files.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentis-labs/agentis/agents-md"><img src="https://agentmods.dev/badge/instructions/agentis-labs/agentis/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 468 This file is loaded in full into every session.
When invoked 468 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.00468 $0.00468
Opus 5.5 $0.00187 $0.00187
Sonnet 5.5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured 2mo ago against content hash 881ac93b9f11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentis 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 2mo 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 · 68 lines

What it actually says

Agentis - Agent Setup Instructions

This file is for AI agents configuring Agentis from inside this repository. If you are a human, start with README.md.

Quick start

Installed CLI:

agentis bootstrap --url http://127.0.0.1:3737 --api-key <key> --name "The Brain" --adapter claude_code

Repo-local CLI:

pnpm exec tsx packages/cli/src/index.ts bootstrap --url http://127.0.0.1:3737 --api-key <key> --name "The Brain" --adapter claude_code

Get an API key

  1. Start Agentis: pnpm exec tsx packages/cli/src/index.ts up
  2. Open the URL printed by the server.
  3. Sign in as the operator user.
  4. Create an API key in Settings.

Bootstrap rules

  • Check for an existing orchestrator first with GET /v1/agents?role=orchestrator.
  • Only one orchestrator should exist per workspace.
  • If an orchestrator already exists, bootstrap as --role manager or --role specialist instead.
  • The CLI resolves the first available workspace automatically unless --workspace-id is provided.
  • Valid adapter values are claude_code, codex, hermes_agent, openclaw, cursor, and http.
  • Pass channel secrets through environment variables, never hardcode them.

Reflect an existing setup

Generate a portable config:

agentis bootstrap generate-config --from claude_code --output ./agentis-config.json
agentis export-config --from codex --output ./agentis-config.json

Import that config into Agentis:

agentis bootstrap --url http://127.0.0.1:3737 --api-key <key> --import ./agentis-config.json

API

Direct bootstrap:

POST /v1/bootstrap
Authorization: Bearer <key>
x-agentis-workspace: <workspace-id>

Config import:

POST /v1/bootstrap/import
Authorization: Bearer <key>
x-agentis-workspace: <workspace-id>
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. 2mo ago First seen · 68 lines · 468 tokens per session scan A 881ac93b9f11

Subscribe to this mod's changes

agentis AGENTS.md is an instructions file published in the GitHub repository agentis-labs/agentis (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 468 tokens to every session, about $0.0019 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-31.

Related

agentis AGENTS.md compared with instructions from other repositories

agentis AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentis AGENTS.mdagentis-labs/agentisInstructions file51mo agoApache-2.0A468Codex, 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