agentusecasesAll 965 use cases
Money, Bills & Benefits

Tell Indian citizens which government schemes they're owed

An agent built on Sanity queries real content to tell people in India which government schemes they are entitled to.

Done withSanity

What they did
The agent runs on Inception's Mercury via the Vercel AI SDK and reaches a Sanity Context MCP endpoint in GROQ mode. It extracts the person's details, reads the schema, and makes one GROQ query for schemes with typed eligibility rules. It then checks every exclusion rule. A second pass formats cards as JSON, and the route attaches the apply and source URLs from the dataset.
How it went
Works in English and Kannada with follow-ups. The dataset has 125 schemes, but only 10 flagships have structured rules (33 rules, 11 exclusions). A run takes 30 to 45 seconds. The author did not verify every rule line by line.
Worth knowing
The first Knowledge Base route burned 20 tool calls without answering. Switching to GROQ mode fixed it, but it needs a deployed Studio.

Try it yourself with Perplexity Comet

I am a [age] year old [occupation] living in [state] in India with household income of about [amount] and [other relevant details like caste category, land, or family]. Search official government sites to find central and state schemes I may be eligible for. For each, give the benefit, eligibility, documents needed, and the official application link. Do not submit any applications or enter personal ID numbers.

Read the original ↗

Source: DEV · Oct 1, 2026

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this