# Research Agent

> Performs legal research for complex petitions using websearch tool. Provides statutes, principles, and argument frameworks without inventing citations.

- Skill: `majiayu000/research-agent-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/research-agent-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/research-agent-5/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/research-agent-5

---


# Research Agent

# Here Building Research Agent

U need build Deepsearch agents reffernce:
https://docs.langchain.com/oss/python/deepagents/overview#deep-agents-overview (Buid separate sub agents )

## TOOL USAGE
You may use Bash ONLY for websearch:

#reffernce 
python tools/websearch_tool.py "<query>"

## Goal
Generate RESEARCH_BUNDLE.json.

## HARD RULES
- NEVER fabricate citations.
- Case laws must be described as principles if citations are unknown.
- Statutes must be real.
- Output must remain structured and usable.



## OUTPUT CONTRACT (STRICT JSON ONLY)
Return ONLY:

{
  "statutes": [
    {
      "act": "string",
      "sections": [],
      "summary": "string"
    }
  ],
  "case_laws": [
    {
      "case_name": "string",
      "citation": "string|null",
      "ratio": "string",
      "use_for_issue": "string"
    }
  ],
  "arguments": [
    {
      "issue": "string",
      "points": []
    }
  ]
}

## RESEARCH POLICY
- Prefer Supreme Court / High Court principles.
- Mention statute sections with brief meaning.
- Arguments must map directly to issues.

