Logo: Deep Research

Deep Research

Organisatioun
omagents
deep-research

Féiert en iterativen Deep-Research-Prozess mat méi Quellen duerch, baséiert op strukturéierten Elementer × Felder, a erstellt e Markdown-Bericht.

Iwwersiicht

Editeuromagents
Repositoryomagents
Skill-Nummdeep-research
Stären
361
Forks
2
Matgeliwwert Dateien
19
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 19 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    omagents huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Deep Research an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/omagents/omagents/tree/main/packages/core/skills/deep-research
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/omagents/omagents.git /tmp/omagents
mkdir -p .claude/skills
cp -r /tmp/omagents/packages/core/skills/deep-research .claude/skills/deep-research
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Deep Research an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Deep Research automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Deep Research net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

OpenCode Deep Research

Conduct iterative, multi-source research and produce a high-quality Markdown report.

This skill combines the structured items × fields approach (inspired by RhinoInsight and Weizhena's Deep Research skills) with the dynamic gap-detection loop from LangChain's Open Deep Research, while staying native to OpenCode's subagent and MCP infrastructure.

Loop Engine: Research task state is managed by the shared loop_engine.py (see packages/core/skills/_shared/scripts/loop_engine.py). This provides durable state that survives context clearing, retry logic, and a unified summary across all loop-based skills.

When to Use

  • You need more than a quick answer — a structured, cited research report.
  • The topic may span web sources, open-source repositories, and/or local code.
  • You want parallel sub-investigations, automatic gap detection, and human-in-the-loop control.

Dependencies

  • Python 3.11+ (see agents-python-tools skill for venv setup)
  • jinja2 (install via the agents-python-tools skill)
  • OpenCode's built-in web search, GitHub, and codegraph tools (or MCP equivalents)

Sources Supported

OMAGENTS_SEARCH_PROVIDER selects auto (the default when OMAGENTS_SEARCH_PROVIDER is unset or empty), exa, keenable, or youcom. Explicit providers use only their own direct tools. In auto, OmAgents registers a local stdio websearch Search MCP Proxy; use only its generic search/fetch tools for the web route.

SourceTools to Use
Web with auto Proxywebsearch_search, websearch_fetch
Web with explicit Exawebsearch_web_search_exa, webfetch
Web with explicit Keenablekeenable_search_web_pages, keenable_fetch_page_content
Web with explicit You.comyoudotcom_you-search, youdotcom_you-extract
GitHubgithub_search_code, github_search_issues, github_search_pull_requests, github_list_releases
Codebasecodegraph_codegraph_explore, grep, glob, read

Auto Proxy routing and evidence

The Proxy follows Exa → Keenable → You.com and programmatically makes at most one attempt per eligible position, advancing only after a fallback-eligible failure at that position: transport/session failures, timeouts, MCP protocol or malformed responses, HTTP 408/429/5xx, explicit temporary/rate-limit/retryable failures, or an otherwise unclassified backend isError. A valid success, including zero search hits, never falls back. Local validation, backend tool/page HTTP 400/401/403/404/422, known authentication, authorization, invalid-parameter, and permission failures, Retryable: no, caller cancellation, stdin closure, and shutdown stop the chain without another provider attempt. After a fallback-eligible Exa failure, every later call in the same Proxy process uses Keenable → You.com → Exa until the Proxy is recreated; this memory-only state has no cooldown or persistence. The model must not implement its own fallback. In auto, do not use direct Exa, direct Keenable, or direct You.com tools.

Read the actual response's prepended Provider: exa|keenable|youcom and optional Fallback: <from> failed (<code>) lines, or _meta.omagents.provider, _meta.omagents.fallback, and _meta.omagents.fallbacks, for provider/fallback evidence; do not infer the backend from configuration. A You.com success after two eligible failures carries ordered two-fallback history in fallbacks. When all three providers fail, the error identifies every attempted provider in route order with bounded, redacted failure categories.

Only calls through the OmAgents-registered Proxy have this failover guarantee. Host-native web tools and a user-overridden websearch server are not wrapped and are outside automatic failover. Report credential presence only; never print API key values or authorization headers, and do not replace redacted Proxy errors with raw backend payloads. Automatic routing can disclose the same query, optional objective, or target URL to Exa, Keenable, and You.com as eligible provider attempts occur; You.com does not natively receive objective. Select an explicit provider when that disclosure is unacceptable.

Commands

CommandPhaseDescription
/research <topic>PlanGenerate a structured research plan with items, fields, and tasks.
/research-add-itemsConfirmAdd more research objects to the plan.
/research-add-fieldsConfirmAdd more research dimensions to the plan.
/research-deepResearchExecute research tasks in parallel subagents, then run the gap loop.
/research-reportReportMerge findings and generate the Markdown report (with inline SVG charts).
/research-polishPolishPrepare the raw report for LLM polishing (backup raw, output instructions). The agent then rewrites the report into coherent prose.
/research-auditAuditRun integrity audit on findings (missing sources, conflicts, gaps, duplicates).
/research-packagePackageGenerate artifact package manifest and README index.
/research-provenanceProvenanceView provenance log (phase-level event timeline).
/research-statusStatusCheck orchestration state and recommended next action.
/research-runAllRun the full pipeline with pause/resume (pre-research -> plan -> dispatch -> gaps -> report -> polish -> audit -> package).
/research-scanPre-ResearchRun pre-research landscape scan to identify current entities before planning.

Under the hood these commands map to:

bash
deep_research.py <subcommand> --workspace <workspace>

New subcommands: audit, package, provenance, status, polish, run-all, complete, scan, scan-next, scan-complete, scan-evaluate, scan-finalize.

Storage Layout

--workspace is the public deliverable directory. It contains only files intended for the user: report.md, optional summary.md, promoted topic-specific documents, and the generated README.md index. A new run is rejected before writing if its workspace would contain the internal run or loop store (including the default project-root workspace); select a separate child workspace such as research/topic. Genuine legacy workspaces at the project root remain supported.

Every new run stores its internal files under .omagents/deep-research/<run-id>/ in the project root (the directory from which the CLI is invoked). The run ID is <slug>-<digest>. For the digest input, resolve the workspace to an absolute path, take its path relative to the resolved project root when possible (otherwise use the absolute path), and encode it with POSIX separators; hash that UTF-8 string with SHA-256 and take the first eight lowercase hex characters. The slug uses NFKD normalization, removes non-ASCII characters, lowercases the result, and replaces non-alphanumeric runs with hyphens (research is the fallback), so the ID is stable across project relocation and distinct for same-named workspaces in different directories. The dispatch JSON supplies absolute findings_dir and pre_findings_dir paths; agents MUST use those paths instead of reconstructing paths from --workspace. Each search also supplies output_path, output_path_quoted, and shell (posix or powershell). Use the quoted value in shell commands and the structured resume_command argv when bypassing a shell.

  • plan.json, pre_research.json, optional pre_research_curated.json, findings/, and pre_findings/ are durable research inputs/evidence.
  • state/ contains resume checkpoints. Loop queues use deep-research-<run-id> and deep-research-pre-<run-id> under the existing .omagents/loops/ store.
  • artifacts/ contains rebuildable derived files; they are retained by default, not treated as disposable cache.
  • logs/provenance.jsonl is the single append-only provenance log.
  • Cross-run reuse is explicit: pass an earlier run's consolidated or curated pre-research file as input. Never share writable evidence between runs.
  • Topic-specific Markdown drafts stay in internal artifacts/. To promote one, write the finished document to <workspace>/<name>.md while leaving the draft in place; the next package command indexes it automatically without rewriting its content.

Existing legacy workspaces remain in their original layout and use the original unnamespaced loop keys. They are read and resumed without automatic migration or deletion.

Workflow

Phase 0: Landscape Scan (Pre-Research)

CRITICAL: Before generating any plan, a pre-research landscape scan MUST run. This ensures research items are based on current, real-world data rather than potentially outdated model knowledge.

The pre-research phase uses the loop engine (skill key: deep-research-pre-<run-id> for new runs; deep-research-pre only for legacy workspaces) to iteratively scan the web for current entities. The current date is automatically injected into all task descriptions and search instructions to ensure the agent searches for the most recent information.

  1. Initialize: pre_research.py init --query "..." --workspace <dir> creates a broad search task. Task description includes the current date (e.g., "Current date: July 2026").
  2. Search: Agent does web search (must include current year in queries), extracts candidates, writes to the exact output_path supplied by the orchestrator, using output_path_quoted in shell commands.
  3. Complete: Run the orchestrator's embedded deep_research.py scan-complete <task-id> --workspace <workspace> command. It validates the findings object and matching task ID before changing the queue; empty candidates and sources arrays are valid.
  4. Evaluate: pre_research.py evaluate checks if enough candidates/sources found. If not, adds targeted search tasks (also date-injected).
  5. Loop: Repeat steps 2-4 until coverage is sufficient or max_pre_research_loops (default 2) is reached.
  6. Finalize: pre_research.py finalize merges all pre-findings into <run-dir>/pre_research.json.

pre_research.json format:

json
{
  "query": "current top LLMs",
  "scanned_at": "2025-07-10T...",
  "summary": "Brief landscape overview",
  "candidates": [
    {"name": "DeepSeek-V4", "vendor": "DeepSeek", "note": "...", "source": "https://..."},
    {"name": "Kimi K2", "vendor": "Moonshot AI", "note": "...", "source": "https://..."}
  ],
  "sources": ["https://..."],
  "loops_completed": 2
}

This internal file feeds directly into Phase 1 to generate items from real candidates. Pre-research checkpoints live at <run-dir>/state/pre_research_state.json.

Phase 1: Generate Plan (/research <topic>)

Generate an internal <run-dir>/plan.json with:

  • query: original question
  • items: list of research objects (auto-populated from pre_research.json if available)
  • fields: dimensions to collect for each item (template-aware: comparison gets version/strengths/weaknesses, technical gets architecture/API)
  • tasks: parallel research tasks covering ALL items x fields (not just the first item)
  • config: max loops, batch size, search tools, confidence weights, audit weights, etc.

Example:

bash
deep_research.py plan \
  --query "AI agent frameworks" \
  --template comparison \
  --workspace agent-frameworks

If pre_research.json exists in the internal run directory, items are automatically generated from its candidates. You can also explicitly pass --pre-research <path>, including an earlier run's file for deliberate reuse.

Config overrides:

bash
deep_research.py plan \
  --query "..." \
  --template comparison \
  --max-loops 3 \
  --batch-size 5 \
  --search-tools websearch,github \
  --language zh \
  --workspace agent-frameworks

--workspace is the public deliverable directory name. Use a slug of the research topic (lowercase, hyphenated, e.g. "AI Agent Frameworks" -> ai-agent-frameworks). It is created in the current working directory; plans and other internal files go to the resolved .omagents/deep-research/<run-id>/ directory instead.

For a new run, the orchestrator initializes the run-specific loop engine automatically. Advanced manual workflows use the run ID from the internal run directory:

After generating the plan, initialize the loop engine with the research tasks:

bash
loop_engine.py init deep-research-<run-id> '[
  {"task_id": "task-1", "type": "web", "item_id": "item-1", "field_ids": ["field-1"], "focus": "...", "description": "Research LangGraph overview"},
  {"task_id": "task-2", "type": "github", "item_id": "item-2", "field_ids": ["field-2"], "focus": "...", "description": "Research AutoGPT license"}
]'

Phase 2: Confirm and Refine (/research-add-items, /research-add-fields)

Review the generated plan. If items or fields are missing, add them:

bash
deep_research.py add-items \
  --workspace agent-frameworks \
  --items-json '[{"name":"LangGraph","type":"framework","description":"LangChain agent framework"}]'

deep_research.py add-fields \
  --workspace agent-frameworks \
  --fields-json '[{"name":"License","category":"Legal","description":"Software license","required":false}]'

Phase 3: Execute Research (/research-deep)

Managed by the loop engine. Get the next pending task, dispatch it as a subagent, and mark complete when done.

Step 1: Get next task

bash
loop_engine.py next deep-research-<run-id>

If output is null, proceed to Phase 4 (gap detection).

Step 2: Dispatch subagent

For each task returned, launch a subagent using task(background: true). Multiple task calls in one response execute simultaneously. Each subagent:

  1. Searches the appropriate source (web, GitHub, or codebase).
  2. Reads key sources.
  3. Extracts data into field_data keyed by field IDs.
  4. Writes findings to the absolute {findings_dir}/<task_id>.json from dispatch JSON using bash (e.g. cat > <path> << 'EOF' ... EOF), not the write tool — subagent sessions run in a temporary working directory, so the write tool may trigger a confirmation dialog for paths outside it.
  5. Runs validation.

Do not wait for all subagents to return before proceeding. Background task completions are automatically injected via the Background Job Board. When all tasks are done, proceed to Phase 4.

Web Research Subagent Prompt
You are a web research specialist. Research the following item and collect the specified fields.

Current date: {current_date}
IMPORTANT: Include the current year ({current_year}) in your search queries. Do NOT rely on your training data - it may be outdated. Search for the most recent sources available.

Item: {item_name}
Description: {item_description}
Fields to collect:
{for each field: "- {field_name} ({field_category}): {field_description} [required: {required}]"}
Focus: {task_focus}
Workspace: {workspace}
Run ID: {run_id}
Findings directory: {findings_dir}
Output path: {task.output_path}
Shell-quoted output path: {task.output_path_quoted}
Shell: {shell}

Instructions:
1. Use the web route in the actual dispatch prompt: `websearch_search` for auto, `websearch_web_search_exa` for explicit Exa, `keenable_search_web_pages` for explicit Keenable, or `youdotcom_you-search` for explicit You.com. Include the current year in queries.
2. For each promising source, use the corresponding fetch tool: `websearch_fetch` for auto, `webfetch` for explicit Exa, `keenable_fetch_page_content` for explicit Keenable, or `youdotcom_you-extract` for explicit You.com. In auto, the Proxy—not the model—owns any fallback.
3. Extract data for EACH field listed above.
4. Mark uncertain values with [uncertain].
5. If information is missing or contradictory, do additional targeted searches (up to 3 iterations).
6. For each finding, record the publication date if available.
7. Write findings to {task.output_path}. IMPORTANT: Use {task.output_path_quoted}
   as the destination in a command for the supplied {shell} (for POSIX, e.g.
   `cat > {task.output_path_quoted} << 'ENDOFFILE' ... ENDOFILE`) instead of the
   `write` tool - subagent sessions run in a temporary directory, so the `write`
   tool may trigger a confirmation dialog for paths outside it.
   Use this JSON schema:
   {
     "type": "web",
     "task_id": "{task_id}",
     "item_id": "{item_id}",
     "field_ids": [{field_ids}],
     "focus": "{task_focus}",
     "iteration": {iteration},
     "findings": [
       {
         "source": "URL",
         "title": "...",
         "published_date": "YYYY-MM-DD or null",
         "field_data": { "field-1": "data", "field-2": "data" },
         "summary": "...",
         "key_quotes": ["..."],
         "relevance": "high|medium|low",
         "uncertain": false
       }
     ],
     "gaps": ["..."]
   }
8. Validate through the unified CLI so it resolves the same internal paths.
   Use the supplied shell-quoted workspace value:
   deep_research.py validate --task-id {task_id} --workspace {workspace_quoted}

GitHub and codebase subagents follow the same structure but use their respective tools.

Step 3: Validate and mark task complete

Each structured dispatch embeds an absolute, shell-quoted completion command. The child runs that command after writing and validating its findings, and returns only after both succeed:

bash
deep_research.py complete <id> --workspace <workspace>

The command validates the canonical findings against the selected task identity before completing its run-scoped queue row. The parent resumes after all children finish; it must not repeat raw loop-engine completion for a child that already completed its own task.

If the subagent fails (no findings, validation error, or completion error):

bash
loop_engine.py fail deep-research-<run-id> <id> "No web sources found for this item"

Step 4: Loop

Repeat from Step 1. When next returns null, all initial tasks are done. Proceed to Phase 4.

Phase 4: Detect Gaps and Re-Research (Loop)

Step 1: Run gap analysis

bash
deep_research.py gaps --workspace agent-frameworks

This builds an item x field coverage matrix, identifies missing or low-confidence coverage, and outputs <run-dir>/artifacts/gap_report.json with new_tasks and should_continue.

Step 2: Add gap tasks to loop engine

If should_continue is true, add each new task from the gap report:

bash
loop_engine.py add deep-research-<run-id> '{"task_id": "task-r1-1", "type": "web", "item_id": "item-1", "field_ids": ["field-2"], "focus": "Supplemental research for LangGraph on field License", "description": "Gap fill: LangGraph License"}'

Step 3: Loop back to Phase 3

Return to Phase 3 to execute the new gap-fill tasks. The loop continues until:

  • next returns null (all tasks complete), AND
  • should_continue is false (no more gaps or max_research_loops reached)

Step 4: Check final status

bash
loop_engine.py summary deep-research-<run-id>

When the loop is complete, proceed to Phase 5.

Phase 5: Synthesize Report (/research-report)

bash
deep_research.py merge --workspace agent-frameworks
deep_research.py report --workspace agent-frameworks

This produces report.md using the selected Jinja2 template (survey, comparison, or technical).

Phase 5b: Polish Report (/research-polish)

The template-generated report is mechanically assembled and may feel stiff. This phase uses the LLM (the agent itself) to rewrite it into coherent prose.

bash
deep_research.py report --polish --workspace agent-frameworks
# or standalone:
deep_research.py polish --workspace agent-frameworks

This will:

  1. Generate the template-based report (if --polish is used with report)
  2. Back up the raw report to <run-dir>/artifacts/report_raw.md
  3. Output JSON instructions with plan context and the polish prompt file path

The agent then:

  1. Reads report_raw.md and the plan context
  2. Reads prompts/polish_report.md for instructions
  3. Rewrites the report: merges "Supplemental" bullets into flowing prose, writes a real executive summary, ensures language consistency, keeps SVG charts and source citations
  4. Saves the polished version to report.md (overwrite)
  5. Continues to audit/package

In the run-all pipeline, this phase pauses automatically — the agent polishes, then resumes with run-all --resume.

Data Schemas

plan.json (v2)

json
{
  "version": 2,
  "query": "AI agent frameworks",
  "context": "",
  "template": "comparison",
  "objectives": ["..."],
  "items": [
    {
      "id": "item-1",
      "name": "LangGraph",
      "type": "framework",
      "description": "LangChain's agent framework"
    }
  ],
  "fields": [
    {
      "id": "field-1",
      "name": "Overview",
      "category": "General",
      "description": "General description",
      "required": true,
      "detail_level": "moderate"
    }
  ],
  "tasks": [
    {
      "id": "task-1",
      "type": "web",
      "item_id": "item-1",
      "field_ids": ["field-1"],
      "focus": "...",
      "status": "pending",
      "iteration": 0
    }
  ],
  "config": {
    "max_research_loops": 2,
    "batch_size": 3,
    "items_per_agent": 1,
    "search_tools": ["websearch", "github", "codegraph"],
    "report_sections": ["executive_summary", "comparison_table", "detailed_findings", "cross_cutting_insights", "gaps", "sources"],
    "language": "auto",
    "max_pre_research_loops": 2,
    "min_pre_research_candidates": 5,
    "min_pre_research_sources": 3,
    "confidence_weights": {"source_count_high": 2, "relevance_high": 3, "cross_source_bonus": 1},
    "audit_weights": {"info": 0, "warning": 5, "error": 15, "critical": 30}
  },
  "metadata": {
    "created_at": "...",
    "updated_at": "...",
    "research_loops_completed": 0
  }
}

findings JSON

json
{
  "type": "web",
  "task_id": "task-1",
  "item_id": "item-1",
  "field_ids": ["field-1", "field-2"],
  "focus": "...",
  "iteration": 0,
  "findings": [
    {
      "source": "URL",
      "title": "...",
      "published_date": "YYYY-MM-DD or null",
      "field_data": { "field-1": "data", "field-2": "data" },
      "summary": "...",
      "key_quotes": ["..."],
      "relevance": "high",
      "uncertain": false
    }
  ],
  "gaps": ["..."]
}

gap_report.json

json
{
  "loop": 1,
  "coverage_matrix": { "item-1": { "field-1": { "covered": true, "sources": 2, "confidence": "high" } } },
  "overall_coverage": 0.75,
  "gaps": [
    { "item_id": "item-1", "field_id": "field-2", "reason": "no_findings", "severity": "high" }
  ],
  "new_tasks": [ { "id": "task-r1-1", "type": "github", "item_id": "item-1", "field_ids": ["field-2"], ... } ],
  "should_continue": true
}

Report Templates

Templates live in templates/:

  • survey.md.tmpl — general research report
  • comparison.md.tmpl — side-by-side comparison
  • technical.md.tmpl — architecture/implementation analysis

To use a template, set plan.template to survey, comparison, or technical.

Report Format

The final report.md includes:

  1. Executive Summary — main conclusions in 3–5 bullets
  2. Research Questions / Scope — what was investigated
  3. Comparison Table (for comparison template)
  4. Detailed Findings — per item/field
  5. Cross-Cutting Insights — source/relevance distribution and emerging themes
  6. Open Questions / Gaps — remaining uncertainties
  7. Sources — web URLs, GitHub repos, and local files

SVG Charts

The report includes inline SVG charts (rendered by scripts/svg_charts.py):

ChartDescription
Coverage Heatmapitem x field grid, color-coded by confidence (green/yellow/red/gray)
Source Distribution Donutweb/github/codebase source proportion
Research Timelinehorizontal timeline of phase-level events (from provenance)
Comparison Radarmulti-dimensional radar chart (comparison template, 2+ items)
Confidence Bar Charthigh/medium/low/none confidence distribution

SVG is embedded directly in Markdown. No external dependencies or JavaScript.

Provenance

Every new research run tracks phase-level events in <run-dir>/logs/provenance.jsonl. Legacy root and artifacts/ logs are combined when read:

EventTrigger
plan_createdplan.py creates plan.json
gap_detectedgap_analysis.py detects gaps
report_generatedsynthesize.py generates report.md
audit_completedaudit.py runs audit

View with: deep_research.py provenance --workspace <dir>

Provenance is optional and backward-compatible. Old workspaces without provenance simply omit timeline charts.

Integrity Audit

Run automated checks on research findings:

bash
deep_research.py audit --workspace agent-frameworks
CheckWhat it detectsSeverity
missing_sourcesFinding entries without source/url/filewarning
conflicting_dataSame field, different values from different sourceserror
coverage_gapsRequired fields with no dataerror
source_duplicatesSame source referenced by multiple taskswarning

Output: <run-dir>/artifacts/audit_report.json with overall score (0-100) and recommendations. Results are also embedded in the Markdown report.

Artifact Package

Generate a complete package manifest:

bash
deep_research.py package --workspace agent-frameworks

Produces:

  • <run-dir>/artifacts/package.json - machine manifest with metadata, internal file list, and stats
  • <workspace>/README.md - human index containing only public deliverables (legacy workspaces keep artifacts/README.md)

New-run storage structure:

<project>/
  <workspace>/                    # Public deliverables only
    report.md                    # Polished report (Markdown + SVG)
    summary.md                   # Optional executive summary
    README.md                    # Public deliverable index
    execution_roadmap.md         # Optional promoted custom deliverable
    tco_model.md                 # Optional promoted custom deliverable
  .omagents/
    deep-research/<run-id>/
      plan.json                  # Research definition
      pre_research.json          # Consolidated pre-research input
      pre_research_curated.json  # Optional curated input
      pre_findings/              # Raw pre-research evidence
      findings/                  # Raw research evidence
      artifacts/                 # Derived files; retained by default
        findings_merged.json
        gap_report.json
        audit_report.json
        report_raw.md
        package.json
      state/
        orchestration_state.json
        pre_research_state.json
      logs/
        provenance.jsonl
    loops/
      deep-research-<run-id>/tasks.json
      deep-research-pre-<run-id>/tasks.json

Run-All (Meta-Orchestration)

Run the full pipeline with pause/resume:

bash
# First run
deep_research.py run-all --query "AI agent frameworks" --template comparison --workspace agent-frameworks

# After subagents complete
deep_research.py run-all --resume --workspace agent-frameworks

The orchestrator (orchestrate.py) is a pausable state machine:

  1. pre_research - Iterative landscape scan via loop engine (pauses for agent searches)
  2. planning - Creates plan.json from pre-research results, initializes loop_engine (automatic)
  3. dispatch - Outputs batch JSON task instructions (up to batch_size tasks at once) for the agent to dispatch subagents (pauses)
  4. gap_analysis - Runs gap detection with source-aware task types, adds new tasks if needed (automatic)
  5. merge - Merges findings (automatic)
  6. report - Generates report.md with SVG charts (automatic) 5b. polish - LLM polish (pauses)
  7. audit - Runs integrity audit with configurable weights (automatic)
  8. package - Generates artifact package (automatic)

The agent calls --resume after subagents complete. The state machine picks up from where it left off via <run-dir>/state/orchestration_state.json. Resume from the same project root and workspace; if no checkpoint exists, the command fails instead of silently creating a replacement run.

To skip pre-research (not recommended): --skip-pre-research

Check status: deep_research.py status --workspace <dir>

Tips for Best Results

  • Always include the current date in searches. The pre-research and dispatch instructions automatically inject the current date. Never search without a year qualifier - your training data may be months out of date.
  • Always run pre-research. The landscape scan ensures your research items are current. Skipping it risks researching outdated entities.
  • Keep each research task focused. A task should answer one specific sub-question.
  • Run independent tasks in parallel using task(background: true). The orchestrator dispatches up to batch_size tasks at once.
  • Always cite the original URL/repo/file for every claim. Include publication dates when available.
  • If sources conflict, report both sides and explain which evidence is stronger. Prefer more recent sources.
  • Use the gap loop aggressively - the first pass rarely tells the whole story. Gap tasks now pick the right source type based on field category.
  • Mark uncertain values with [uncertain] so the gap analyzer can flag them.
  • Use --template comparison for side-by-side comparisons (gets version/strengths/weaknesses fields automatically).
  • Use --template technical for architecture analysis (gets architecture/API/performance fields automatically).

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Deep Research?

Féiert en iterativen Deep-Research-Prozess mat méi Quellen duerch, baséiert op strukturéierten Elementer × Felder, a erstellt e Markdown-Bericht.

Firwat Deep Research op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Deep Research besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Deep Research an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/omagents/omagents/tree/main/packages/core/skills/deep-research an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Deep Research benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Deep Research benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Deep Research domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Deep Research gratis?

Jo. omagents huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇