Metadata-Version: 2.4
Name: brahmastra-ai
Version: 0.1.1
Summary: Provider-independent AI orchestration platform and CLI coding assistant
Author: BRAHMASTRA AI Team
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Kunalkh05/Bhramstra
Project-URL: Documentation, https://github.com/Kunalkh05/Bhramstra#readme
Project-URL: Repository, https://github.com/Kunalkh05/Bhramstra.git
Project-URL: Issues, https://github.com/Kunalkh05/Bhramstra/issues
Keywords: ai,cli,orchestration,developer-tools,llm,coding-agent
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Operating System :: MacOS
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Security
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.12.0
Requires-Dist: rich>=13.0.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: keyring>=24.0.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: respx>=0.21.0; extra == "dev"
Dynamic: license-file

# BRAHMASTRA AI

> **A provider-independent AI orchestration platform and developer CLI assistant.**

BRAHMASTRA is built from first principles as a modular monolith designed to give developers total control over AI model routing, multi-account credential management, organization isolation, and repository-aware coding assistance.

---

## Key Pillars

1. **Provider Independence:** First-class support for cloud APIs (OpenRouter) and local runtimes (Ollama) behind a normalized provider contract.
2. **Credential Organization Management (COM):** Strict organization isolation. Secrets are kept in the OS credential vault (macOS Keychain), never in SQLite, configuration files, or logs.
3. **Cross-Architecture Mac Compatibility:** Fully tested and supported on macOS across both Apple Silicon (`arm64`) and Intel (`x86_64`) architectures.
4. **Explainable Routing:** Clear, constraint-based model selection without hidden black-box logic.
5. **Controlled Execution:** Untrusted model output; explicit approval required for file writes and shell execution.

---

## Quickstart

### Prerequisites
- macOS (Apple Silicon `arm64` or Intel `x86_64`) or Linux.
- Python 3.10 or higher (tested on Python 3.13).

### Installation (Development Mode)

```bash
# 1. Clone repository & navigate to directory
cd "/Users/kunalkhande/Project /Bhramstra"

# 2. Create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate

# 3. Install in editable mode with development tools
pip install -e ".[dev]"

# 4. Verify installation
brahmastra --help
brahmastra --version
brahmastra doctor
```

---

## Project Status

- **Current Milestone:** Milestone 1 (CLI Shell & System Diagnostics)
- **Roadmap:**
  - [x] Milestone 0: Baseline documentation, safety standards, and project hygiene.
  - [x] Milestone 1: Minimal CLI shell (`--help`, `--version`, `doctor`), automated tests.
  - [ ] Milestone 2: Organization CRUD and active profile switching.
  - [ ] Milestone 3: Vault abstraction and macOS Keychain integration.
  - [ ] Milestone 4: Credential lifecycle and organization-account assignments.
  - [ ] Milestone 5: Provider contract, OpenRouter & Ollama adapters.
  - [ ] Milestone 6: Model registry, health status, and usage tracking.
  - [ ] Milestone 7: Explainable routing engine.
  - [ ] Milestone 8: Read-only repository analysis.
  - [ ] Milestone 9: User-approved code changes and patch inspection.
  - [ ] Milestone 10: Sandboxed execution & bounded retries.
  - [ ] Milestone 11: Evaluation harness & benchmarks.
  - [ ] Milestone 12: Security hardening & production packaging.

---

## Documentation

- [Architecture Overview](docs/architecture.md)
- [Concepts for Beginners](docs/concepts-for-beginners.md)
- [Security Model & Safeguards](docs/security.md)
- [Development Log](docs/development-log.md)
