Metadata-Version: 2.4
Name: mantisdk
Version: 0.2.2
Summary: Mantisdk - AI Agent Training and Evaluation Platform
Project-URL: Homepage, https://github.com/withmetis/mantis
Project-URL: Documentation, https://withmetis.github.io/mantis/mantisdk/
Project-URL: Repository, https://github.com/withmetis/mantis
Project-URL: Issues, https://github.com/withmetis/mantis/issues
Author-email: Metis Team <team@withmetis.ai>
License: MIT
License-File: LICENSE
Keywords: agents,ai,evaluation,llm,mantis,observability,reinforcement-learning,training
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
Requires-Python: >=3.10
Requires-Dist: agentops>=0.4.13
Requires-Dist: aiohttp
Requires-Dist: aiologic
Requires-Dist: fastapi
Requires-Dist: flask
Requires-Dist: gepa>=0.0.24
Requires-Dist: gpustat
Requires-Dist: graphviz
Requires-Dist: gunicorn
Requires-Dist: litellm>=1.74
Requires-Dist: openai
Requires-Dist: opentelemetry-api>=1.35
Requires-Dist: opentelemetry-exporter-otlp>=1.35
Requires-Dist: opentelemetry-sdk>=1.35
Requires-Dist: portpicker
Requires-Dist: psutil
Requires-Dist: pydantic>=2.11
Requires-Dist: rich
Requires-Dist: setproctitle
Requires-Dist: uvicorn
Requires-Dist: uvicorn-worker
Provides-Extra: agent
Requires-Dist: agentops; extra == 'agent'
Requires-Dist: aiohttp>=3.8.0; extra == 'agent'
Requires-Dist: typer>=0.9.0; extra == 'agent'
Provides-Extra: apo
Requires-Dist: poml; extra == 'apo'
Provides-Extra: mongo
Requires-Dist: pymongo; extra == 'mongo'
Provides-Extra: platform
Requires-Dist: httpx>=0.24.0; extra == 'platform'
Requires-Dist: jsonschema>=4.0.0; extra == 'platform'
Requires-Dist: pyyaml>=6.0; extra == 'platform'
Requires-Dist: typer>=0.9.0; extra == 'platform'
Provides-Extra: proxy
Requires-Dist: litellm[proxy]>=1.74; extra == 'proxy'
Provides-Extra: tracing
Requires-Dist: openinference-instrumentation-anthropic; extra == 'tracing'
Requires-Dist: openinference-instrumentation-litellm; extra == 'tracing'
Requires-Dist: openinference-instrumentation-openai; extra == 'tracing'
Requires-Dist: openinference-instrumentation-openai-agents; extra == 'tracing'
Provides-Extra: verl
Requires-Dist: verl>=0.5.0; extra == 'verl'
Requires-Dist: vllm>=0.8.4; extra == 'verl'
Provides-Extra: weave
Requires-Dist: weave>=0.52.22; extra == 'weave'
Provides-Extra: worker
Requires-Dist: bullmq>=2.19.4; extra == 'worker'
Requires-Dist: docker>=7.0.0; extra == 'worker'
Requires-Dist: httpx>=0.24.0; extra == 'worker'
Requires-Dist: redis>=5.0.0; extra == 'worker'
Requires-Dist: typer>=0.9.0; extra == 'worker'
Description-Content-Type: text/markdown

# Mantisdk

[![PyPI version](https://badge.fury.io/py/mantisdk.svg)](https://badge.fury.io/py/mantisdk)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

**AI Agent Training and Evaluation Platform**

Mantisdk is a comprehensive toolkit for training and evaluating AI agents using reinforcement learning, automatic prompt optimization, and supervised fine-tuning.

## Core Features

- Turn your agent into an optimizable beast with **minimal code changes**
- Build with **any** agent framework (LangChain, OpenAI Agent SDK, AutoGen, CrewAI, and more)
- **Selectively** optimize one or more agents in a multi-agent system
- Embraces **algorithms** like Reinforcement Learning, Automatic Prompt Optimization, Supervised Fine-tuning and more

## Installation

```bash
pip install mantisdk
```

For optional dependencies:

```bash
# For LLMProxy feature (note: has strict dependency pins for boto3, grpcio, uvicorn)
pip install 'mantisdk[proxy]'

# For APO (Automatic Prompt Optimization)
pip install 'mantisdk[apo]'

# For VERL integration
pip install 'mantisdk[verl]'

# For Weave integration
pip install 'mantisdk[weave]'

# For MongoDB store
pip install 'mantisdk[mongo]'
```

## Quick Start

```python
import mantisdk as msk

# Initialize the client
client = msk.MantisdkClient()

# Your agent code here...
```

## CLI Usage

```bash
# Start the Mantisdk server
msk store serve

# Run with vLLM
msk vllm start
```

## Documentation

For full documentation, visit [https://withmetis.github.io/mantis/mantisdk/](https://withmetis.github.io/mantis/mantisdk/)

## License

MIT License - see [LICENSE](LICENSE) for details.
