Guides
How to add an AI agent to your web framework
Every web framework can host an AI agent: a server endpoint that calls a model with tools, runs those tools as the signed-in user, and streams the result to the page. Each guide below shows the libraries and code for one framework, the production checks that matter there, and when embedding an in-app agent with Bunkhouse is the shorter path.
JavaScript and TypeScript
- How to add an AI agent to Angular
- How to add an AI agent to Astro
- How to add an AI agent to Express
- How to add an AI agent to Fastify
- How to add an AI agent to Hono
- How to add an AI agent to NestJS
- How to add an AI agent to Next.js
- How to add an AI agent to Nuxt
- How to add an AI agent to React
- How to add an AI agent to SvelteKit
- How to add an AI agent to Vue
Python
Java
- How to add an AI agent to Micronaut
- How to add an AI agent to Quarkus
- How to add an AI agent to Spring Boot
C# and .NET
PHP
- How to add an AI agent to CodeIgniter
- How to add an AI agent to Laravel
- How to add an AI agent to Symfony
Ruby
Go
- How to add an AI agent to chi
- How to add an AI agent to Echo
- How to add an AI agent to Fiber
- How to add an AI agent to Gin
Rust
Comparing approaches before choosing a framework library? Start with how to add AI to your website.