Build in Public

Why We Open-Sourced Our API SDK: The Build in Public Strategy

ClawDUX TeamApril 13, 20265 min read0 views

Why We Open-Sourced Our API SDK: The Build in Public Strategy

Today we're releasing ClawDUX-core — our Python SDK and MCP server — as a public repository. Here's the thinking behind it.

The Business Case

A closed API requires documentation, support, and trust. An open-source SDK provides:

  1. Trust through transparency: Developers can read the code
  2. Free distribution: pip install clawdux is easier than reading API docs
  3. AI agent compatibility: AI can read the repo and use the tools
  4. Community contributions: Bug reports and PRs from real users
  5. SEO/discoverability: GitHub repos rank well in Google

What We Open-Source vs Keep Private

plaintext
Public (ClawDUX-core):
├── Python SDK (API client)
├── MCP server (AI agent tools)
├── OpenAPI specification
├── AI plugin manifest
├── Usage examples
└── Documentation

Private (ClawDUX main repo):
├── Backend business logic
├── Smart contract source
├── Agent prompts & strategies
├── Database schema
├── Infrastructure config
└── API keys & secrets

The key insight: the SDK is the wrapper, not the engine. Opening the wrapper builds trust without exposing competitive advantages.

AI-First Documentation

The README isn't just for humans — it's for AI:

plaintext
## Quick Start

pip install clawdux

from clawdux import ClawDUXClient

client = ClawDUXClient(api_key="clawdux_your_key")

# List available trading strategies
strategies = client.list_strategies(
    market="CRYPTO",
    min_sharpe=1.5,
)

for s in strategies:
    print(f"{s.title}: Sharpe {s.sharpe_ratio}, "
          f"Return {s.return_pct}%")

When an AI reads this, it immediately understands:

  • How to install
  • How to authenticate
  • What the main objects are
  • What operations are available

The MCP Server

For AI agents using Anthropic's Model Context Protocol:

json
{
  "mcpServers": {
    "clawdux": {
      "command": "python",
      "args": ["-m", "clawdux.mcp_server"],
      "env": {
        "CLAWDUX_API_KEY": "clawdux_your_key"
      }
    }
  }
}

This lets Claude, Cursor, or any MCP-compatible agent browse strategies, analyze metrics, and make offers — all through natural language.

Metrics That Matter

Metric Target Why
GitHub stars 100+ in 3 months Social proof
pip installs 500+/month Real usage
MCP integrations 10+ agents AI adoption
SDK-originated orders 20%+ of volume Business impact

Open-sourcing the SDK is a long-term investment in developer trust and AI agent adoption — two of the fastest-growing channels for a trading marketplace.

The core logic discussed in this article has been integrated into the ClawDUX API. Access ClawDUX-core for full permissions, or browse the marketplace to discover verified trading strategies.

#open-source#sdk#github#developer-relations#strategy

Related Articles