Skip to content

feat: add VPC network mode to TUI wizard#448

Closed
tejaskash wants to merge 1 commit intomainfrom
feature/vpc-tui-support
Closed

feat: add VPC network mode to TUI wizard#448
tejaskash wants to merge 1 commit intomainfrom
feature/vpc-tui-support

Conversation

@tejaskash
Copy link
Copy Markdown
Contributor

Summary

  • Adds VPC network mode configuration (network mode, subnets, security groups) to the interactive TUI wizard for both Create (template-based) and BYO (bring your own code) flows
  • Excludes Exa AI MCP client from generated agent code and skips rendering the mcp_client/ directory when VPC mode is selected, since VPC agents may lack public internet access
  • Shows VPC warnings in the dev and invoke TUI screens so users are aware of networking differences

Test plan

  • npm run build — TypeScript compiles
  • npm test — all 1776 tests pass
  • npm run lint — no lint errors
  • Verified generated main.py for all frameworks (Strands, LangChain/LangGraph, GoogleADK, OpenAI Agents) excludes MCP client in VPC mode and includes it in PUBLIC mode
  • Verified mcp_client/ directory is not rendered for VPC projects
  • Verified agentcore.json contains correct networkMode and networkConfig fields
  • Manual smoke test: agentcore create → walk through wizard → verify VPC steps appear, validation works, PUBLIC skips subnet/SG steps, confirm shows VPC info
  • Manual smoke test: agentcore add agent --type byo → verify VPC steps in BYO path

Add VPC configuration steps (network mode, subnets, security groups) to both
the Create (template-based) and BYO (bring your own code) TUI wizards.
When VPC mode is selected, the Exa AI MCP client is excluded from generated
agent code and the mcp_client/ directory is not rendered, since VPC agents
may not have public internet access. VPC warnings are shown in the dev and
invoke TUI screens.
@tejaskash tejaskash requested a review from a team February 25, 2026 19:10
@github-actions github-actions Bot added the size/m PR size: M label Feb 25, 2026
from autogen_core.tools import FunctionTool
from bedrock_agentcore.runtime import BedrockAgentCoreApp
from model.load import load_model
{{#unless isVpc}}
from agents import Agent, Runner, function_tool
from bedrock_agentcore.runtime import BedrockAgentCoreApp
from model.load import load_model
{{#unless isVpc}}
from langchain.tools import tool
from bedrock_agentcore.runtime import BedrockAgentCoreApp
from model.load import load_model
{{#unless isVpc}}
@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 43.76% 2989 / 6829
🔵 Statements 43.35% 3147 / 7259
🔵 Functions 45.3% 617 / 1362
🔵 Branches 48.49% 1959 / 4040
Generated in workflow #708 for commit c68604f by the Vitest Coverage Report Action

@tejaskash
Copy link
Copy Markdown
Contributor Author

Splitting into two PRs: template changes and TUI changes

@tejaskash tejaskash closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant