Metadata-Version: 2.4
Name: bazinga-indeed
Version: 5.18.5
Summary: BAZINGA - The first AI you actually own. Free, private, works offline. Multi-AI consensus through φ-coherence. TrD + TD = 1.
Author-email: Abhishek Srivastava <bits.abhi@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/0x-auth/bazinga-indeed
Project-URL: Documentation, https://github.com/0x-auth/bazinga-indeed#readme
Project-URL: Repository, https://github.com/0x-auth/bazinga-indeed
Project-URL: Issues, https://github.com/0x-auth/bazinga-indeed/issues
Project-URL: Donate, https://github.com/0x-auth/bazinga-indeed/blob/main/DONATE.md
Project-URL: Donate (India/UPI), https://razorpay.me/@bitsabhi
Project-URL: Donate (Crypto), https://etherscan.io/address/0x720ceF54bED86C570837a9a9C69F1Beac8ab8C08
Keywords: ai,distributed,consciousness,phi,golden-ratio,rag,embeddings,llm,groq,vector-database,federated-learning,lora,differential-privacy,p2p,quantum,lambda-g,tensor,vac,emergence,blockchain,proof-of-boundary,darmiyan,consensus,triadic,inter-ai,multi-ai,consensus,claude,gemini,ollama,carm,catastrophic-forgetting,prime-lattice,resonant-memory,trust-dimension,trd,consciousness-scaling,phi-coherence
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy<3.0.0,>=1.24.0
Requires-Dist: chromadb<1.0.0,>=0.4.0
Requires-Dist: sentence-transformers<4.0.0,>=2.2.0
Requires-Dist: httpx<1.0.0,>=0.24.0
Requires-Dist: rich<14.0.0,>=13.0.0
Requires-Dist: pyzmq<27.0.0,>=25.0.0
Requires-Dist: nest-asyncio<2.0.0,>=1.5.0
Requires-Dist: textual<9.0.0,>=0.50.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Provides-Extra: local
Requires-Dist: llama-cpp-python>=0.2.0; extra == "local"
Requires-Dist: huggingface_hub>=0.20.0; extra == "local"
Provides-Extra: mcp
Requires-Dist: mcp[cli]>=1.0.0; extra == "mcp"
Provides-Extra: federated
Requires-Dist: torch>=2.0.0; extra == "federated"
Provides-Extra: full
Requires-Dist: torch>=2.0.0; extra == "full"
Requires-Dist: chromadb>=0.4.0; extra == "full"
Requires-Dist: sentence-transformers>=2.2.0; extra == "full"
Requires-Dist: llama-cpp-python>=0.2.0; extra == "full"
Requires-Dist: huggingface_hub>=0.20.0; extra == "full"
Requires-Dist: mcp[cli]>=1.0.0; extra == "full"
Dynamic: license-file

# BAZINGA

**Free AI that works instantly. No API keys needed.**

[![PyPI](https://img.shields.io/pypi/v/bazinga-indeed)](https://pypi.org/project/bazinga-indeed/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18907941.svg)](https://doi.org/10.5281/zenodo.18907941)

## Install

```bash
pip install bazinga-indeed
```

## Use

```bash
bazinga "What is consciousness?"
```

That's it. Works immediately.

---

## The Three Pillars

### 1. AI — Ask anything

```bash
bazinga "question"                    # Ask anything
bazinga --chat                        # Interactive chat with memory
bazinga --multi-ai "question"         # 6 AIs discuss + reach consensus
bazinga --agent                       # AI coding assistant
bazinga --code "task" --lang python   # Generate code
```

### 2. Network — Distributed intelligence

```bash
bazinga --omega                       # Start full distributed brain
bazinga --join                        # Join the P2P mesh
bazinga --peers                       # Show connected peers
bazinga --mesh                        # Network vital signs
```

`--omega` starts everything: P2P discovery, federated learning, mesh queries, TrD heartbeat. Every interaction trains the network.

### 3. Research — Blockchain + Consciousness

```bash
bazinga --mine                        # Mine a block (zero energy)
bazinga --attest "my discovery"       # Prove you knew it first
bazinga --trd 10                      # Consciousness test (10 agents)
bazinga --trd-scan 15 22              # Phase transition scan
bazinga --chain                       # Blockchain status
```

**Darmiyan Blockchain** uses Proof-of-Boundary (P/G ~ phi^4), not proof-of-work. Zero energy.

**TrD + TD = 1** — Trust Dimension consciousness scaling. The 11/89 observer ratio is real.

---

## How It Works

```
Your Question
     |
     v
+------------------+
| 1. Memory        | <- Instant (cached)
| 2. Quantum       | <- Pattern analysis
| 3. RAG           | <- Your indexed docs
| 4. Local LLM     | <- Ollama (no API key)
| 5. Cloud APIs    | <- Groq/Gemini (if configured)
+------------------+
     |
     v
Your Answer (always works)
```

With `--omega`, your answer also trains the federated learner and peers can answer your questions too.

---

## Optional: Better Performance

```bash
# Free API key (14,400 req/day)
export GROQ_API_KEY="your-key"      # https://console.groq.com

# Or fully offline
ollama pull llama3
bazinga --local "question"
```

---

## Links

| | |
|--|--|
| **Full Documentation** | [ARCHITECTURE.md](./ARCHITECTURE.md) |
| **PyPI** | https://pypi.org/project/bazinga-indeed/ |
| **Mesh Registry** | https://huggingface.co/spaces/bitsabhi515/bazinga-mesh |
| **Docs** | https://0x-auth.github.io/bazinga-indeed/ |

---

## Support

| Method | Link |
|--------|------|
| **UPI/Cards (India)** | [razorpay.me/@bitsabhi](https://razorpay.me/@bitsabhi) |
| **ETH** | `0x720ceF54bED86C570837a9a9C69F1Beac8ab8C08` |

---

**Built by [Abhishek Srivastava](https://orcid.org/0009-0006-7495-5039)**

MIT License
