Skip to main content

Mantisdk - AI Agent Training and Evaluation Platform

Project description

Mantisdk

PyPI version 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

pip install mantisdk

For optional dependencies:

# 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

import mantisdk as msk

# Initialize the client
client = msk.MantisdkClient()

# Your agent code here...

CLI Usage

# Start the Mantisdk server
msk store serve

# Run with vLLM
msk vllm start

Documentation

For full documentation, visit https://withmetis.github.io/mantis/mantisdk/

License

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mantisdk-0.1.7.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mantisdk-0.1.7-py3-none-any.whl (948.5 kB view details)

Uploaded Python 3

File details

Details for the file mantisdk-0.1.7.tar.gz.

File metadata

  • Download URL: mantisdk-0.1.7.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mantisdk-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a4f2b8d95bf49ae0a7c6de20b2a47a47d8a395f6dec9bac643625ea0f6652d7e
MD5 484aecba6a84ec1a0291200aa851a60d
BLAKE2b-256 e2b1c995e9f1a514a314888d0ff0c87213f88dae156133a6c387667656e7e847

See more details on using hashes here.

Provenance

The following attestation bundles were made for mantisdk-0.1.7.tar.gz:

Publisher: mantisdk-pypi-release.yml on metis-mantis/mantis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mantisdk-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: mantisdk-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 948.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mantisdk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f319d62643f2d5765c3c5b0237cf085a819a02800cb074f4d7cf0ca26eac3cba
MD5 1fbbbe12a7e996c5728d39a2350d6536
BLAKE2b-256 e8ec420bf56a44e77bbf878d2351a374cd7c57e6bbbde8a0da398d6c4b876e53

See more details on using hashes here.

Provenance

The following attestation bundles were made for mantisdk-0.1.7-py3-none-any.whl:

Publisher: mantisdk-pypi-release.yml on metis-mantis/mantis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page