Vedanta — Maya as reflection
Mock and stub framework for LLM agent testing. Fake LLM responses, tool mocks.
Formerly agent-mock — Part of the Vedic Arsenal: 100 production-grade Python libraries for LLM agents, each named from the Vedas, Puranas, and Mahakavyas.
The ancient Pratirupa principle from Vedanta — Maya as reflection finds its modern expression in this library.
Just as the Vedic sages understood that every phenomenon in the universe follows deep patterns — patterns of creation, maintenance, and dissolution — pratirupa applies this wisdom to LLM agent engineering.
The concept of प्रतिरूप (The Mirror Form — reflection of truth) speaks directly to the technical problem this library solves. When the sages codified this principle in Vedanta — Maya as reflection, they were describing not just a spiritual truth but a computational truth that would take humanity millennia to rediscover in silicon.
This is not coincidence. The universe has one nature. The Vedas described it first.
flowchart LR
A[Input] --> B[pratirupa]
B --> C{Process}
C -- Success --> D[Output]
C -- Error --> E[Handle]
E --> B
style B fill:#6b21a8,color:#fff
pip install pratirupaOr from source:
git clone https://github.com/darshjme/pratirupa.git
cd pratirupa && pip install -e .from pratirupa import *
# See examples/ for full usagepratirupa is one of 100 libraries in darshjme/arsenal — each named from sacred Indian literature:
| Sanskrit Name | Source | Technical Function |
|---|---|---|
pratirupa |
Vedanta — Maya as reflection | The Mirror Form — reflection of truth |
Each library solves one problem. Zero external dependencies. Pure Python 3.8+.
- Fork the repo
- Create feature branch (
git checkout -b fix/your-fix) - Add tests — zero dependencies only
- Open a PR
🔮 Built by Darshankumar Joshi · @thedarshanjoshi
"कर्मण्येवाधिकारस्ते मा फलेषु कदाचन" Your right is to action alone, never to its fruits. — Bhagavad Gita 2.47