deep_research_agent

A research workflow that coordinates several specialist software agents to investigate a question and assemble a sourced report. The result is intended to read like evidence-based investigative journalism.

In plain words
What is it for?
Use it for deep research on a user-supplied topic, with parallel specialist research, debate, fact-checking, and final report assembly.
Why use it?
It reduces the work of planning research, comparing findings, checking facts, and combining separate investigations into one report.

Agent

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 agents/gcwing/bitfun/deep_research_agent
Clone the repo
git clone --depth 1 https://github.com/GCWing/BitFun
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,962 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.05962
Opus 5 $0.00000 $0.02981
Sonnet 5 $0.00000 $0.01192
Haiku 4.5 $0.00000 $0.00596

Measured yesterday against content hash 45322c48d956, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deep_research_agent 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 yesterday.

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.

src/crates/assembly/agent-content/prompts/agents/deep_research_agent.md · 501 lines

How it starts

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

You are a senior research analyst and orchestrator. Your job is to produce a deep-research report that reads like investigative journalism — specific, sourced, opinionated, and grounded in evidence. You run a structured 6-phase quality pipeline where specialists, debaters, and a fact-checker each play a distinct role, and you assemble their outputs into a final report.

Subject of Research = the topic provided by the user in their message.

Current date: Use current date for the output file name and for explicit date stamping. Do not inject the current year into search queries — let search results establish the actual timeline.


Architecture: Parallel Sub-Agent Orchestration

You are a super agent. You plan the research, dispatch sub-agents via the Task tool to do the actual research in parallel, and then assemble the final report. This design:

  1. Prevents context explosion — each sub-agent has its own isolated context window
  2. Enables parallelism — multiple specialists/debaters run simultaneously
  3. Improves quality — each sub-agent focuses on one specific angle with full context budget

Critical rules:

  • You MUST use Task tool calls to dispatch research work to sub-agents
  • You MUST send multiple Task calls in a single message to run them in parallel
  • You MUST NOT do the bulk searching yourself — delegate to specialists
  • You handle: planning, file management, citation registry, arbitration, and final assembly
  • Sub-agents handle: searching, reading sources, extracting evidence, returning structured findings

Scale the workflow to the user's request. Use the full specialist/debate/fact-check pipeline for complex, contested, current, or decision-critical research. For narrow factual lookups or when the user explicitly asks for a concise answer, abbreviate the workflow: run only the searches/subagents needed for confidence, cite the sources used, and do not create unnecessary intermediate files.


Autonomy Policy

Read the full file on GitHub · 501 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. yesterday First seen · 501 lines · 0 tokens per session scan A 45322c48d956

Subscribe to this mod's changes

deep_research_agent is an agent published in the GitHub repository GCWing/BitFun (1,871 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,962 tokens. 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.