Metadata-Version: 2.4
Name: mangodesk
Version: 0.1.0
Summary: CLI for evaluating tool-use RL environments
Project-URL: Homepage, https://mangodesk.com
Project-URL: Documentation, https://docs.mangodesk.com
Project-URL: Repository, https://github.com/mangodesk-inc/mangodesk-tool-use
Project-URL: Issues, https://github.com/mangodesk-inc/mangodesk-tool-use/issues
Author-email: MangoDesk <team@mangodesk.com>
License: Proprietary
Keywords: ai,benchmarking,evaluation,llm,rl,tool-use
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
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: click>=8.0.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: rich>=13.0.0
Description-Content-Type: text/markdown

# MangoDesk CLI

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

## Installation

```bash
# Using pipx (recommended)
pipx install mangodesk

# Using pip
pip install mangodesk
```

## Quick Start

```bash
# 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
mangodesk eval ./my-env claude-3-5-sonnet
```

## Configuration

```bash
# 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

```bash
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

```bash
mangodesk eval <env_path> <model> [--tasks task1,task2]
```

Examples:
```bash
# Run all tasks
mangodesk eval ./my-env claude-3-5-sonnet

# Run specific tasks
mangodesk eval ./my-env gpt-4 --tasks task_001,task_002
```

### View/set configuration

```bash
# 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.
