can i host livekit agent in aws AgentCore?
# ask-ai
b
can i host livekit agent in aws AgentCore?
t
Thanks for reaching out, Aleh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely, LiveKit AgentCore can be hosted on AWS! The great thing is that the LiveKit Agents framework is open source and built to be self-hosted on your own infrastructure, including AWS. A popular way to do this is by using AWS ECS (Elastic Container Service) along with CloudFormation. Here’s a simple overview: • First, you’d build a Docker image for your agent and push it to Amazon ECR (Elastic Container Registry). • Then, you can use a CloudFormation template to set up all the necessary AWS resources like VPC, ECS cluster, and task definitions. • It’s important to store your LiveKit credentials securely, and AWS Secrets Manager is perfect for that. • Finally, you deploy and scale the ECS service to run your agent smoothly. Plus, you have the option to enhance your setup by integrating AgentCore with AWS AI services such as Amazon Transcribe, Polly, and Bedrock. If you’d like to dive deeper, I recommend checking out the AWS ECS Deployment Example on GitHub and the AWS integration documentation. They provide detailed steps to guide you through the process. Sources: LiveKit Pricing | aws-ecs/README.md | livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/llm.py | AWS AI and LiveKit | LiveKit Docs | Ports and firewall | LiveKit Docs
b
not aws aws Bedrock AgentCore
t
Thank you for reaching out! I’d love to help clarify this for you. LiveKit AgentCore can’t be hosted directly on AWS Bedrock. Instead, it works alongside AWS Bedrock by using its amazing AI models, like Anthropic Claude for large language processing, Amazon Nova Sonic for speech-to-speech, Amazon Polly for text-to-speech, and Amazon Transcribe for speech-to-text. The way it works is that the AgentCore logic runs externally and connects to Bedrock through AWS SDKs to use those powerful AI services. Think of AWS Bedrock as a managed service that provides access to AI models, rather than a place to host applications like LiveKit AgentCore. If you’re interested in deploying LiveKit AgentCore, you can definitely host it on AWS infrastructure such as EC2, ECS, or Lambda, and still integrate it with Bedrock to tap into those AI features. I’m here to help if you’d like some guidance on how to set this up—just let me know! Sources: Amazon Bedrock LLM plugin guide | LiveKit Docs | livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realti... | AWS AI and LiveKit | LiveKit Docs