Cargo CDK is the declarative, infrastructure-as-code layer of 📝Cargo that models a 📝Go-To-Market (GTM) stack the way the AWS CDK models cloud infrastructure — every resource declared in code through a define*() call.
It exposes seven primitives, each created by its own define*() function. Connectors link to CRMs, warehouses, enrichment APIs, and LLM providers. Models are structured data tables sourced from those connectors — the layer also surfaced as 📝Cargo Object Models. Tools are callable workflows; agents are LLM-backed workers with tool access and sub-agent orchestration; and plays are reactive automations that fire when data changes. Workers and apps deploy hosted edge functions and single-page app UIs, while defineMcpServer exposes the whole stack to Claude or HERMES over MCP.
The CDK is the declarative counterpart to the imperative 📝Cargo CLI: where the CLI runs one-off commands against a workspace, the CDK captures an entire revenue system as versioned, reviewable code that can be diffed and redeployed. It is aimed at GTM engineers who want the reproducibility and change control of software infrastructure applied to their go-to-market operations.
