Rigveda / Bhagavad Gita 3.9
Composable pipeline builder for LLM agent workflows. Chain, branch, merge, retry stages. Zero dependencies.
Formerly agent-pipeline — Part of the Vedic Arsenal: 100 production-grade Python libraries for LLM agents, each named from the Vedas, Puranas, and Mahakavyas.
The Rigveda describes Yajna as the sacred fire ritual that connects the human to the divine — each offering transforms, each stage purifies, the output more refined than the input.
yajna is the LLM pipeline as sacred transformation. Raw data enters the fire. Each stage — validate, transform, call, parse, output — is an offering. The pipeline is not a machine. It is a ritual. Each step has its dharma, its place, its function.
"Yajna is born from action" says the Gita (3.14). The pipeline is born from the sequence of intentional acts. Run it with awareness and every token becomes an offering to intelligence itself.
flowchart LR
A[Input] --> B[Stage 1: Validate]
B --> C[Stage 2: Transform]
C --> D[Stage 3: LLM Call]
D --> E[Stage 4: Parse]
E --> F[Output]
B -- Error --> G[Retry]
style D fill:#10b981,color:#fff
pip install yajnaOr from source:
git clone https://github.com/darshjme/yajna.git
cd yajna && pip install -e .from yajna import *
# See examples/ for full usageyajna is one of 100 libraries in darshjme/arsenal — each named from sacred Indian literature:
| Sanskrit Name | Source | Technical Function |
|---|---|---|
yajna |
Rigveda / Bhagavad Gita 3.9 | Sacred Ritual — the fire of transformation |
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