Skip to content

darshjme/sutra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
sutra hero banner

सूत्र

sutra

Brahmasutra (Vyasa/Badarayana)

The Sacred Thread — Brahmasutra binds all

Multi-agent coordination framework. Leader election, task distribution, synchronization.

Python License Part of Arsenal Zero Dependencies


The Vedic Principle

The ancient seers who wrote the Brahmasutra (Vyasa/Badarayana) understood something that modern engineers are only beginning to rediscover: that the greatest technical systems mirror the eternal laws of cosmic order. The Sacred Thread — Brahmasutra binds all is not merely a Sanskrit translation — it is a fundamental principle woven into the fabric of existence itself.

In the Vedic worldview, sutra represents the the sacred thread — brahmasutra binds all — 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 sutra. The ancient wisdom and modern engineering converge at this exact point.

sutra brings this timeless principle to your agent infrastructure. Whether you're building simple chatbots or complex multi-agent systems, coordinator 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 TD
    A[Input] --> B[Process]
    B --> C{Valid?}
    C -->|Yes| D[✅ Output]
    C -->|No| E[🔄 Handle]
    E --> B
Loading

Quick Start

pip install sutra
from sutra import *

# Initialize
agent = Sutra()

# 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 sutra

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

Part of the Vedic Arsenal

sutra 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

"Building the dharmic infrastructure for the AI age"

GitHub Arsenal


सूत्र — The Sacred Thread — Brahmasutra binds all

From the Brahmasutra (Vyasa/Badarayana)

About

Multi-agent coordination patterns — route, broadcast, pipeline, fan-out/fan-in. Zero dependencies.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages