Tool GuidesTopic: AI Automation and Agents →

Kitesurf open source browser now available for local deployment

Cloudflare's Kitesurf open source browser engine for AI agents is now on GitHub under Apache 2.0, letting developers run it locally or deploy to Workers.

Headline card: Kitesurf open source browser now available for local deployment
On this page
  1. What changed
  2. Why it matters
  3. What to test
  4. Common questions
  5. The conclusion
  6. Related reading

Cloudflare has released Kitesurf, its open source browser engine for AI agents, on GitHub under the Apache 2.0 license. The company made this commitment when introducing Kitesurf in August and followed up in September with WebMCP support and new APIs. Developers can now inspect the code, run it locally, modify it, and deploy their own instance to Cloudflare Workers.

What changed

The complete Kitesurf repository is now available for the developer community to fork, test, and contribute to. Developers can clone the repository, install dependencies, and start a local development server using standard npm commands. The first build compiles the Rust core and dependencies, with subsequent builds using cached artifacts. When ready, developers can deploy the engine to their own Cloudflare account using a deploy command.

The repository contains three main architectural components: an Engine that manages browser sessions and client connections, PageScript that runs page code and JavaScript, and PageRenderer that draws the output. Kitesurf is built on existing open-source Rust packages compiled to WebAssembly: Blitz for HTML parsing and DOM management, Stylo for CSS processing, Boa for JavaScript execution as a fallback when JavaScript cannot run in Dynamic Workers, and Linebender libraries for text layout and 2D graphics. Krilla generates PDF output. Each project retains its own license, documented in the repository’s NOTICE file.

The engine parses HTML, applies CSS, executes page JavaScript, and renders screenshots without requiring a browser container. It supports the Chrome DevTools Protocol, enabling connection with clients such as Puppeteer.

Why it matters

This release marks the first production-ready open source browser engine specifically designed for AI agent automation. Unlike managed APIs, running Kitesurf locally or on a personal Workers account gives teams full control over their browser infrastructure. Agents can use the Chrome DevTools Protocol to interact with pages, execute JavaScript, take screenshots, and navigate websites while using less CPU and memory than Chromium.

The open source approach allows organizations to inspect how the browser works, audit security, and customize behavior for specific workflows. Teams building AI agent systems can now self-host the entire stack rather than relying on vendor-managed services. Local deployment enables offline testing, rapid iteration on agent behavior, and cost control for high-volume automation tasks. Deployment to Workers also provides scaling across Cloudflare’s global network without server management overhead.

The accessible source code removes vendor lock-in. Developers can fork the project, apply patches, and maintain their own versions if needed. The Apache 2.0 license permits commercial use, modification, and distribution under clear terms.

For organizations running high-volume agent automation, Kitesurf offers a lightweight alternative to full browsers like Chromium. The engine’s efficiency and ability to scale on demand across Cloudflare’s global Workers network addresses a key limitation of traditional browser automation: resource consumption and infrastructure complexity.

What to test

Before adopting Kitesurf for production agent work, teams should verify several capabilities:

Build and deployment: Test the local build process on your development machine to confirm compile times and dependencies match your environment. Verify that the initial build succeeds and that subsequent builds use the cache as stated. Test deployment to your Cloudflare Workers account and confirm it runs without errors.

Performance under load: Run your specific agent workflows against the local instance and measure CPU, memory, and execution time. Compare these metrics to your existing browser automation setup to validate that resource usage aligns with your needs.

JavaScript compatibility: Test pages that use modern JavaScript frameworks and APIs your agents need to interact with. Boa executes JavaScript only when Dynamic Workers cannot run it; verify this behavior with your target sites.

Chrome DevTools Protocol support: If you plan to use Puppeteer or similar CDP clients, confirm that connections to the local endpoint work as expected. Test the provided NodeJS example and adapt it for your agent framework.

Rendering accuracy: Screenshots and DOM parsing should match your target pages. Test pages with complex CSS layouts, images, and responsive design to identify rendering discrepancies early.

Third-party license compliance: The repository includes third-party Rust packages with their own licenses. Review the NOTICE file to ensure compliance with your organization’s legal requirements.

Contribution and customization: If you plan to fork or maintain your own version, test the modification workflow and confirm that your changes survive through new builds and deployments.

Common questions

Can I run Kitesurf without Cloudflare?

Yes. The repository includes everything needed to run Kitesurf locally on your own machine. Clone it, build it, and run a development server at http://127.0.0.1:8787 without any Cloudflare account. Local deployment is suitable for testing and development. If you want to deploy to production, you need a Cloudflare Workers Paid plan because Kitesurf uses Dynamic Workers to create isolated workers for each page.

What open-source projects does Kitesurf use?

Kitesurf builds on several open-source Rust packages compiled to WebAssembly. Blitz handles HTML parsing, DOM structure, layout, and rendering. Stylo manages CSS parsing, cascading, and style computation. Boa runs JavaScript code inside WebAssembly. Linebender libraries provide text layout and 2D graphics, while Krilla generates PDF output. Each project retains its own license, documented in the repository’s NOTICE file.

Can I modify Kitesurf for my own needs?

Yes. The Apache 2.0 license allows modification, distribution, and commercial use. You can fork the repository and maintain your own version. The contribution guidelines recommend opening an issue with a minimal reproduction or proposed approach and getting maintainer feedback before opening a pull request. Focused fixes with tests and clear scope are more likely to be merged quickly.

The conclusion

Kitesurf represents a significant shift in browser automation for AI agents. By open sourcing a production-ready engine built specifically for agent workflows, Cloudflare removes a barrier to self-hosted automation infrastructure. Teams no longer need to choose between expensive managed services or wrestling with Chromium headless mode. Local development and testing follow standard processes, and deployment to Workers provides global scale without server management.

The real value lies in control and transparency. Developers can audit the code, understand exactly how pages are parsed and rendered, and customize behavior for specific needs. The use of established open-source Rust libraries provides confidence that the implementation rests on proven foundations.

Watch for updates to Web Platform Test compatibility scores and performance benchmarks as Cloudflare focuses on reliability and standards compliance. Community contributions will accelerate progress on rendering edge cases and JavaScript compatibility. If your team runs high-volume agent automation, testing Kitesurf locally requires no financial investment; the main consideration is build time on the first run.

AI Tool Herald may earn a commission from some links on this site. It never changes what we report or recommend. Affiliate disclosure