Skip to main content

CLI and MCP server for Applied Labs AI support agents

Project description

Applied Labs CLI

CLI and Claude Code plugin for managing Applied Labs AI support agents.

Installation

As a Claude Code Plugin

# From a marketplace (once published)
/plugin install applied-labs@marketplace-name

# Or test locally
claude --plugin-dir /path/to/applied-cli

As a standalone CLI

pip install applied-cli

# Or with MCP server support
pip install "applied-cli[mcp]"

Authentication

applied-cli auth login          # Opens browser for approval
applied-cli auth status         # Check current shop
applied-cli auth shops          # List available shops
applied-cli auth use-shop NAME  # Switch shops

Quick Start

1. Set up a new shop

# Generate spec template
applied-cli shop template > my-shop.yaml

# Edit the spec with your configuration...

# Run setup
applied-cli shop setup --spec my-shop.yaml --json

2. Test your agent

applied-cli chat --agent-id <uuid> --message "Hello"

3. Fix failing scenarios

# Get context for failures
applied-cli test fix context --benchmark-id <uuid> --json

# Update knowledge base
applied-cli knowledge upsert --agent-id <uuid> --type qa \
  --question "What is your return policy?" \
  --answer "30 day returns on all items."

# Batch test fixes
applied-cli test fix batch --source <failing-benchmark> --target <validation-benchmark>

# Check progress
applied-cli test fix status --source <source> --target <target>

Command Reference

applied-cli
├── auth            # Login, logout, switch shops
├── shop            # Bootstrap new shops from YAML spec
├── agent           # List, create, update agents
├── chat            # Send a message to an agent
├── conversations   # List, show, import conversations
├── insights        # Generate analytics reports
├── knowledge       # Q&A entries, escalation rules
├── taxonomy        # Topic/intent classification
├── test            # Testing workflows
│   ├── benchmarks  # Scenario collections
│   ├── scenarios   # Individual test cases (includes rate)
│   ├── runs        # Execution records
│   ├── coverage    # Coverage summaries
│   └── fix         # Fix failing scenarios
└── simulate        # Generate test conversations

MCP Server

The CLI includes an MCP server for Claude integrations:

# Run directly (after pip install)
applied-cli-mcp

# Or via uvx (after publishing to PyPI)
uvx --from "applied-cli[mcp]" applied-cli-mcp

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "applied-labs": {
      "command": "applied-cli-mcp"
    }
  }
}

Plugin Skills

When installed as a Claude Code plugin, these skills are available:

  • /applied-labs:setup-shop - Guided shop setup workflow
  • /applied-labs:fix-scenarios - Fix failing test scenarios

Environment Variables

Variable Description
APPLIED_ENDPOINT prod, dev, local, or full URL
APPLIED_SHOP_ID Pre-select shop UUID
APPLIED_API_TOKEN Skip browser auth
APPLIED_PROFILE Named credential profile

Development

# Install in development mode
pip install -e ".[mcp]"

# Test CLI
applied-cli --help

# Test MCP server
applied-cli-mcp

# Test as Claude Code plugin
claude --plugin-dir .

License

MIT

Project details


Release history Release notifications | RSS feed

This version

0.2.3

Download files

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

Source Distribution

applied_cli-0.2.3.tar.gz (92.4 kB view details)

Uploaded Source

Built Distribution

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

applied_cli-0.2.3-py3-none-any.whl (104.4 kB view details)

Uploaded Python 3

File details

Details for the file applied_cli-0.2.3.tar.gz.

File metadata

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

File hashes

Hashes for applied_cli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 1c6001218e07d8cae51beb1d5d1e8ad3707d203b3cca0761299a042ec28ac38b
MD5 ceb4757200dd3574e09166b8c79455ad
BLAKE2b-256 52740e8b6f6dfa7300d4b3f90172c36d296e8fe4d230aed7e761f6626b774d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for applied_cli-0.2.3.tar.gz:

Publisher: publish.yml on AppliedLabsAI/applied-cli

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

File details

Details for the file applied_cli-0.2.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for applied_cli-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c41db3cb2f0eb4eb89bb981da47b79d49ae8bba0d21055d99b23779a65e32816
MD5 89868a213e5390fb15405d3dd742a6b7
BLAKE2b-256 7b82749a0eb58509590b2b814cc24ed7d3bb9eb3f5ecbd8eb8de35c046ef3549

See more details on using hashes here.

Provenance

The following attestation bundles were made for applied_cli-0.2.3-py3-none-any.whl:

Publisher: publish.yml on AppliedLabsAI/applied-cli

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