Hono: Web application primitives for the AI era

Web Performance & Frameworks

About the session

Modern AI agents and full-stack frameworks need more than agents, content, or UIs. They need web application primitives: routing, middleware, request context, streaming, and runtime portability. In this lightning talk, learn how Hono is used by or integrated into tools and frameworks like Astro, Flue, Mastra, and Void; how you can use Hono within those frameworks; and how to apply the same web layer pattern in your own applications. Also learn how to structure agent endpoints, compose middleware for auth and validation, and design HTTP interfaces that can run across Cloudflare Workers, Node.js, Bun, and Deno.
View transcript

0:02thank you thank you for coming hi i'll talk about one of web application primitive 4g era i'm uh i'm yusuke with uh i'm a yusuke a senior developer of gate cloud fair and at void zero team and i'm a web application developer i'm from yokohama japan and i love making pasta and i host a lot of events, and second, next is very important things. I am the creator of Hono. Do you know Hono?

0:43Everyone know Hono?

0:49Have you used Hono? Oh. Okay. I'm talking about Hono. in the AI era. So, let's talk about HONO today. So, I started to build HONO on December 50, 2021. And current, the latest version is HONO 4.13. So, almost for five years. So then, HONO has a lot of GitHub starts and NPM downloads. So, now GitHub is 32K starts and... NPMs, 300 million downloads on a month. So, it's more than Next .js.

1:32So, in State of JS, last year, we had a 95 % satisfaction. And in SDR, with Beatest and Astro, who uses Hono, a big company in Japan, like Cyber Agent Software. uses HONO. And the biggest company, biggest user is Cloudflare. Woo! Cloudflare uses HONO internally, like VRK, VR2, and other products. And we have big community like HONO Conference. HONO Conference in this year is the third one.

2:18And we have 160. attendees. So, one is growing and people really love it. So, let's go to the main topic. I found that HONO has two sides in Jaira. One is built on HONO. This is frameworks use HONO. Second is built with HONO. This means agent build application with HONO. So, first one is built on HONO. Now, many frameworks and libraries use HONO, like mcpsdk. mcpsdk has a lot of downloads, so HONO has them.

2:59I introduced three in particular today. So one is Astoro. Astoro is a framework for content-driven website. It's by Astoro in Cloudflare team, Cloudflare. And you can use HONO in... advanced routing future in Astro. So Astro's future is a middleware of HONO, so you can use them with app use method. So this is HONO, so you can write your own API. You can use the middleware, HONO's middleware, the same way. And second is FULU. FULU is a framework for building AI agent in TypeScript.

3:44It's also by Astro Team in Cloudflare. So you can write the entry point with HONO. So the Create Agent Router, this is HONO's application. So you can use it with app root method. So this is a HONO application. So you can make your own API root, or you can use HONO's middleware. So third one. is Void. Void is from our team. So it's a full -stack web framework, and platform, and CLI, and it's built on Cloudflare. So Hono is completely used on or built on Hono. So this is Hono. So this is Hono, but this is Hono because this C is Hono.

4:40context flow, you can write C equal to JSON. It's the same way as Hono. So, in node 3, the HTTP layer is Hono. So, if you use these frameworks, you already use Hono. So, then why? Why these frameworks use Hono? So, Hono handle request and put into framework, and it get get request from framework and it put to the HTTP client. So, HONO runs on web standards API like request, URL, form data, response. So, if these frameworks use Web API, so these frameworks use HONO very easily.

5:29So, as a result, it runs everywhere, like Cloudflare, Node.js, Dino, or BAM. And HONO is super small, and it has zero dependency, so if a framework uses HONO, it only adds one package. And routing is very easy, so the framework doesn't need to implement their own routing method. So HONO has a lot of middlewares and helpers, like authentication, validation, logging, and of course. and more, so you don't build, implement them yourself. So Hono's middleware works as is. So this is important, this is important.

6:16You know Hono, so many users know Hono, so there's nothing new to learn. So if you already know Hono, you can use this framework right away. So that's why these frameworks choose HONO. Let's go to the next topic built with HONO. Then did you write code yourself? I think humans stop writing code, so AI start writing code. So now AI becomes a user. So we have to make HONO for AI. have to know error better. So, to do it, we started a project named AgentDx.

7:06So, in AgentDx, we measure the ds of agent using HONO. It's not dx for human. So, we measure this with a method called eval. So, what is an eval? So, we put the prompt to the agent and agent write a code. box and we test the cold uh ai lot or another static analyze and so then test and after it compare success rate and token and time so we have three experiments for the agent dx finds adoption value practical so let's see them first is adoption Does AI really use HONO?

8:00So, to measure this, we ask the agent to do the task to build the application with HONO. So, without saying which framework to use. Then, check which framework to use. So, this is the result for 5.4.5. So, with no hint, AI... doesn't use the framework. But if we say use a framework, it uses user one for each runtime, like HONO on workers, Erigia on BAM, or Express on Node.js. So this is a result of Hive 5. With no hint, AI doesn't use framework either.

8:48But we say use a framework, it uses HONO. even no BAM and Dino, except on Node.js. So these results are very interesting. So with nothing, AI likes playing handlers without HONO and smarter models pick HONO more. So this means smarter models like HONO.

9:20This is also interesting. If there is HONO in package.json, AI uses HONO five out of five, even on Node.js. So we can say AI doesn't use a framework on its own, but with a small hit with like HONO in package .json, it picks HONO. So it's very interesting. So second experiment is value. So does AI really write better with HONO? So, to measure it, we ask the AI to do the same task two ways. One is brain-fetch handler, one is with Honol, and compare them. So, this is the result.

10:05And what we found, with Honol, 30 % to 40 % less code, and 50 % to 30 % fewer tokens. So, on the harder task, a higher success rate.

10:19So we can say Hono is good for AI. So this is good for me. And so these are interesting. And for these results, we didn't know them until we measured them. So measuring it with info is very important. You should do it. So it's practical. So how do we make Hono better for agents? Yes, so this is good for me. is very important for us. So to do this, we ask the task to the agent, look at the result, and improve HONO itself, and repeat it again. So we had several measurements, but one of the most interesting one is DevServer, about DevServer.

11:08So we create a platform application, and we said to to the agent, add endpoint, then 15 out of 15 runs start Angular dev server and hang. So why? Because package.json has a dev script, like dev, Angular dev. So this is super surprised me. So because just one line in package.json made the agent hang. So this is a problem. But so we, to solve this, we built a new tool. Hono CLI. is a CLI that helps AI coding agent build apps.

11:54So Hono CLI has a similar command like init, root, request, batch, snapshot, and adults. And output is JSON by default. So it's for agent. And one of the command I like is... request. This is interesting. So, it sends a request to your application without running actual server. So, please imagine, for no request is like a car command with a server, without a server. So, like this, for no request slash is sending get request to slash, and for no request x, post the data slash users send post. request to the slash users.

12:40It's like a call, and these options are the same as call. So this is another command for the batch. This sends many, many requests at once to your application and checks the result. It can test the response, so it checks the pass or fail. And this command is very useful refactoring. This is the HonoSnapShop. It can save the current behavior on your application to a file. So, you can use the file with HonoBatch command. So, it can check the application is changed or nothing, or changed or not changed.

13:25So, let the agent use HonoShare, right? So, we ask the agent to do the same task two ways. One way... is without CLI, 1A is with CLI skills, then compare them. This is the result for Sonnet 5. So, success rate went up 100 % and time is improved. So, this is another example. We said build a counter and add a password to the agent. So, without a CLI, so agents stop my other dev servers. And with CLI, no server and no hang. So, the turns, fewer turns, less time.

14:13So, we can say, with HONO CLI, no server, no hang, and it's safe. And no waiting. So, sometimes it's faster. And AJ doesn't need their own testing tool by itself, because HONO CLI provide them. So with HONO Sheerer, the agent doesn't get stuck. So we also provide HONO skills. This teach your agent how to write your HONO application and how to use HONO Sheerer. So if the agent use HONO, give your agent HONO Sheerer and skills. Let's look back. So we talk about two sides of HONO. One is built-on. This means frameworks use HONO.

15:01Second is build with HONO. Agent build apps with HONO. So HONO is web application primitives. So you can get started this command with for HONO-CLA and scales. And it's good news. HONO-P5 and HONO-CLA 1.0 are released soon. So you can try RC version. This kind of the version with these commands. So, in the AI-Hera, use HONO. Thank you. And I'll be speaker connection down, so let's say hi. And your feedback is important. Please complete session or survey in the application.

Browse all
Connect 2027

Connect returns in 2027

Be the first to know when registration opens and the agenda goes live.

By submitting this form, you agree to our Privacy Policy.

cloudflare-connect-2026

---
title: "Hono: Web application primitives for the AI era"
url: "https://www.cloudflare.com/connect/2026/session/hono-web-application-primitives-for-the-ai-era"
year: 2026
---

# Hono: Web application primitives for the AI era

[Watch session](https://www.cloudflare.com/connect/2026/session/hono-web-application-primitives-for-the-ai-era)

## Session details

- **Track:** Web Performance & Frameworks
- **Topics:** Agentic AI & MCP, App modernization, Programmable Platforms
- **Solution areas:** Developer Platform

## About this session

Modern AI agents and full-stack frameworks need more than agents, content, or UIs. They need web application primitives: routing, middleware, request context, streaming, and runtime portability. In this lightning talk, learn how Hono is used by or integrated into tools and frameworks like Astro, Flue, Mastra, and Void; how you can use Hono within those frameworks; and how to apply the same web layer pattern in your own applications. Also learn how to structure agent endpoints, compose middleware for auth and validation, and design HTTP interfaces that can run across Cloudflare Workers, Node.js, Bun, and Deno.

## Speakers

- [Yusuke Wada](https://www.cloudflare.com/connect/speakers/2405310) — Senior Developer Advocate, Cloudflare

## Transcript

[0:02] thank you thank you for coming hi i'll talk about one of web application primitive 4g era i'm uh i'm yusuke with uh i'm a yusuke a senior developer of gate cloud fair and at void zero team and i'm a web application developer i'm from yokohama japan and i love making pasta and i host a lot of events, and second, next is very important things. I am the creator of Hono. Do you know Hono?

[0:43] Everyone know Hono?

[0:49] Have you used Hono? Oh. Okay. I'm talking about Hono. in the AI era. So, let's talk about HONO today. So, I started to build HONO on December 50, 2021. And current, the latest version is HONO 4.13. So, almost for five years. So then, HONO has a lot of GitHub starts and NPM downloads. So, now GitHub is 32K starts and... NPMs, 300 million downloads on a month. So, it's more than Next .js.

[1:32] So, in State of JS, last year, we had a 95 % satisfaction. And in SDR, with Beatest and Astro, who uses Hono, a big company in Japan, like Cyber Agent Software. uses HONO. And the biggest company, biggest user is Cloudflare. Woo! Cloudflare uses HONO internally, like VRK, VR2, and other products. And we have big community like HONO Conference. HONO Conference in this year is the third one.

[2:18] And we have 160. attendees. So, one is growing and people really love it. So, let's go to the main topic. I found that HONO has two sides in Jaira. One is built on HONO. This is frameworks use HONO. Second is built with HONO. This means agent build application with HONO. So, first one is built on HONO. Now, many frameworks and libraries use HONO, like mcpsdk. mcpsdk has a lot of downloads, so HONO has them.

[2:59] I introduced three in particular today. So one is Astoro. Astoro is a framework for content-driven website. It's by Astoro in Cloudflare team, Cloudflare. And you can use HONO in... advanced routing future in Astro. So Astro's future is a middleware of HONO, so you can use them with app use method. So this is HONO, so you can write your own API. You can use the middleware, HONO's middleware, the same way. And second is FULU. FULU is a framework for building AI agent in TypeScript.

[3:44] It's also by Astro Team in Cloudflare. So you can write the entry point with HONO. So the Create Agent Router, this is HONO's application. So you can use it with app root method. So this is a HONO application. So you can make your own API root, or you can use HONO's middleware. So third one. is Void. Void is from our team. So it's a full -stack web framework, and platform, and CLI, and it's built on Cloudflare. So Hono is completely used on or built on Hono. So this is Hono. So this is Hono, but this is Hono because this C is Hono.

[4:40] context flow, you can write C equal to JSON. It's the same way as Hono. So, in node 3, the HTTP layer is Hono. So, if you use these frameworks, you already use Hono. So, then why? Why these frameworks use Hono? So, Hono handle request and put into framework, and it get get request from framework and it put to the HTTP client. So, HONO runs on web standards API like request, URL, form data, response. So, if these frameworks use Web API, so these frameworks use HONO very easily.

[5:29] So, as a result, it runs everywhere, like Cloudflare, Node.js, Dino, or BAM. And HONO is super small, and it has zero dependency, so if a framework uses HONO, it only adds one package. And routing is very easy, so the framework doesn't need to implement their own routing method. So HONO has a lot of middlewares and helpers, like authentication, validation, logging, and of course. and more, so you don't build, implement them yourself. So Hono's middleware works as is. So this is important, this is important.

[6:16] You know Hono, so many users know Hono, so there's nothing new to learn. So if you already know Hono, you can use this framework right away. So that's why these frameworks choose HONO. Let's go to the next topic built with HONO. Then did you write code yourself? I think humans stop writing code, so AI start writing code. So now AI becomes a user. So we have to make HONO for AI. have to know error better. So, to do it, we started a project named AgentDx.

[7:06] So, in AgentDx, we measure the ds of agent using HONO. It's not dx for human. So, we measure this with a method called eval. So, what is an eval? So, we put the prompt to the agent and agent write a code. box and we test the cold uh ai lot or another static analyze and so then test and after it compare success rate and token and time so we have three experiments for the agent dx finds adoption value practical so let's see them first is adoption Does AI really use HONO?

[8:00] So, to measure this, we ask the agent to do the task to build the application with HONO. So, without saying which framework to use. Then, check which framework to use. So, this is the result for 5.4.5. So, with no hint, AI... doesn't use the framework. But if we say use a framework, it uses user one for each runtime, like HONO on workers, Erigia on BAM, or Express on Node.js. So this is a result of Hive 5. With no hint, AI doesn't use framework either.

[8:48] But we say use a framework, it uses HONO. even no BAM and Dino, except on Node.js. So these results are very interesting. So with nothing, AI likes playing handlers without HONO and smarter models pick HONO more. So this means smarter models like HONO.

[9:20] This is also interesting. If there is HONO in package.json, AI uses HONO five out of five, even on Node.js. So we can say AI doesn't use a framework on its own, but with a small hit with like HONO in package .json, it picks HONO. So it's very interesting. So second experiment is value. So does AI really write better with HONO? So, to measure it, we ask the AI to do the same task two ways. One is brain-fetch handler, one is with Honol, and compare them. So, this is the result.

[10:05] And what we found, with Honol, 30 % to 40 % less code, and 50 % to 30 % fewer tokens. So, on the harder task, a higher success rate.

[10:19] So we can say Hono is good for AI. So this is good for me. And so these are interesting. And for these results, we didn't know them until we measured them. So measuring it with info is very important. You should do it. So it's practical. So how do we make Hono better for agents? Yes, so this is good for me. is very important for us. So to do this, we ask the task to the agent, look at the result, and improve HONO itself, and repeat it again. So we had several measurements, but one of the most interesting one is DevServer, about DevServer.

[11:08] So we create a platform application, and we said to to the agent, add endpoint, then 15 out of 15 runs start Angular dev server and hang. So why? Because package.json has a dev script, like dev, Angular dev. So this is super surprised me. So because just one line in package.json made the agent hang. So this is a problem. But so we, to solve this, we built a new tool. Hono CLI. is a CLI that helps AI coding agent build apps.

[11:54] So Hono CLI has a similar command like init, root, request, batch, snapshot, and adults. And output is JSON by default. So it's for agent. And one of the command I like is... request. This is interesting. So, it sends a request to your application without running actual server. So, please imagine, for no request is like a car command with a server, without a server. So, like this, for no request slash is sending get request to slash, and for no request x, post the data slash users send post. request to the slash users.

[12:40] It's like a call, and these options are the same as call. So this is another command for the batch. This sends many, many requests at once to your application and checks the result. It can test the response, so it checks the pass or fail. And this command is very useful refactoring. This is the HonoSnapShop. It can save the current behavior on your application to a file. So, you can use the file with HonoBatch command. So, it can check the application is changed or nothing, or changed or not changed.

[13:25] So, let the agent use HonoShare, right? So, we ask the agent to do the same task two ways. One way... is without CLI, 1A is with CLI skills, then compare them. This is the result for Sonnet 5. So, success rate went up 100 % and time is improved. So, this is another example. We said build a counter and add a password to the agent. So, without a CLI, so agents stop my other dev servers. And with CLI, no server and no hang. So, the turns, fewer turns, less time.

[14:13] So, we can say, with HONO CLI, no server, no hang, and it's safe. And no waiting. So, sometimes it's faster. And AJ doesn't need their own testing tool by itself, because HONO CLI provide them. So with HONO Sheerer, the agent doesn't get stuck. So we also provide HONO skills. This teach your agent how to write your HONO application and how to use HONO Sheerer. So if the agent use HONO, give your agent HONO Sheerer and skills. Let's look back. So we talk about two sides of HONO. One is built-on. This means frameworks use HONO.

[15:01] Second is build with HONO. Agent build apps with HONO. So HONO is web application primitives. So you can get started this command with for HONO-CLA and scales. And it's good news. HONO-P5 and HONO-CLA 1.0 are released soon. So you can try RC version. This kind of the version with these commands. So, in the AI-Hera, use HONO. Thank you. And I'll be speaker connection down, so let's say hi. And your feedback is important. Please complete session or survey in the application.

## Related sessions

- [A runtime for developers and their agents](https://www.cloudflare.com/connect/2026/session/a-runtime-for-developers-and-their-agents)
- [Self-hosting Durable Objects](https://www.cloudflare.com/connect/2026/session/self-hosting-durable-objects)
- [TanStack Start, and the rest of the TanStack ecosystem](https://www.cloudflare.com/connect/2026/session/tanstack-start-and-the-rest-of-the-tanstack-ecosystem)

## More from Connect

- [All sessions](https://www.cloudflare.com/connect/)
- [Get notified for Connect 2027](https://www.cloudflare.com/connect#2027)