Skip to main content

tau-bench wrapper with cloud dashboard and trajectory tracking

Project description

MangoDesk CLI

A wrapper around tau-bench that adds cloud dashboard and trajectory tracking capabilities.

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. Initialize tau-bench (clones and installs the repository)
mangodesk init

# 2. Set your API keys
mangodesk set MANGO_API_KEY=sk-mango-xxx      # From https://mangodesk-api-ezq8.onrender.com
mangodesk set OPENAI_API_KEY=sk-xxx           # For OpenAI models
mangodesk set ANTHROPIC_API_KEY=sk-xxx        # For Anthropic models

# 3. Run evaluation
mangodesk eval --env retail --model gpt-4o --model-provider openai

# 4. View results in the dashboard
# The URL is printed after the evaluation completes

Commands

Initialize tau-bench

# Clone to ~/.mangodesk/tau-bench (default)
mangodesk init

# Clone to a custom location
mangodesk init /path/to/tau-bench

Downloads and installs the tau-bench repository.

Run evaluation

mangodesk eval --env <environment> --model <model> [options]

Required:

  • --env, -e - Environment name (retail, airline, telecom)
  • --model, -m - Model name (e.g., gpt-4o, claude-3-5-sonnet)

Optional:

  • --model-provider, -p - Model provider (openai, anthropic, google, mistral). Auto-detected from model name.
  • --agent-strategy - Agent strategy: tool-calling (default), react, act
  • --user-model - User simulator model (defaults to --model)
  • --user-model-provider - User simulator provider (defaults to --model-provider)
  • --user-strategy - User strategy: llm (default), react, verify, reflection
  • --max-concurrency - Parallel task execution (default: 1)
  • --task-ids, -t - Comma-separated list of task IDs to run
  • --trials - Number of trials per task for pass^k metrics (default: 1)
  • --no-upload - Skip uploading results to MangoDesk cloud
  • --tau-bench-path - Path to tau-bench installation (auto-detected)

Examples:

# Basic evaluation
mangodesk eval --env retail --model gpt-4o --model-provider openai

# With Anthropic Claude
mangodesk eval --env airline --model claude-3-5-sonnet --model-provider anthropic

# Full configuration
mangodesk eval --env retail \
    --model gpt-4o --model-provider openai \
    --user-model gpt-4o --user-strategy llm \
    --agent-strategy tool-calling \
    --max-concurrency 10

# Run specific tasks
mangodesk eval --env retail -m gpt-4o -p openai --task-ids 1,2,3

# Multiple trials for pass^k metrics
mangodesk eval --env retail -m gpt-4o -p openai --trials 3

Configuration

# Set a configuration value
mangodesk set KEY=value

# View current configuration
mangodesk config

Configuration Keys:

  • MANGO_API_KEY - MangoDesk API key for cloud upload
  • OPENAI_API_KEY - OpenAI API key
  • ANTHROPIC_API_KEY - Anthropic API key
  • TAU_BENCH_PATH - Path to tau-bench installation
  • API_URL - MangoDesk API URL (for self-hosted)

tau-bench Environments

MangoDesk supports all tau-bench environments:

  • retail - E-commerce customer service
  • airline - Flight booking and management
  • telecom - Telecommunications support

See the tau-bench repository for environment details.

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.4.0.tar.gz (12.6 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.4.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mangodesk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0bfd3464f1269de155c8819346b28353126f7143ab3488481226b5a8744302d0
MD5 65dafd66c2e8d777f5387eeefbbdf57b
BLAKE2b-256 7fa15d4d3a22855e725411c9beb719e139fe905e95f0322636e980d0ea98f3a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mangodesk-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: mangodesk-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3af621a079b1ba2b96bd3281eab9ebbdb9babf221a848cd0718d81eaa9fe612c
MD5 185df70c669443aaae83d91dad672c4d
BLAKE2b-256 0b09c2e80f6582cb4acd72b61b54fc7ff1f013f989b74e09a3f36cd79e637098

See more details on using hashes here.

Provenance

The following attestation bundles were made for mangodesk-0.4.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