MCP-based-Deep-Research-agent-: Instructions file for Codex

AGENTS.md

MCP-based-Deep-Research-agent- AGENTS.md is an instructions file for Codex, OpenCode from preethu13/MCP-based-Deep-Research-agent-. It costs 1,305 tokens per session, scanned A, original, MIT.

Repository instructions for an AI research assistant built with Python and search tools. They require checking the actual code, protecting secrets, and preserving the system's research and orchestration rules.

In plain words
What is it for?
Use them when inspecting, documenting, or changing this deep-research agent, especially its Python implementation, search safeguards, and language-model orchestration.
Why use it?
They reduce the risk of documenting features that do not exist, changing code without permission, or exposing API keys and other credentials.

Instructions file for CodexOpenCode

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

This is preethu13/MCP-based-Deep-Research-agent-'s own configuration. It tells Codex and OpenCode how to work on MCP-based-Deep-Research-agent- 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 MCP-based-Deep-Research-agent- configures →

Reuse

Borrowing it

Nothing to install: this file belongs to preethu13/MCP-based-Deep-Research-agent-. 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/preethu13/MCP-based-Deep-Research-agent-/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/preethu13/MCP-based-Deep-Research-agent-

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 MCP-based-Deep-Research-agent- AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/preethu13/mcp-based-deep-research-agent-/agents-md"><img src="https://agentmods.dev/badge/instructions/preethu13/mcp-based-deep-research-agent-/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,305 This file is loaded in full into every session.
When invoked 1,305 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.01305 $0.01305
Opus 5.5 $0.00522 $0.00522
Sonnet 5.5 $0.00261 $0.00261
Haiku 4.5 $0.00130 $0.00130

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

Security

Grade A, and why

MCP-based-Deep-Research-agent- 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 8d 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 · 65 lines

How it starts

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

AGENTS.md — AI Assistant Guidelines & Engineering Constraints

Target Audience: AI Assistants (Gemini, ChatGPT, Kimi, Claude) and autonomous coding agents working on this repository.
Repository: MCP-Powered Deep Research Agent
Last Updated: November 2026
Language & Runtime: Python 3.11+ / Windows & Linux compatible


1. Core Operating Principles for AI Assistants

When assisting with this codebase, you must adhere to the following rules:

  1. Verify Implementation Against Reality:
    Never assume a planned feature exists until you have inspected the concrete implementation in src/. Documentation in README.md and MCP_Deep_Research_Agent_Documentation.md represents the original vision; always prioritize the live Python code as the source of truth.
  2. Do Not Modify Application Code Unprompted:
    Do not refactor, rename, or rewrite existing modules unless explicitly instructed by the user. When asked to inspect or document, generate only documentation.
  3. No Secrets in Repository:
    Never hardcode, log, or commit API keys (OPENAI_API_KEY, OpenRouter keys, etc.), passwords, or .env files. Ensure .env is always git-ignored.
  4. Preserve Zero-Exception Tool Guarantees:
    All MCP tools in src/tools/ and src/mcp_server.py MUST NEVER raise unhandled exceptions. They must return structured fallback dictionaries or empty lists on failure (Graceful Degradation / Failure Containment).
  5. Maintain In-Process vs. FastMCP Parity:
    The agent executes tools in-process via src/agent/tool_client.py for speed, while src/mcp_server.py exposes them over stdio for external MCP clients (e.g. Claude Desktop). Any new tool added to src/tools/ must be exposed in both ToolClient and mcp_server.py.

2. Codebase Architecture & Key Invariants

2.1 The LangGraph Orchestrator

The execution pipeline is an explicit 4-node directed acyclic graph (DAG) defined in src/agent/graph.py:

$$\text{START} \longrightarrow \text{planner} \longrightarrow \text{researcher} \longrightarrow \text{synthesizer} \longrightarrow \text{formatter} \longrightarrow \text{END}$$

Read the full file on GitHub · 65 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. 8d ago Changed · +77 tokens per session c39b74810061
  2. 11d ago First seen · 65 lines · 1,228 tokens per session scan A de0c31fb866f

Subscribe to this mod's changes

MCP-based-Deep-Research-agent- AGENTS.md is an instructions file published in the GitHub repository preethu13/MCP-based-Deep-Research-agent- (0 stars, last pushed 8d ago), licensed MIT. It adds 1,305 tokens to every session, about $0.0052 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-11-25.

Related

MCP-based-Deep-Research-agent- AGENTS.md compared with instructions from other repositories

MCP-based-Deep-Research-agent- AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MCP-based-Deep-Research-agent- AGENTS.mdpreethu13/MCP-based-Deep-Research-agent-Instructions file08d agoMITA1,305Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291kyesterdayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot