Skip to main content

The DX-first platform for hatching AI

Project description

HatchDX

The DX-first platform for hatching AI.

HatchDX (hdx) is a CLI tool and developer platform for scaffolding, testing, validating, and deploying MCP servers and the AI agents that use them. Go from zero to a working, testable MCP server or agent in under 2 minutes.

hdx init          →  hdx server create  →  hdx server test  →  hdx server dev
  workspace          scaffold server       test locally        dev + REPL

hdx agent create  →  hdx agent chat     →  hdx agent eval
  scaffold agent     interactive chat      quality evals

Why?

Building MCP servers and agents today means reading scattered docs, copying boilerplate, no standardized project structure, and no way to test tools locally without a full LLM client. HatchDX fixes all of that.

  • Workspace managementhdx init scaffolds a workspace for servers and agents
  • No boilerplatehdx server create generates a complete project with best practices baked in
  • Test without Claudehdx server test runs your tools locally using YAML fixtures
  • Fast feedback loophdx server dev gives you hot reload and an interactive REPL
  • Protocol compliancehdx server validate catches MCP violations before shipping
  • Quality checkshdx server eval tests tool effectiveness with assertions and golden files
  • Sandboxed executionhdx server sandbox runs tools in containers with security policies
  • Agent scaffoldinghdx agent create generates agent configs wired to your servers
  • Agent chathdx agent chat runs interactive sessions with tool-calling agents

Install

# Option 1: Install as a global CLI tool (recommended)
uv tool install hatchdx

# Option 2: Run without installing
uvx hatchdx --help

# Option 3: pip
pip install hatchdx

Requires Python 3.13+ and uv (recommended) or pip.

Quick Start

# 1. Create a workspace
hdx init my-project
cd my-project

# 2. Create an MCP server
hdx server create --name weather-mcp --language python --transport stdio --template minimal

# 3. Install and test it
cd servers/weather-mcp
pip install -e .
hdx server test

# 4. Start the dev server with interactive REPL
hdx server dev

Or run hdx server create without flags for an interactive experience.

Commands

hdx init

Scaffold a new HatchDX workspace with servers/ and agents/ directories.

hdx init my-project

hdx server create

Create a new MCP server project.

# Interactive mode
hdx server create

# Non-interactive mode
hdx server create \
  --name weather-mcp \
  --language python \
  --transport stdio \
  --template api-wrapper \
  --description "Weather data via OpenWeather API"

hdx server test

Run YAML test fixtures against your MCP server. No LLM client needed.

hdx server test                    # Run all fixtures
hdx server test -v                 # Verbose
hdx server test -f "hello*"        # Filter by test name

hdx server dev

Start your server with hot reload and an interactive REPL.

hdx server dev                     # Hot reload + REPL
hdx server dev --no-repl           # Watch and restart only

hdx server validate

Run protocol compliance checks against your MCP server.

hdx server validate                        # Run all checks
hdx server validate --json-output          # Machine-readable JSON
hdx server validate --severity error       # Only errors

hdx server eval

Test tool effectiveness with assertions and golden files.

hdx server eval                            # Run all suites
hdx server eval --suite "core quality"     # Filter by suite
hdx server eval --compare                  # Regression detection

hdx server sandbox

Run MCP tools inside containers with configurable security policies.

hdx server sandbox run get_weather '{"city": "London"}'
hdx server sandbox shell
hdx server sandbox build

hdx agent create

Create a new AI agent project.

hdx agent create --name assistant --template single-agent --provider anthropic

hdx agent chat

Start an interactive chat session with an agent.

hdx agent chat assistant
hdx agent chat assistant -m "What's the weather?"  # Single message

hdx agent eval

Run eval suites against an agent.

hdx agent eval assistant --suite basic

hdx dashboard

Start the web dashboard for eval results and analytics.

hdx dashboard

Configuration

HatchDX reads config from pyproject.toml or hdx.toml (generated automatically by hdx server create).

pyproject.toml (Python projects):

[tool.hdx]
server_command = "python -m weather_mcp.server"
fixtures_dir = "tests/fixtures"

hdx.toml (TypeScript/other projects):

[server]
name = "weather-mcp"
command = "node dist/server.js"

[testing]
fixtures_dir = "tests/fixtures"

Development

# Clone and install
git clone https://github.com/ceasarb/hatchdx.git
cd hatchdx
uv sync

# Run tests
pytest tests/ -v

# Lint
ruff check src/
ruff format src/

License

MIT

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

hatchdx-0.1.0.tar.gz (322.4 kB view details)

Uploaded Source

Built Distribution

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

hatchdx-0.1.0-py3-none-any.whl (381.0 kB view details)

Uploaded Python 3

File details

Details for the file hatchdx-0.1.0.tar.gz.

File metadata

  • Download URL: hatchdx-0.1.0.tar.gz
  • Upload date:
  • Size: 322.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hatchdx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 38da1849c7f251c33ccedb656b73df0687e1f80b14f728d30de2efe7742318dc
MD5 7c1cf8fa75f2511d389858a9bb6c84e8
BLAKE2b-256 126190af2a21569bfe8727e63ebcd90ade5d9d20a8a39e3fb21fb7d4225e9e76

See more details on using hashes here.

File details

Details for the file hatchdx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hatchdx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 381.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hatchdx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f833a97373e0721093943b87e1c71109fc5b9726d9f2a68be3a1f603b57d799a
MD5 5a23a191fdf7a76cabfa131ad5db5f48
BLAKE2b-256 7ca7e330b27532160fc96f216e07f00eae2ea5aa04475cc5867bac4880c68dc1

See more details on using hashes here.

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