This generator is used to connect projects together, such as websites calling APIs. Simply select the source project (for example the project that will call your API) and target project (for example your API project), and this generator will handle integrating the two.
The Connection generator supports the following connections:
React to tRPC Call a tRPC API from a React website React to FastAPI Call a Python FastAPI from a React website React to Smithy API Call a Smithy API from a React website React to Python Strands Agent Call a Python Strands Agent from a React website React to TypeScript Strands Agent Call a TypeScript Strands Agent from a React website React to AG-UI Agent Call a Strands Agent exposing the AG-UI protocol from a React website via CopilotKit Python Strands Agent to MCP Connect a Python Strands Agent to an MCP server TypeScript Strands Agent to MCP Connect a TypeScript Strands Agent to an MCP server Python Strands Agent to A2A Agent Connect a Python Strands Agent to a remote A2A agent TypeScript Strands Agent to A2A Agent Connect a TypeScript Strands Agent to a remote A2A agent tRPC API to Relational Database Connect a tRPC API to an Aurora relational database Smithy API to Relational Database Connect a Smithy API to an Aurora relational database TypeScript Strands Agent to Relational Database Connect a TypeScript Strands Agent to an Aurora relational database MCP Server to Relational Database Connect a TypeScript MCP Server to an Aurora relational database
Runtime Configuration
The connection generator makes use of Runtime Configuration to pass deploy-time values (such as API URLs, Cognito settings, and agent runtime ARNs) between generated projects and components at runtime so they can discover and connect to one another.