Skip to content

ShowcasedPath oneRules & eligibility

Entitled

Tells people in India, in English or Kannada, which government welfare schemes they likely qualify for and how to apply.

by Varshith V Hegde

Schemes in the dataset, each with at least one official source
125
Hand-structured eligibility rules across ten flagship schemes
33
Exclusion rules that can disqualify an otherwise eligible applicant
11

What it does

A widowed farmer describes her life. The agent lists the schemes she can claim.

A person describes their situation in everyday English or Kannada. The agent returns one card per scheme with a verdict, the rules behind it, the benefit amount, required documents, numbered steps and links to apply and to the official source.

Follow-up questions reuse the earlier context, results can be shared to WhatsApp as plain text, and three progress stages show during the 30 to 45 second run.

The problem

People miss benefits they qualify for because the rules are unreadable.

India has thousands of central and state welfare schemes. Eligibility is scattered across portals and PDFs in legal English and varies by state. The people who most need help often have the least time and English to work through it. Search returns documents, but it cannot test one person against a chain of conditions and exclusions.

What they built

Eligibility rules stored as typed conditions, with exclusions flagged explicitly.

125 schemes (118 central, 7 Karnataka); 10 flagships carry 33 typed rules, 11 of them exclusions.

  • scheme

    One welfare scheme: level, state, ministry, annual benefit, rules, documents, steps, sources and lifecycle status.

  • eligibilityRule

    One condition as attribute, operator and value, with plain-language text and an exclusion flag.

  • identityDocument

    A document such as Aadhaar or a ration card, referenced by many schemes.

  • applicationStep

    One ordered application step with its channel and URL.

  • source

    An official URL and label used to cite a claim.

The stack

One Context endpoint in GROQ mode, one diffusion model.

  • Sanity Context MCP
  • Content Lake
  • Sanity Studio
  • GROQ
  • Next.js
  • Vercel AI SDK
  • @ai-sdk/mcp
  • Inception Mercury
  • Framer Motion
  • API Mitra
  • myScheme

The hard part

Exclusions are first-class rules, and apply links come from the dataset, not the model.

Each rule is a typed condition, and the agent is told to check every exclusion. A farmer who matches every PM-KISAN condition but holds a government job is marked probably not, with the disqualifying rule shown in plain language.

The formatting pass kept dropping links, so the API route now looks up each scheme and attaches real apply and source URLs itself. The model reasons about eligibility but cannot invent a link.

Try the live app ↗

More from path one

See the full showcase