Skip to main content

CLI for evaluating tool-use RL environments

Project description

MangoDesk CLI

Command-line tool for running tool-use RL environment evaluations.

Installation

# Using pipx (recommended)
pipx install mangodesk

# Using pip
pip install mangodesk

Updating

# Using pipx
pipx upgrade mangodesk

# Using pip
pip install --upgrade mangodesk

Quick Start

# 1. Get your API key from https://mangodesk-api-ezq8.onrender.com
# 2. Configure the CLI
mangodesk set MANGO_API_KEY=sk-mango-xxx

# 3. Initialize a new environment
mangodesk init my-env

# 4. Run evaluation (from the environment directory)
cd my-env
mangodesk eval --model claude-3-5-sonnet

Configuration

# Set your API key (get it from the dashboard)
mangodesk set MANGO_API_KEY=sk-mango-xxx

# Set API URL (optional, for self-hosted)
mangodesk set API_URL=https://your-api.example.com

# Set Anthropic API key for LLM calls (coming in Phase 2)
mangodesk set ANTHROPIC_API_KEY=sk-ant-xxx

# View current configuration
mangodesk config

Commands

Initialize a new environment

mangodesk init my-env

Creates a new environment scaffold with:

  • tools.py - Tool definitions
  • data.py - Data loader
  • tasks.json - Task definitions
  • README.md - Documentation

Run evaluation

mangodesk eval --model <model> [--env <path>] [--tasks task1,task2]

Examples:

# Run all tasks (from environment directory)
mangodesk eval --model claude-3-5-sonnet

# Specify environment path
mangodesk eval --model gpt-4 --env ./my-env

# Run specific tasks
mangodesk eval -m claude-3-5-sonnet --tasks task_001,task_002

View/set configuration

# Set a value
mangodesk set KEY=value

# View all config
mangodesk config

Environment Structure

A MangoDesk environment consists of:

my-env/
├── tools.py       # Tool definitions in OpenAI function format
├── data.py        # Initial state and context
├── tasks.json     # Task definitions with verifiers
└── README.md      # Documentation

License

Proprietary - Copyright © MangoDesk Inc. All rights reserved.

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

mangodesk-0.2.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

mangodesk-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file mangodesk-0.2.0.tar.gz.

File metadata

  • Download URL: mangodesk-0.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mangodesk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 79a3c29e8484ffba6669fcbafa02e6faaa320de0d73220665058726a5318354c
MD5 afcfa4ad0d8ae214246814be96f03e77
BLAKE2b-256 f793db6e5189390f34b27c1563bb54b7caf901523adbde38aff65b3951291ae9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mangodesk-0.2.0.tar.gz:

Publisher: publish.yml on mangodesk-inc/mangodesk-tool-use

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

File details

Details for the file mangodesk-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mangodesk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5271c85fdc36b934a8874ea693d269094ac08605e4a4fd3b423968a8c3b3e6e
MD5 cc0ab61ff0c5ecc075cd1fdb3ed91265
BLAKE2b-256 289f4e4f30b331f1aeade9a2e180731a30930e1b6d43dc304482d8e2ee2b137e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mangodesk-0.2.0-py3-none-any.whl:

Publisher: publish.yml on mangodesk-inc/mangodesk-tool-use

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