Softwr

Developer Tools · head to head

AWS CDK vs Letta

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Letta logo

Letta

Automation Integration

Machines that learn

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Letta starts at $20/mo.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Letta falls short: free tier limited to 3 stateful agents.

How do AWS CDK and Letta differ?

AWS CDK and Letta differ on pricing model (Open-source against Freemium), platforms and category. Only the attributes on which AWS CDK and Letta actually diverge.

Attributes where AWS CDK and Letta differ
AttributeAWS CDKLetta
Pricing modelOpen-sourceFreemium
PlatformsWindows, macOS, LinuxWeb
CategoryDeveloper ToolsAutomation Integration

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS CDK

  • Construct Library of reusable components
  • CDK CLI for synthesis and deployment
  • Programmatic CDK Toolkit Library
  • Support for TypeScript, JavaScript, Python, Java, C# and Go
  • Deployment through AWS CloudFormation
  • Custom and shareable constructs
  • Construct Hub registry
  • Open source under Apache 2.0

Only in Letta

Nothing recorded that AWS CDK does not also cover.

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Letta for building agents with memory for continuous learning. The jobs each tool is most often brought in to do.

AWS CDK

  • Defining AWS infrastructure in TypeScript or Pythonnot Letta
  • Reusable internal infrastructure modulesnot Letta
  • Serverless application stacksnot Letta
  • Testing infrastructure with unit testsnot Letta
  • Standardising environments across accountsnot Letta

Letta

  • Building agents with memory for continuous learningnot AWS CDK
  • Enabling reflection during idle periods via sleep-computenot AWS CDK
  • Managing agent context and extracting learningsnot AWS CDK

Where do AWS CDK and Letta fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Letta's: free tier limited to 3 stateful agents. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS CDK

  • Targets AWS only, so it does not provision resources on other clouds
  • Deploys through CloudFormation, so its resource coverage and limits apply
  • Infrastructure written in code can be harder to review than declarative templates
  • The AWS resources it creates are billed separately at standard AWS rates

Letta

  • Free tier limited to 3 stateful agents
  • Pro tier capped at 20 stateful agents
  • API Plan usage charges apply beyond base tier

How much do AWS CDK and Letta cost?

AWS CDK is free to use; Letta has a free plan, with paid plans from $20/mo. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Letta

Free
  • FreeFree
    • Limited agents
    • Limited Letta Auto usage
    • Bring your own API keys
  • Pro$20/mo
    • Weekly and monthly Letta Auto quota
    • Pay-as-you-go overage
    • Up to 20 stateful agents
  • API Plan$20/mo
    • Unlimited agents
    • $0.10/active agent/month
    • $0.00015/second for tool execution
  • Teams Pro$20/mo
    • Per seat pricing
    • Add teammates
    • Letta Auto quota

Which should you pick?

Choose AWS CDK if

  • You need construct library of reusable components.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want cdk cli for synthesis and deployment.

Choose Letta if

  • You want to start without paying.

Questions people ask

Is AWS CDK or Letta better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Letta fits building agents with memory for continuous learning. AWS CDK starts at Free and Letta at Free.
Which is cheaper, AWS CDK or Letta?
AWS CDK starts at Free and Letta at Free.
Does AWS CDK or Letta run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Letta runs on Web.
Can I use AWS CDK for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS CDK best used for?
AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what Letta is typically brought in for.
What can AWS CDK do that Letta cannot?
AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go.

Answered from the vendors’ own pages

AWS CDK: Which languages does AWS CDK support?

The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.

Source
Letta: How much does Letta cost?

Letta offers a free tier, then Pro plan at $20/month with up to 20 stateful agents, API Plan at $20/month base plus usage charges ($0.10/active agent/month, $0.00015/second for tool execution), and Teams Pro at $20/seat/month.

Source
AWS CDK: How does AWS CDK deploy resources?

CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.

Source
Letta: How many agents can I create on the free plan?

The free tier is limited to 3 stateful agents. Pro plan allows up to 20 stateful agents, while API Plan offers unlimited agents.

Source
AWS CDK: Is AWS CDK free?

It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.

Source
Letta: Does Letta charge for tool execution?

On the API Plan, Letta charges $0.00015 per second for tool execution. The Pro and Teams Pro plans include execution in their monthly fee.

Source
AWS CDK: When was AWS CDK first released?

Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.

Source
Share

Related pages

Other head to heads