---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://georgemihai.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://georgemihai.com/.well-known/agent-skills/read-georgemihai-com/SKILL.md"
---

# George Mihai API

George Mihai's portfolio for programs and agents: a read-only JSON API, a search, Markdown copies and feeds. Public, with no key or sign-in.

## What there is

georgemihai.com is George Mihai's portfolio: his work, research publications and essays. Everything on it can be read by a program, without a browser: a JSON API, a search, a Markdown copy of every page, and feeds.

All of it is public and read-only. There is no sign-up, no key and no authentication: send a GET request.

```bash
curl https://georgemihai.com/api/v1
```

- [OpenAPI description](https://georgemihai.com/openapi.json)
- [llms.txt](https://georgemihai.com/llms.txt)

## The JSON API {#api}

Base address `https://georgemihai.com/api/v1`. Every answer is `application/json; charset=utf-8`, open to any origin (CORS), with an `ETag`; send `If-None-Match` to get `304 Not Modified` when nothing changed. Answers are kept by the CDN for five minutes.

- `GET /api/v1`: what the API has, and who George is
- `GET /api/v1/works`: every published project and tool, in the order of the Work page: slug, title, kind, filters, year, description and addresses
- `GET /api/v1/works/{slug}`: one work, with its chapters and its page as Markdown (`body`)
- `GET /api/v1/publications`: his publications, newest first, with abstracts and DOIs
- `GET /api/v1/essays`: the blog's essays, each with its language, topic and its other version when it is in English and Romanian; `?lang=en` or `?lang=ro` for one language
- `GET /api/v1/search?q={query}`: the search below, as JSON
- `GET /api/v1/about`: the About page: his own words, roles and studies

The essays come from the blog as it is now; if the blog does not answer within a second and a half, from the site's last build (`"source": "build"`).

- [openapi.json](https://georgemihai.com/openapi.json)

## Examples

Every work, then one of them:

```bash
curl https://georgemihai.com/api/v1/works
curl https://georgemihai.com/api/v1/works/poiesis-lab
```

The essays in English, and a search over everything:

```bash
curl "https://georgemihai.com/api/v1/essays?lang=en"
curl "https://georgemihai.com/api/v1/search?q=airport+research"
```

A page as Markdown, by its address with `.md` or by asking for it:

```bash
curl https://georgemihai.com/work/poiesis-lab.md
curl -H "Accept: text/markdown" https://georgemihai.com/research
```

## Search for agents

`GET https://georgemihai.com/.well-known/search?q={query}` searches every page and essay with keywords or a question, in English or Romanian, and answers in Markdown: the best matches (eight at most), each with its address, where it comes from, an essay's language and a passage around the words. `/api/v1/search` gives the same results as JSON.

```bash
curl "https://georgemihai.com/.well-known/search?q=adaptive+interfaces"
```

Every page names it in its head (the `agent:` tags) and in the front matter of its Markdown copy.

- [The agent skill](https://georgemihai.com/.well-known/agent-skills/read-georgemihai-com/SKILL.md)

## Every page as Markdown

Add `.md` to a page's address, or send `Accept: text/markdown`: `https://georgemihai.com/home.md`, `https://georgemihai.com/work.md`, `https://georgemihai.com/work/{name}.md`, `https://georgemihai.com/research.md`, this page at `https://georgemihai.com/developers.md`.

The blog too: an essay at `https://georgemihai.com/blog/{slug}.md` (or its address with `Accept: text/markdown`) is its title, author, date, language, topic and whole text; `https://georgemihai.com/blog/index.md` lists every essay, and a topic's or the author's page answers in Markdown the same way.

`https://georgemihai.com/llms.txt` lists every page with a line each; `https://georgemihai.com/llms-full.txt` is every page in one file; `https://georgemihai.com/sitemap.xml` and `https://georgemihai.com/blog/sitemap.xml` name every address.

- [llms.txt](https://georgemihai.com/llms.txt)
- [llms-full.txt](https://georgemihai.com/llms-full.txt)

## Feeds

The essays as RSS, the newest first: `https://georgemihai.com/blog/rss/`.

## Tools in the browser

In a browser that offers WebMCP (`navigator.modelContext`), every page registers read-only tools for an agent working in it: `list_work`, `read_work`, `list_publications`, `search_site` and `open_page`. They read the same Markdown copies and search; nothing is sent anywhere.

`https://georgemihai.com/.well-known/poppy.json` (Personal Agent Protocol) declares the site website-only: an agent browses it as any signed-out visitor.

## Errors {#errors}

Errors are RFC 9457 Problem Details, `application/problem+json`, with `type`, `title`, `status`, `detail` and `instance`, and two members of the site's own: `hint`, where to go next, and `links` (llms.txt, the sitemap, the search and this page). A client that prefers `text/markdown` gets the same in Markdown, and the Markdown search keeps Markdown unless JSON is asked for. A missing page asked for with `Accept: text/markdown` or `Accept: application/json` gets a 404 in that format; a browser keeps the site's own page.

```bash
curl -i -H "Accept: application/json" https://georgemihai.com/no-such-page
```

### 404 Not found {#error-not-found}

No page, work, topic or resource at that address.

### 400 Bad request {#error-bad-request}

A search without `q`, or `lang` other than `en` or `ro`.

### 405 Method not allowed {#error-method-not-allowed}

Anything but GET or HEAD (and OPTIONS on the API). The answer's `Allow` header says which.

### 502 The blog did not answer {#error-upstream}

A blog page's Markdown copy could not be made in time. Try again after the `Retry-After` seconds.

## Versions and deprecation {#versioning}

The API's version is in its path, `/api/v1`, and in `info.version` of openapi.json (1.0.0). Within v1, changes only add: new resources, new fields. A change that would break a client (a field removed or renamed, a different meaning) comes as `/api/v2`, and v1 stays for at least six months after that. During those months every v1 answer carries a `Deprecation` header (RFC 9745), a `Sunset` header with its last day (RFC 8594), and a `Link` to v2's documentation; this page says so too.

There is no API key, no quota and no documented rate limit, and the answers carry no rate-limit headers. The hosting platform can still refuse a flood of requests: on `429` or `503`, back off and wait the `Retry-After` seconds when it is given. Please keep to a few requests a second; answers are cached for five minutes.

## Contact

George Mihai, hi@georgemihai.com. His code is on [GitHub](https://github.com/gorgmihai92). The site's content may be quoted and cited, not used for training (robots.txt: search=yes, ai-input=yes, ai-train=no).

- [GitHub](https://github.com/gorgmihai92)
