Skip to main content

Unified pipeline orchestrator — fluent builder API for composing agent execution pipelines.

Project description

यज्ञ — yajna by Darshankumar Joshi

⚡ यज्ञ

yajna

Rigveda / Bhagavad Gita 3.9

Sacred Ritual — the fire of transformation

Composable pipeline builder for LLM agent workflows. Chain, branch, merge, retry stages. Zero dependencies.

Python Zero Dependencies Vedic Arsenal License

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 Vedic Principle

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.


How It Works

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

Installation

pip install yajna

Or from source:

git clone https://github.com/darshjme/yajna.git
cd yajna && pip install -e .

Quick Start

from yajna import *

# See examples/ for full usage

The Vedic Arsenal

yajna 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+.


Contributing

  1. Fork the repo
  2. Create feature branch (git checkout -b fix/your-fix)
  3. Add tests — zero dependencies only
  4. Open a PR

⚡ Built by Darshankumar Joshi · @thedarshanjoshi

"कर्मण्येवाधिकारस्ते मा फलेषु कदाचन" Your right is to action alone, never to its fruits. — Bhagavad Gita 2.47

Vedic Arsenal · GitHub · Twitter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yajna-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yajna-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file yajna-0.1.0.tar.gz.

File metadata

  • Download URL: yajna-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for yajna-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1d9021cabe12b138192d4193bfece36eea75b09810c2b21935128054a9f499c
MD5 e06bc0bc446952668d773110a21a047a
BLAKE2b-256 278596b055d282c26c5feceb2c9ec718c08eaa985b377dd1ff358f082e286d0e

See more details on using hashes here.

File details

Details for the file yajna-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yajna-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for yajna-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab22d65508ce80b37b5286dbf2525b2734ee5aac1c0bdb78b7766f6bebc4f50b
MD5 5d20cf48f585e3abc5ec02f1e223d8bb
BLAKE2b-256 912ce9c79019aea4a8509334c6a6ce0c03105f9afaea0e41a0d523e4c4b592dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page