Metadata-Version: 2.4
Name: sumospace
Version: 0.1.3
Summary: A locally-first, multi-agent autonomous task execution framework with zero cloud dependencies.
Project-URL: Homepage, https://github.com/Omdeepb69/SumoSpace
Project-URL: Documentation, https://omdeepb69.github.io/SumoSpace
Project-URL: Repository, https://github.com/Omdeepb69/SumoSpace
Project-URL: Bug Tracker, https://github.com/Omdeepb69/SumoSpace/issues
Project-URL: Changelog, https://github.com/Omdeepb69/SumoSpace/blob/main/CHANGELOG.md
Author-email: Omdeep Borkar <omdeep@example.com>
License: MIT License
        
        Copyright (c) 2025 Omdeep Borkar
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agentic,agents,ai,autonomous,huggingface,langchain-alternative,llm,local-inference,multi-agent,ollama,rag,task-automation,vllm
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: chromadb>=0.4.0
Requires-Dist: filelock>=3.12
Requires-Dist: httpx>=0.24
Requires-Dist: jinja2>=3.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: opentelemetry-api>=1.20
Requires-Dist: pydantic-settings>=2.0
Requires-Dist: pydantic>=2.0
Requires-Dist: rich>=13.0
Requires-Dist: typer>=0.9
Requires-Dist: watchdog>=3.0
Provides-Extra: all
Requires-Dist: accelerate>=0.24; extra == 'all'
Requires-Dist: anthropic>=0.20; extra == 'all'
Requires-Dist: beautifulsoup4>=4.12; extra == 'all'
Requires-Dist: faiss-cpu>=1.7; extra == 'all'
Requires-Dist: google-generativeai>=0.3; extra == 'all'
Requires-Dist: httpx>=0.27; extra == 'all'
Requires-Dist: librosa>=0.10; extra == 'all'
Requires-Dist: openai-whisper>=20231117; extra == 'all'
Requires-Dist: openai>=1.0; extra == 'all'
Requires-Dist: opencv-python>=4.8; extra == 'all'
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.20; extra == 'all'
Requires-Dist: opentelemetry-sdk>=1.20; extra == 'all'
Requires-Dist: pillow>=10.0; extra == 'all'
Requires-Dist: pyautogui>=0.9; extra == 'all'
Requires-Dist: qdrant-client>=1.7; extra == 'all'
Requires-Dist: sentence-transformers>=2.2; extra == 'all'
Requires-Dist: soundfile>=0.12; extra == 'all'
Requires-Dist: torch>=2.0; extra == 'all'
Requires-Dist: torchaudio>=2.0; extra == 'all'
Requires-Dist: torchvision>=0.15; extra == 'all'
Requires-Dist: transformers>=4.35; extra == 'all'
Requires-Dist: youtube-transcript-api>=0.6; extra == 'all'
Provides-Extra: cloud
Requires-Dist: anthropic>=0.20; extra == 'cloud'
Requires-Dist: google-generativeai>=0.3; extra == 'cloud'
Requires-Dist: openai>=1.0; extra == 'cloud'
Provides-Extra: desktop
Requires-Dist: pillow>=10.0; extra == 'desktop'
Requires-Dist: pyautogui>=0.9; extra == 'desktop'
Provides-Extra: dev
Requires-Dist: hatch>=1.7; extra == 'dev'
Requires-Dist: mkdocs-material>=9.0; extra == 'dev'
Requires-Dist: mkdocs>=1.5; extra == 'dev'
Requires-Dist: mkdocstrings[python]>=0.24; extra == 'dev'
Requires-Dist: mypy>=1.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.1; extra == 'dev'
Requires-Dist: twine>=4.0; extra == 'dev'
Provides-Extra: faiss
Requires-Dist: faiss-cpu>=1.7; extra == 'faiss'
Provides-Extra: loaders
Requires-Dist: beautifulsoup4>=4.12; extra == 'loaders'
Requires-Dist: httpx>=0.27; extra == 'loaders'
Requires-Dist: youtube-transcript-api>=0.6; extra == 'loaders'
Provides-Extra: loaders-ocr
Requires-Dist: beautifulsoup4>=4.12; extra == 'loaders-ocr'
Requires-Dist: httpx>=0.27; extra == 'loaders-ocr'
Requires-Dist: pdf2image>=1.17; extra == 'loaders-ocr'
Requires-Dist: pytesseract>=0.3; extra == 'loaders-ocr'
Requires-Dist: youtube-transcript-api>=0.6; extra == 'loaders-ocr'
Provides-Extra: local
Requires-Dist: accelerate>=0.24; extra == 'local'
Requires-Dist: sentence-transformers>=2.2; extra == 'local'
Requires-Dist: torch>=2.0; extra == 'local'
Requires-Dist: transformers>=4.35; extra == 'local'
Provides-Extra: media
Requires-Dist: librosa>=0.10; extra == 'media'
Requires-Dist: openai-whisper>=20231117; extra == 'media'
Requires-Dist: opencv-python>=4.8; extra == 'media'
Requires-Dist: pillow>=10.0; extra == 'media'
Requires-Dist: soundfile>=0.12; extra == 'media'
Requires-Dist: torch>=2.0; extra == 'media'
Requires-Dist: torchaudio>=2.0; extra == 'media'
Requires-Dist: torchvision>=0.15; extra == 'media'
Requires-Dist: transformers>=4.35; extra == 'media'
Provides-Extra: media-fast
Requires-Dist: faster-whisper>=0.10; extra == 'media-fast'
Requires-Dist: librosa>=0.10; extra == 'media-fast'
Requires-Dist: openai-whisper>=20231117; extra == 'media-fast'
Requires-Dist: opencv-python>=4.8; extra == 'media-fast'
Requires-Dist: pillow>=10.0; extra == 'media-fast'
Requires-Dist: soundfile>=0.12; extra == 'media-fast'
Requires-Dist: torch>=2.0; extra == 'media-fast'
Requires-Dist: torchaudio>=2.0; extra == 'media-fast'
Requires-Dist: torchvision>=0.15; extra == 'media-fast'
Requires-Dist: transformers>=4.35; extra == 'media-fast'
Provides-Extra: ollama
Requires-Dist: httpx>=0.24; extra == 'ollama'
Provides-Extra: qdrant
Requires-Dist: qdrant-client>=1.7; extra == 'qdrant'
Provides-Extra: telemetry
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.20; extra == 'telemetry'
Requires-Dist: opentelemetry-sdk>=1.20; extra == 'telemetry'
Provides-Extra: vllm
Requires-Dist: vllm>=0.4.0; extra == 'vllm'
Description-Content-Type: text/markdown

# SumoSpace

**Locally-first. Multi-agent. Zero cloud dependencies.**

SumoSpace is a production-grade autonomous agent framework that runs entirely on your machine.
No API keys required to get started. No usage fees. No data leaves your environment.

```bash
pip install sumospace
sumo run "Refactor all sync functions in src/ to async"
```

---

## Why SumoSpace

| | SumoSpace | LangChain | LlamaIndex |
|---|---|---|---|
| **Default provider** | Local (HF / Ollama) | OpenAI | OpenAI |
| **API key required** | ❌ No | ✅ Yes | ✅ Yes |
| **Multi-agent committee** | ✅ Built-in | ➕ Extra | ❌ No |
| **File snapshot + rollback** | ✅ Built-in | ❌ No | ❌ No |
| **Media RAG** | ✅ Built-in | ➕ Extra | ➕ Extra |
| **Benchmarks** | ✅ Built-in | ❌ No | ❌ No |

---

## Quickstart

```bash
pip install sumospace
sumo ingest ./src          # Index your codebase
sumo run "Add docstrings to all public functions"
sumo rollback <run-id>     # Undo if needed
```

---

## One Killer Example

```python
import asyncio
from sumospace import SumoKernel, SumoSettings

async def main():
    settings = SumoSettings.for_coding()
    async with SumoKernel(settings=settings) as kernel:
        await kernel.ingest("./src")
        trace = await kernel.run("Fix all TODO comments in src/auth.py")
        print(trace.final_output)

asyncio.run(main())
```

---

## Architecture

```
┌─────────────────────────────────────────────────────┐
│                    SumoKernel                       │
│  ┌──────────┐  ┌──────────┐  ┌──────────────────┐  │
│  │ Planner  │→ │  Critic  │→ │    Resolver      │  │
│  └──────────┘  └──────────┘  └──────────────────┘  │
│         Committee (optional, 3-agent)               │
├─────────────────────────────────────────────────────┤
│   RAG Pipeline    │  Memory   │  Audit Logs        │
│   (multi-query)   │  (SQLite) │  (JSON)            │
├─────────────────────────────────────────────────────┤
│   Vector Store    │  Snapshots + Rollback           │
│   chroma/faiss/   │  (.sumo_db/snapshots/)         │
│   qdrant          │                                │
├─────────────────────────────────────────────────────┤
│          Tools: file, shell, web, docker, deps     │
└─────────────────────────────────────────────────────┘
```

---

📖 **Full documentation:** [omdeepb69.github.io/SumoSpace](https://omdeepb69.github.io/SumoSpace)

## Benchmarks

Run your own benchmarks against the bundled sample project:

```bash
sumo benchmark compare --provider ollama --model phi3:mini
```

We are running standardized benchmarks across hardware configurations
and will publish results in v0.3. Community benchmark submissions welcome.
