LangBot: Instructions file for Codex

AGENTS.md

LangBot AGENTS.md is an instructions file for Codex, OpenCode from langbot-app/LangBot. It costs 2,960 tokens per session, scanned A, original, Apache-2.0.

A set of repository instructions for developing LangBot, including its architecture, commands, tests, and links to the related SDK. LangBot is an application for building and running chat bots and agent integrations.

In plain words
What is it for?
It helps orient work in LangBot, choose focused tests, run the backend and web frontend, and handle changes spanning plugins, runtimes, MCP, storage, or the SDK.
Why use it?
It gives the agent project-specific rules and facts before making changes, reducing the chance of using the wrong command, folder, or interface.

Instructions file for CodexOpenCode

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

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

About the project

LangBot is an open-source platform for connecting language models to instant-messaging services so developers can build chatbots that converse, use tools, and execute tasks. It supports bot management, knowledge bases, plugins, and multiple chat platforms, and the catalogue entries provide skills, MCP tools, and instructions for working with it.

langbot-app/LangBot · 18,745 stars · on GitHub · space.langbot.app

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/langbot-app/langbot/agents-md"><img src="https://agentmods.dev/badge/instructions/langbot-app/langbot/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,960 This file is loaded in full into every session.
When invoked 2,960 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.02960 $0.02960
Opus 5.5 $0.01184 $0.01184
Sonnet 5.5 $0.00592 $0.00592
Haiku 4.5 $0.00296 $0.00296

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

Security

Grade A, and why

LangBot 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 today.

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 · 144 lines

How it starts

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

AGENTS.md

This file guides code agents working in the LangBot main repository. CLAUDE.md is a symlink to this file; edit AGENTS.md.

Read ARCHITECTURE.md before non-trivial backend, frontend, runtime, plugin, Box, MCP, persistence, or cross-repo SDK changes. This file is the working checklist; ARCHITECTURE.md is the system map.

Repository Layout

This is a monorepo: Core, WebUI, public docs, official plugins and agent skills share one checkout but not one release.

Path Contents Notes
src/langbot/ Core backend (Quart, pkg/api, pkg/platform, pkg/pipeline, pkg/plugin, ...) Python >=3.11,<4.0, managed by uv.
web/ WebUI: Vite + React Router 7 + shadcn/ui + Tailwind pnpm; dev server 3000, backend 5300.
docs/ Public user/developer documentation, published at https://langbot.app/docs/ Fumapress, Node.js 24, zh/en/ja trees. Write for users and plugin authors; keep the three languages in step.
dev-docs/ Internal design notes, contracts, reviews and test reports for maintainers and agents Not published. architecture/ (Application API, i18n, ...), event-based-agents/ (standard events/platform APIs and per-adapter records), review/, OpenAPI snapshots.
plugins/ Official plugins (Runner/, KnowledgeEngine/, misc/), indexed by plugins/catalog.json Independent packages, CI and Marketplace releases; never bundled in Core artifacts. See plugins/AGENTS.md.
skills/ Agent skills (skills/skills/<name>/SKILL.md) and the lbs QA harness Single source of truth for LangBot agent skills. See skills/AGENTS.md.
tests/ Core unit, integration, e2e and manual tests
tools/ Regression harness, contracts, profiles and fixtures See tools/README.md.
scripts/ Maintenance scripts, including catalog export and SDK code generation
docker/, packaging/, examples/, res/ Deployment manifests, distro packages, integration examples, static resources

Read the full file on GitHub · 144 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. today Changed · +9 lines · +1,040 tokens per session aebd886eb147
  2. 8d ago Changed · +1 lines · +44 tokens per session a3a63d08eb0f
  3. 9d ago Changed · +1 lines · +41 tokens per session 4b516b5a5f99
  4. 14d ago Changed · +2 lines · +30 tokens per session b8c10dad4594
  5. 17d ago Changed · +1 lines · +77 tokens per session 63111099aff1
  6. 19d ago Changed · +1 lines · +41 tokens per session 4c182bd010ee
  7. 21d ago Changed · +11 lines · +425 tokens per session bdc4db8be4b8
  8. 1mo ago Changed · +2 lines · +69 tokens per session b75f7bf0fbfb
  9. 1mo ago Changed · +3 tokens per session ada0da8bef4a
  10. 2mo ago First seen · 116 lines · 1,190 tokens per session scan A 1ca60e8b5d6a

Subscribe to this mod's changes

LangBot AGENTS.md is an instructions file published in the GitHub repository langbot-app/LangBot (18,745 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,960 tokens to every session, about $0.0118 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

LangBot AGENTS.md compared with instructions from other repositories

LangBot AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
LangBot AGENTS.mdlangbot-app/LangBotInstructions file19kyesterdayApache-2.0A2,960Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode