Vimtara
A compliance and books platform for Indian companies, built end to end. Browser agents read four government portals, documents become citable sections, code reconciles the books and an agent answers with a citation on every figure.
1,006commits in a year
- 1,006
- commits in the main repo, Nov 2025 to Nov 2026
- 84k
- lines of backend TypeScript, plus 18k of tests
- 4
- government portals read by browser agents
- 13
- tools the answering agent is allowed to call
Vimtara is a compliance and books platform for Indian companies. It reads the GST, TDS, income-tax and MCA portals, uploaded documents and bank statements into typed records, one tenant sealed from the next, and answers a finance owner's questions in a chat where every figure carries a citation. We built the platform end to end.
What is in it
| Part | Built with | What it does |
|---|---|---|
| Backend | NestJS, PostgreSQL, BullMQ, S3 | 46 modules, 75 entities, the ledger, the brain and the reconcilers |
| Extract service | Python, FastAPI | Turns tax statements into typed JSON and any PDF into citable sections |
| Portal automation | Python, Playwright | 15 workflows across four portals, with checkpoints and stale-job sweeps |
| Desktop agent | .NET 8 | Syncs a Windows accounting package into the same ledger |
| Answering agent | A coding-agent harness over MCP | Reads the brain through 13 tools and nothing else |
The parts worth reading about
- An answer gate: a figure with no citation in its own sentence does not reach the user.
- Reconciliation where code proposes every match and the model only adjudicates.
- Retrieval with no embeddings: Postgres full-text search, phrase search kept for identifiers.
- Tenant isolation proven in the database: fail-closed row-level security, a standing canary suite and a prompt-injection corpus.
Secrets are handled the same way. Portal credentials sit in a KMS envelope with AES-256-GCM, each organisation has its own 32-byte data key that seals its bank statements, and revealing a secret to a browser goes through an ephemeral ECDH exchange.
