Why We Open-Sourced Our API SDK: The Build in Public Strategy
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:
- Trust through transparency: Developers can read the code
- Free distribution:
pip install clawduxis easier than reading API docs - AI agent compatibility: AI can read the repo and use the tools
- Community contributions: Bug reports and PRs from real users
- SEO/discoverability: GitHub repos rank well in Google
What We Open-Source vs Keep Private
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:
## 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:
{
"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.