feat: integrate Bedrock AgentCore Runtime with JWT authentication#6
Merged
Conversation
Backend (new): - FastAPI server with Claude Agent SDK integration - Session management with slide detection - Unified /invocations endpoint for AgentCore routing - Permission callback system for tool execution Deployment (new): - Dockerfile for ARM64 AgentCore container - Shell scripts for ECR build/push and AgentCore deployment - Config template for AWS environment variables Frontend updates: - AgentCoreClient with JWT token authentication - Expose Cognito tokens (accessToken/idToken) in NextAuth session - Route agent chat through AgentCore when configured Infrastructure (new CDK constructs): - AgentCoreConstruct for runtime deployment - FargateNextJsService for frontend (simplified) - Updated main stack with AgentCore integration Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add Cognito JWT token auto-refresh mechanism (60s before expiry) - Add AgentCoreAuthError handling for 401 responses in chat API - Fix AgentCore construct for two-phase deployment (skipRuntimeCreation) - Fix runtime name validation (use underscores instead of hyphens) - Update .gitignore with Python cache and CDK output patterns - Update README documentation to reflect current architecture Co-Authored-By: Claude Opus 4.5 <[email protected]>
Automatically creates GitHub releases when tags matching 'v*' are pushed. Includes changelog generation from commits since previous tag. Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Backend (AgentCore)
Frontend
Infrastructure
skipRuntimeCreationflag for two-phase deploymentTest plan
🤖 Generated with Claude Code