# OpenGSO | Sherwin Vishesh Jathanna

> OpenGSO (Open Generative Search Optimization) is an open-source toolkit that makes any website readable by AI agents. It scores a site from 0 to 100, generates…

Source: https://www.sherwinvishesh.com/project/opengso  
Copyright 2026 Sherwin Vishesh Jathanna. Text may be quoted with attribution. The design and source code are not licensed for reuse.

OpenGSO (Open Generative Search Optimization) is an open-source toolkit that makes any website readable by AI agents. It scores a site from 0 to 100, generates a Markdown twin of every page along with robots.txt, llms.txt, and sitemap.xml, and serves that twin to agents at the same URL, with any framework.

AI agents now read the web on people's behalf, but most of the web was written for browsers: content that only appears after JavaScript runs, pages buried in markup, and no clear signal of what an agent should read. **OpenGSO**, short for *Open Generative Search Optimization*, is an open-source toolkit that makes any website readable by agents, and it does it in three commands.

### Test, generate, prod

`opengso test` scores what an agent actually receives from a site, from 0 to 100, with a plain reason for every check and a fix prompt for **Claude Code** a flag away. `opengso generate` writes a clean **Markdown twin** of every page, along with `robots.txt`, `llms.txt`, and `sitemap.xml`. And `opengso-prod`, a middleware with *zero dependencies*, serves that twin to AI agents at the very same URL through content negotiation, while browsers and search engines keep getting the normal HTML.

### A score that means something

Of its 22 checks, only seven make the score: crawler access, a sitemap, server-rendered content, speed, no opt-out tag, HTTPS, and a working HTML page, so a well-built site can reach 100 before installing anything. The other fifteen, like `llms.txt`, **JSON-LD**, and the Markdown layer itself, are tracked as suggestions and never padded into the number, and every row names the check, what it verifies, and the value it actually observed. On the project's bundled **Next.js** demo, the score climbs from 65 to 100 after a generate that takes 126 milliseconds, and the page an agent downloads for `/resume` shrinks from 13,671 bytes of HTML to 1,886 bytes of Markdown.

### Same URL, never a redirect

OpenGSO never redirects an agent, because a redirect changes the link it records and cites. Instead the same URL answers with different bytes, described properly with `Vary`, `Link`, and `ETag` headers, and no search crawler is ever routed to Markdown. One adapter per kind of server covers **Next.js**, Express, Fastify, Nuxt, SvelteKit, Astro, Hono, **Vite**, and even **Cloudflare Workers**, and a plain folder of HTML files on GitHub Pages works with no server at all. There is no headless browser, no account, and no telemetry, and the optional AI features work with 25 providers, from **Anthropic** to models running on your own machine.

## At a glance

- **Timeline:** Sep 2026 - Nov 2026
- **Type:** Open-Source Toolkit

## Technologies

- JavaScript (JSDoc types)
- Node.js
- jsdom
- Markdown
- HTTP Content Negotiation
- llms.txt
- JSON-LD
- Next.js
- Vite
- Cloudflare Workers
- Vitest

## Categories

- AI/ML
- Web App

## Links

- [GitHub](https://github.com/sherwinvishesh/OpenGSO)
- [Website](https://sherwinvishesh.github.io/OpenGSO/)
- [npm](https://www.npmjs.com/package/opengso)
