Skip to main content

Environment, secrets, and runtime config management for LLM agents

Project description

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

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

vyavastha-0.1.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

vyavastha-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vyavastha-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36e97427a0d91cbdead6010096f2666deeaaad8d0d8f0005649ac7e1ebab29ef
MD5 a391fe2c43457c0bd0e5af94b58c4630
BLAKE2b-256 859c715287ab0812a98fb2394b9a327e8413c17901253239541c4a7d581956cc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vyavastha-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d45f369c110e70fbcada333690bb48344719168e578bd4e91a5c0cd83fd1659
MD5 e9aa16744151bf3fce302a043f110af0
BLAKE2b-256 2d3c9ab9507826c24bb61bd9e7ffa6b7fead1f393544cb5effcdb0dfc19166e9

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