TypeScript Local Demo
Prerequisites
- Node.js and npm installed
- AWS account with appropriate permissions
- Basic familiarity with TypeScript and async/await patterns
Quick Setup
- Create a new project:
- Install dependencies:
Implementation
-
Create a new file named
quickstart.ts
: -
Initialize the orchestrator:
- Add specialized agents:
- Implement the main logic:
- Run the application:
Implementation Notes
- Uses default Bedrock Classifier with
anthropic.claude-3-5-sonnet-20240620-v1:0
- Utilizes Bedrock LLM Agent with
anthropic.claude-3-haiku-20240307-v1:0
- Implements in-memory storage by default
Next Steps
- Add additional specialized agents
- Implement persistent storage with DynamoDB
- Add custom error handling
- Implement streaming responses
Ready to build your own multi-agent chat application? Check out the complete source code in our GitHub repository.