Development Workflow using LLM
We can generate the topology (topology.yml) using natural language, it’s entities (functions etc) or IAC using LLMs.
Usage:
tc scaffold --topology [--model <model-id> --skills skills/topology.md]tc scaffold --iac tf|boto|rust|aws-cli [--model <model-id> --skills skills/iac.md]tc scaffold --entity functions [--model <model-id> --skills skills/functions.md]Scaffold topology.yml
Section titled “Scaffold topology.yml”tc scaffold -e AWS_PROFILE --topology> Architecture Description: Generate a topology to compute sum of two numbers. Notify result via channelThis generates a topology.yml, in the current directory, with a high-level abstract structured representation of the topology without leaking any of the infrastructure-specific components in it.
We can also specify a skills file for the topology. It defaults to ./skills/topology.md. This skill or spec could contain a more elaborate description of the topology.
Scaffold IaC
Section titled “Scaffold IaC”One of tc’s goals is to delegate deployments to IAC-based tools. We can use tc’s canonical topology specification, it’s compositional and entity abstractions to generate IAC that can be audited and have a lifecycle of it’s own. tc does best effort to instruct LLMs to conform to the Topology spec and honor it’s boundaries. In doing so, LLMs are able to generate meaningful infrastructure code that can be rendered in any sandbox, account or region. This facilitates agents and humans to collaborate on structured representation of the system - the Topology spec. This spec could drive deployments, orchestration (transducers) and sophisticated CI workflows.
To generate Terraform code:
tc scaffold -e dev --iac tf --out-dir tf [--skills skills/iac.md]Example:
tc scaffold -e dev --iac tfUsing bedrock model us.anthropic.claude-sonnet-4-5-20250929-v1:0
Writing file iac/README.mdWriting file iac/main.tfWriting file iac/terraform.tfvars.exampleWriting file iac/providers.tfWriting file iac/outputs.tfWriting file iac/iam.tfWriting file iac/lambda.tfWriting file iac/apigateway.tfWriting file iac/eventbridge.tfWriting file iac/variables.tfWe can override the skills required to generate IAC using the ./skills/iac.md file.
To generate CDK
tc scaffold -e dev --iac cdk --out-dir cdkOther available iac options: boto, go, rust, aws-cli
Scaffold entities
Section titled “Scaffold entities”tc scaffold --entity functionsThis scaffolds the function directories and function specs.