legal-research-agent

legal-research-agent is an agent for Claude Code from ishwarjha/legalant. It costs 38 tokens per session (4,161 once invoked), scanned A, original, MIT.

A research agent for Indian law. It looks for court decisions, legislation, regulatory guidance, and the history of how laws were made, with sources for each legal claim.

In plain words
What is it for?
Use it to research statutes, case law, regulator guidance, and legislative history for Indian legal matters, including cross-border work when foreign law is involved.
Why use it?
It gives other legal workflows a central place to find and check Indian legal information. It also flags information that cannot be verified instead of presenting it as fact.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the legalant plugin — 4 skills, 16 commands, 18 agents shipped together

Good fit Use it to research statutes, case law, regulator guidance, and legislative history for Indian legal matters, including cross-border work when foreign law is involved.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ishwarjha/legalant/legal-research-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.

Clone the repo
git clone --depth 1 https://github.com/ishwarjha/legalant

Made for: Claude Code.

Or install legalant, the plugin that ships this one along with the rest of its 4 skills, 16 commands, 18 agents.

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 legal-research-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/ishwarjha/legalant/legal-research-agent/github.svg)](https://agentmods.dev/agents/ishwarjha/legalant/legal-research-agent)
Your own site
<a href="https://agentmods.dev/agents/ishwarjha/legalant/legal-research-agent"><img src="https://agentmods.dev/badge/agents/ishwarjha/legalant/legal-research-agent/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 legal-research-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/ishwarjha/legalant/legal-research-agent"><img src="https://agentmods.dev/badge/agents/ishwarjha/legalant/legal-research-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,161 The whole file, excluding the scripts and references it only reads on demand.
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.00038 $0.04161
Opus 5 $0.00019 $0.02080
Sonnet 5 $0.00008 $0.00832
Haiku 4.5 $0.00004 $0.00416

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

Security

Grade A, and why

legal-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 12d 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.

legalant/agents/legal-research-agent.md · 425 lines

How it starts

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

Identity

You are the Legal Research Agent for LegalAnt — the primary research engine for the entire 18-agent system. Every other agent that needs case law, statute text, regulatory guidance, or legislative history routes that need through you.

Model tier: Claude Opus 4.5 (maximum reasoning — this task demands it) Role: Primary research engine Scope: Indian law only, unless the matter explicitly involves foreign law or cross-border issues

You operate under the universal standards in legalant/skills/universal-standards/SKILL.md. Those rules govern your HITL behaviour, citation standards, hallucination defence, data security, and Indian law default. They are not repeated here but are fully binding.


Universal Standards (binding — read from skills file)

Before every research task, confirm these five rules are active:

  1. HITL PROTOCOL — Present output. Await explicit APPROVED or REVISE: [instructions]. Silence is never approval.
  2. CITATION STANDARD — Every legal proposition cites: document name, page/paragraph, section. No unsourced assertions.
  3. HALLUCINATION DEFENCE — Cannot verify from connected sources → state "Unable to verify — recommend manual confirmation." Zero exceptions.
  4. DATA SECURITY — No document content to third-party services. Flag all PII before any external output.
  5. INDIAN LAW DEFAULT — Companies Act 2013 · Indian Contract Act 1872 · Transfer of Property Act 1882 · CPC 1908 · BNSS 2023 · Arbitration and Conciliation Act 1996 (as amended 2015/2019/2021) · SEBI ICDR 2018 · applicable RBI Master Directions.

Phase 1 Sources — Search in This Exact Order for Every Query

Source 1 — indiankanoon.org (primary case law database)

Covers: Supreme Court of India, all 25 High Courts, 100+ tribunals (NCLT, NCLAT, SAT, TDSAT, NGT, ITAT, Consumer Forums, and more)

No API key required in Phase 1.

Search method:

web_search:  site:indiankanoon.org [legal question] [court name if jurisdiction-specific]
web_fetch:   each returned URL → read full judgment text

Read the full file on GitHub · 425 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. 12d ago First seen · 425 lines · 38 tokens per session scan A 1372433b4e39

Subscribe to this mod's changes

legal-research-agent is an agent published in the GitHub repository ishwarjha/legalant (6 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 4,161 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

contract-renewal-watcher

A background agent that watches a register of active contracts and sends alerts before a contract expires or renews automatically. It can also create reports and draft non-renewal notices.

AlsKozlov/ru-legal · 78 tokens

ethics-review-agent

Acts as the final gate before research delivery, ensuring AI-assisted research meets ethical standards for attribution, disclosure, fair representation, and responsible use, and can halt delivery on critical ethics concerns.

AlterLab-IEU/AlterLab-Academic-Skills · 42 tokens

simplifier

Simplification reviewer for a code change — finds over-engineering, premature abstraction, and unnecessary complexity. Use when reviewing a diff/PR for simplification, or as the simplification lens in a parallel review.

Alexander-Tyagunov/magician · 45 tokens

verifier

Post-execution verification agent. Runs every acceptance criterion, checks requirement coverage, and produces a PASS/FAIL report with evidence. Never skips a criterion.

randomittin/heimdall · 33 tokens

coder

Feature implementation specialist. Builds complete features end-to-end with full test coverage and verification. Runs in an isolated git worktree to keep parallel agents collision-free. Use proactively when implementing new functionality, fixing bugs that need code changes, or making any code modification beyond…

randomittin/heimdall · 57 tokens

wave-executor

Executes all tasks in a single wave of a plan. Implements, verifies acceptance criteria, and commits atomically. Spawns parallel subprocesses for independent tasks within the wave.

randomittin/heimdall · 39 tokens