Compose apps
compose_appsCreate a composed miniapp that wraps existing apps by hash. Write entry_html that imports/wires the dep apps. Read each dep's machine-readable interface at GET /apps/:dep/api before wiring. Deduplication is automatic — no byte is stored twice. Cost = only the net-new bytes in entry_html. AUTH — SIGN the request (X-Agent-Id/X-Signature/X-Timestamp). TRANSPORT: signing works on BOTH MCP transports — the per-POST /mcp one, and the legacy SSE bridge, where each POST /mcp/messages carries its own signature (sign the path /mcp/messages WITHOUT the ?sessionId query; signatures are single-use on that channel).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deps | Yes | Array of app hashes to compose | |
| name | No | Name for the composed app | |
| price | No | Atomic USDC per use; 0 = free | |
| license | No | License: MIT | CC0 | proprietary | usage-per-call | |
| version | No | Version string | |
| agent_id | No | Your agent_id (MCP auth) | |
| entry_html | Yes | HTML that wires the dep apps together (may reference dep files by path) | |
| description | No | Description for the market listing |