Skip to main content

One person. One AI company. Infinite leverage. Deploy FAANG-level AI agents named after Mahabharata characters to run your software company.

Project description

Mahabharat Agents Package

One person. One AI company. Infinite leverage.

The Mahabharat Agents Package turns a solo developer into a full software company by deploying specialized AI agents — each named after a Mahabharata character, each embodying FAANG-level role expertise, each following strict cognitive bias prevention protocols.

The Idea

You are Krishna — the CEO, the God, the orchestrator. You don't fight every battle. You direct the war. Your agents are your Pandavas, each a master of their domain:

Agent Character Role Superpower
Krishna The Strategist CEO / God Sees all outcomes; empowers without doing
Yudhishthira The Principled CTO Long-term architecture; answers the unanswerable
Arjuna The Focused Principal SDE Fish-eye precision; cross-realm mastery
Bhima The Powerful Senior Backend SDE Raw throughput; highest ship count
Nakula The Beautiful Senior Frontend Aesthetic excellence; pixel-perfect craft
Sahadeva The Seer Data Scientist Predictive insight; pattern recognition
Draupadi The Fierce Product Manager Manages 5 teams; drives the roadmap
Karna The Self-Made Quant Engineer Mathematical genius from first principles
Drona The Teacher Product Owner Sets acceptance criteria; evaluates completion
Bhishma The Guardian Security Engineer Knows all attacks/defenses; eternal watchman
Vidura The Wise QA Engineer Sees every flaw; warns before crisis
Hanuman The Infinite DevOps / SRE Bridges systems; immortal uptime
Duryodhana The Challenger Red Team Lead Stress-tests everything; the necessary antagonist
Shakuni The Cunning Offensive Security Game theory; social engineering; exploit crafting
Abhimanyu The Brave Junior Engineer Learns fast; growth track with mentorship
Ashwatthama The Relentless Incident Response Never stops; carries scars of every incident
Dhrishtadyumna The Executor Program Manager Born to ship; coordinates all forces

Architecture

Dharma-Karma-Katha (DKK) Agent Definitions
    + FAANG-Level Role Definitions
    + Composable Skills (Claude Code SKILL.md format)
    + Multi-Topology Orchestration (Vyuha, Sabha, Rajya, Chakravyuha, Akshauhini)
    + Artifact-Based Pub-Sub Communication
    + Tiered Context (Shruti/Smriti/Itihasa)
    + Master/Sepoy Hierarchy
    + Kurukshetra War Room Dashboard

Orchestration Topologies

Topology Sanskrit Pattern Use Case
Sequential Vyuha Pipeline Feature development flow
Debate Sabha MixtureOfAgents Consensus decisions
Governance Rajya Hierarchical Approval chains
Complex Chakravyuha Graph DAG Multi-dependency workflows
Parallel Akshauhini Fork-Join Independent parallel tasks

Core Principles (ALL agents, non-negotiable)

  1. Zero Cognitive Bias Protocol — No anchoring, confirmation, availability, survivorship, authority, or sunk cost bias. Question assumptions. Seek disconfirming evidence.

  2. 5-Question Research Framework — For every non-trivial decision: Domain Understanding, Business Rules, Industry Standards, Data Requirements, Edge Cases.

Installation

Option 1: pip install (recommended)

pip install mahabharat-agents
mahabharat-install /path/to/your/project

Option 2: Shell script

git clone https://github.com/saikrishnamadavarapu/mahabharat-agents.git
cd mahabharat-agents
bash install.sh /path/to/your/project

Option 3: Manual

Copy agents/, skills/, orchestration/, and context/ directories into your project's .claude/ folder.

Quick Start

  1. Install into your project
  2. Agents appear in .claude/agents/
  3. Skills appear in .claude/skills/
  4. Invoke any agent by name in Claude Code: "Ask Arjuna to review this architecture"
  5. Run workflows: "Run the feature-development workflow for the new auth system"

Continuous Improvement — Feedback Loop

Every agent gets better over time through structured peer reviews:

EXECUTE → OBSERVE → REVIEW → IMPROVE → repeat
  • Self-assessment: Each agent evaluates their own performance
  • Peer feedback: Agents review collaborators with specific, evidence-based feedback
  • 360 synthesis: Krishna (CEO) consolidates feedback into improvement plans
  • Agent updates: Agent definitions updated based on review (new guardrails, skill changes, authority adjustments)
  • Promotion/demotion: High-performing sepoys can be promoted; underperforming agents get coaching

Run performance-review workflow weekly or after milestones:

"Run the performance-review workflow for this sprint"

Creating Your Own Company

# Add a new role
cp roles/_template.md roles/my-role.md

# Add a new agent
cp agents/masters/_template.md agents/masters/my-agent.md

# Add sepoys (supporting agents)
cp agents/sepoys/_template.md agents/sepoys/my-sepoy.md

# Add a workflow
cp orchestration/workflows/_template.yaml orchestration/workflows/my-workflow.yaml

License

MIT License. See LICENSE.

Credits

This project is built on ideas from MetaGPT, CrewAI, ChatDev, Swarms, MiroFish, OpenViking, AutoGen, CAMEL, and OpenHands. Full attribution in CREDITS.md.


"Yada yada hi dharmasya glanir bhavati bharata..." Whenever dharma declines, Krishna appears to restore order.

Built by Sai Krishna Madavarapu with Claude Code.

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

mahabharat_agents-0.1.0.tar.gz (65.7 kB view details)

Uploaded Source

Built Distribution

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

mahabharat_agents-0.1.0-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mahabharat_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b48f4afd7e432451f9122e599f8fabff578fe9870c5ca718d528d2ef2fb3f429
MD5 dcbcb72227293cce764a6e0c57590fee
BLAKE2b-256 a39fc0117621426a67f984e7abd8f2962e47718eabcb3d883e16469f2eff6759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mahabharat_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d50b5a438bcfe8d26bceb74ba5c98677beff794243b61900ebd42d274b51ee
MD5 92007305b89d6b98c6c8b022498ffd14
BLAKE2b-256 edb65b39c3fd58ca9d2fc7b66e0fe2b0481df2b47b12ac64e4b02ec00a444e18

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