Commit 574b205
committed
feat: add FargateAgentStack as alternative compute backend
Add a new CDK stack that runs autonomous coding agents on AWS Fargate,
orchestrated by Step Functions, as an alternative to AgentCore Runtime.
Key changes:
- Expose shared resources from AgentStack as public properties
- Add FargateAgentCluster construct (ECS cluster, task def, ARM64 container)
- Add TaskStepFunction construct (Step Functions state machine with
Load → Admit → Hydrate → Transition → RunFargate → Finalize flow)
- Add 6 thin Lambda handlers for Step Functions steps
- Add VPC endpoints for ECS and Step Functions
- Wire FargateAgentStack into main.ts alongside existing AgentStack
- Self-install trivy in security:image task to avoid GitHub API rate limits1 parent 03b8c83 commit 574b205
31 files changed
Lines changed: 3346 additions & 56 deletions
File tree
- .github/workflows
- agent
- docs
- .projen
- design
- src/content/docs
- design
- roadmap
- src
- constructs
- handlers/sfn-steps
- stacks
- test
- constructs
- handlers/sfn-steps
- stacks
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
0 commit comments