Skip to main content
vyavastha hero banner

व्यवस्था

vyavastha

Arthashastra / Manusmriti

Divine Order — cosmic configuration

Hierarchical configuration management for LLM agents. Load from env, files, remote. Override layers. Zero dependencies.

Python License Part of Arsenal Zero Dependencies


The Vedic Principle

The ancient seers who wrote the Arthashastra / Manusmriti understood something that modern engineers are only beginning to rediscover: that the greatest technical systems mirror the eternal laws of cosmic order. Divine Order — cosmic configuration is not merely a Sanskrit translation — it is a fundamental principle woven into the fabric of existence itself.

In the Vedic worldview, vyavastha represents the divine order — cosmic configuration — the sacred function that every complex system requires to maintain dharmic operation. Just as the cosmos cannot function without this principle, your LLM agents cannot achieve production reliability without vyavastha. The ancient wisdom and modern engineering converge at this exact point.

vyavastha brings this timeless principle to your agent infrastructure. Whether you're building simple chatbots or complex multi-agent systems, config is not optional — it is dharma. Built by engineers who understand both the technical requirements and the cosmic significance of getting this right.


How It Works

flowchart LR
    A[ENV Variables] --> D[व्यवस्था Config]
    B[YAML/JSON Files] --> D
    C[Remote Config] --> D
    D --> E[Override Layers]
    E --> F[🎯 Agent Runtime]

Quick Start

pip install vyavastha
from vyavastha import *

# Initialize
agent = Vyavastha()

# Use
result = agent.process(your_input)
print(result)

Features

  • Zero dependencies — pure Python, no bloat
  • 🛡️ Production-grade — battle-tested patterns
  • 🔧 Configurable — sane defaults, full control
  • 📊 Observable — built-in metrics and logging
  • 🔄 Async-ready — full asyncio support
  • 🧪 Tested — comprehensive test coverage

Installation

# pip
pip install vyavastha

# From source
git clone https://github.com/darshjme/vyavastha
cd vyavastha
pip install -e .

Part of the Vedic Arsenal

vyavastha is part of the Vedic Arsenal — 100 production-grade Python libraries for LLM agents, named after Sanskrit concepts from the Upanishads, Mahabharata, Ramayana, and Vedic philosophy.

Each library is:

  • ✅ Zero-dependency
  • ✅ Production-ready
  • ✅ Individually installable
  • ✅ Part of a coherent ecosystem

Built by Darshankumar Joshi

"Building the dharmic infrastructure for the AI age"

GitHub Arsenal


व्यवस्था — Divine Order — cosmic configuration

From the Arthashastra / Manusmriti

Release files for vyavastha 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vyavastha 0.1.0
File Size Uploaded
vyavastha-0.1.0.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vyavastha 0.1.0
File Interpreter ABI Platform
vyavastha-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 kB

Release files / vyavastha-0.1.0.tar.gz

Download URL vyavastha-0.1.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
36e97427a0d91cbdead6010096f2666deeaaad8d0d8f0005649ac7e1ebab29ef
BLAKE2b-256 checksum
How to use checksums
859c715287ab0812a98fb2394b9a327e8413c17901253239541c4a7d581956cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / vyavastha-0.1.0-py3-none-any.whl

Download URL vyavastha-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d45f369c110e70fbcada333690bb48344719168e578bd4e91a5c0cd83fd1659
BLAKE2b-256 checksum
How to use checksums
2d3c9ab9507826c24bb61bd9e7ffa6b7fead1f393544cb5effcdb0dfc19166e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page