Add an AI chatbot
to any website
Self-hosted, open-source AI chat infrastructure. Deploy in your own AWS account, connect your MCP server, and give every visitor an authenticated AI assistant.
How it works
Clone & configure
Clone the repo into your own AWS account. Set your MCP server URL, OIDC provider, and domain in the config.
Embed one line of code
Drop a single script tag into your site. The chat widget renders inside a Shadow DOM — zero style conflicts.
Your users chat with AI
Visitors get a conversational AI that can call your tools, scoped to their permissions and session.
Built for production
Everything you need to ship a secure, branded AI experience to your users.
Authenticated (JWT)
Every chat session is tied to a signed JWT. Your backend always knows who is talking.
User-scoped tool calls
MCP tool invocations carry the end-user context so your server can enforce per-user access control.
White-label
Customize colors, position, welcome message, and avatar to match your brand perfectly.
Streaming responses
Answers stream token-by-token for a fast, responsive experience your users will love.
Any MCP server
Works with any server that speaks the Model Context Protocol — bring your own tools.
Shadow DOM isolation
The widget is fully encapsulated. Your page styles stay untouched, and vice versa.
Quick Start
Go from zero to deployed in three commands.
# Clone the repository
git clone https://github.com/avarant/agent77.git
# Configure and deploy
cd agent77/terraform
cp terraform.tfvars.example terraform.tfvars
# Deploy to your AWS account
terraform init && terraform apply
Deploy in your AWS account
Own your infrastructure. Keep your data. Ship AI chat in minutes.
Deploy Now