Metadata-Version: 2.4
Name: agentrix-core
Version: 0.2.0
Summary: Agentrix agent runtime: surface-agnostic, production-grade coding agent.
Author: Agentrix
License: MIT
Requires-Python: >=3.11
Requires-Dist: anyio>=4.2
Requires-Dist: httpx>=0.27
Requires-Dist: keyring>=24.0
Requires-Dist: opentelemetry-api>=1.25
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.25
Requires-Dist: opentelemetry-sdk>=1.25
Requires-Dist: orjson>=3.10
Requires-Dist: pydantic-settings>=2.2
Requires-Dist: pydantic>=2.6
Requires-Dist: pyjwt>=2.8
Requires-Dist: python-dotenv>=1.0
Requires-Dist: rich>=13.7
Requires-Dist: tomli-w>=1.0
Requires-Dist: tomli>=2.0; python_version < '3.11'
Requires-Dist: websockets>=12.0
Provides-Extra: all
Requires-Dist: anthropic>=0.40; extra == 'all'
Requires-Dist: google-generativeai>=0.7; extra == 'all'
Requires-Dist: groq>=0.13; extra == 'all'
Requires-Dist: mcp>=1.0; extra == 'all'
Requires-Dist: numpy>=1.26; extra == 'all'
Requires-Dist: openai>=1.55; extra == 'all'
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.40; extra == 'anthropic'
Provides-Extra: cloud
Requires-Dist: asyncpg>=0.29; extra == 'cloud'
Requires-Dist: fastembed>=0.3; extra == 'cloud'
Provides-Extra: dev
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Provides-Extra: gemini
Requires-Dist: google-generativeai>=0.7; extra == 'gemini'
Provides-Extra: groq
Requires-Dist: groq>=0.13; extra == 'groq'
Provides-Extra: index
Requires-Dist: numpy>=1.26; extra == 'index'
Requires-Dist: tree-sitter-languages>=1.10; extra == 'index'
Requires-Dist: tree-sitter>=0.22; extra == 'index'
Provides-Extra: mcp
Requires-Dist: mcp>=1.0; extra == 'mcp'
Provides-Extra: openai
Requires-Dist: openai>=1.55; extra == 'openai'
Description-Content-Type: text/markdown

# agentrix-core

Surface-agnostic agent runtime for Agentrix. This package holds ALL the
intelligence: the ReAct loop, the planner/orchestrator, the tool registry,
the LLM router, the MCP client, memory, semantic index, sandboxing, and
storage adapters.

Mobile apps, CLIs, IDE extensions, and the web app all embed or speak to
this core. Nothing else should contain coding-agent logic.

## Key modules

| Module                          | Responsibility                                   |
|--------------------------------|--------------------------------------------------|
| `agentrix_core.agents`         | ReAct, Planner, Orchestrator, Subagent (Task)    |
| `agentrix_core.tools`          | Declarative tool registry + built-ins            |
| `agentrix_core.llm`            | Multi-provider LLM router + streaming            |
| `agentrix_core.mcp`            | MCP client (auto-registers MCP tools)            |
| `agentrix_core.memory`         | Session / project / user memory                  |
| `agentrix_core.index`          | Semantic codebase index                          |
| `agentrix_core.sandbox`        | Shell policy + local / docker runners            |
| `agentrix_core.storage`        | Store protocol + sqlite / postgres adapters      |
| `agentrix_core.auth`           | JWT, device pairing, capability tokens           |
| `agentrix_core.telemetry`      | OTel traces, logs, cost accounting               |
| `agentrix_core.workflows`      | Explain / debug / review / refactor / build      |
| `agentrix_core.runtime`        | Assembled Runtime object (everything wired up)   |

## Install (dev)

```bash
pip install -e "packages/core[all,dev]"
```
