openrouter-deep-research-mcp: Instructions file for Codex

AGENTS.md

openrouter-deep-research-mcp AGENTS.md is an instructions file for Codex, OpenCode from wheattoast11/openrouter-deep-research-mcp. It costs 1,709 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for the openrouter-deep-research-mcp project. It describes the project’s architecture, resilience measures, research setup, and common commands.

In plain words
What is it for?
Use it when working on that project, especially when installing it, starting its server, or handling its research and architecture conventions.
Why use it?
It gives coding agents repository-specific rules and operational context before they change or run the project.

Instructions file for CodexOpenCode

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

This is wheattoast11/openrouter-deep-research-mcp's own configuration. It tells Codex and OpenCode how to work on openrouter-deep-research-mcp 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 openrouter-deep-research-mcp configures →

Reuse

Borrowing it

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

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 openrouter-deep-research-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wheattoast11/openrouter-deep-research-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/wheattoast11/openrouter-deep-research-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,709 This file is loaded in full into every session.
When invoked 1,709 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.01709 $0.01709
Opus 5 $0.00855 $0.00855
Sonnet 5 $0.00342 $0.00342
Haiku 4.5 $0.00171 $0.00171

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

Security

Grade A, and why

openrouter-deep-research-mcp 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 10d 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 · 192 lines

How it starts

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

AGENTS.md

Last verified: 2026-01-20 (Grounding: 2026-01-20)

Isomorphic 5-Layer Architecture Alignment

Agent Zero now operates as the L5 Protocol Bridge for the terminals.tech ecosystem.

Layer Correspondence (AXON Architecture)

  • L1 (Core): Signal and Token now support shapeHash (deterministic structural fingerprints).
  • L2 (Machine): HVMClient provides symbolic steering via logit bias mapping.
  • L3 (Mesh): ResearchAgent emits isomorphic MeshEvent formatted tokens.
  • L4 (Brain): Research cycles use CognitiveContext primitives.
  • L5 (Protocol): MCP implementation serves as the bridge between terminals.tech and external models.

Resilience & Production Status

  • Node 25 Auto-Heal: dbClient.js automatically enables "Resilient In-Memory Mode" on Node 25/macOS to prevent WASM mutex crashes.
  • Isomorphic Reduction: All signals are now reduced to deterministic hashes for structural integrity verification.
  • High-Fidelity Ensemble: HYPER_MODE enabled with ENSEMBLE_SIZE=3 for high-fidelity technical research.

Quick Commands

Install:

  • npm install

Run server (STDIO default for MCP clients):

  • npm start
  • npm run stdio

Dev (watch):

  • npm run dev

Tests (unit + auth + config):

  • npm test

Single test (direct node entrypoints):

  • node tests/unit/core.test.js
  • node tests/unit/config.test.js
  • node tests/unit/auth.test.js
  • node tests/integration/orchestration/mic-drop.test.js
  • DRY_RUN=true node tests/integration/orchestration/mic-drop.test.js

Note: Some tests use Jest APIs (describe, test, expect) but are not wired into npm test. Run them directly with node only if they do not require a Jest runner. If a test uses Jest globals, install/run Jest locally.

Docs generation:

  • npm run gen:docs
  • npm run gen:examples
  • npm run gen:diagram

Repo Structure

  • src/server/ MCP server, tool registration, handlers, transports.
  • src/agents/ research, planning, zero protocol, context agents.
  • src/core/ core abstractions: signal, rail, context, normalize.
  • src/utils/ infra helpers: logging, errors, db, diagnostics.
  • tests/ unit + integration tests (mostly node scripts).
  • docs/ product docs and guides.

Read the full file on GitHub · 192 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. 10d ago First seen · 192 lines · 1,709 tokens per session scan A c436b6ef8552

Subscribe to this mod's changes

openrouter-deep-research-mcp AGENTS.md is an instructions file published in the GitHub repository wheattoast11/openrouter-deep-research-mcp (55 stars, last pushed 9d ago), licensed MIT. It adds 1,709 tokens to every session, about $0.0085 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens