# hackage.haskell.org with an AI agent: 1 task measured

> A real task on hackage.haskell.org, each in a fresh Claude Code session: Playwright MCP used 331K tokens on average, Dejo 331K the first time and 79K on every run after. Steps, calls and right answers per tool.

Canonical: https://dejo.run/sites/hackage-haskell-org

> For AI agents: the index of this site is https://dejo.run/llms.txt, and every page is also served as markdown (add .md to its address, or send Accept: text/markdown).

hackage.haskell.org is the Haskell community's package archive. Claude Code (Claude Sonnet 5) did this task there in brand-new sessions. Playwright MCP used 331K tokens per task on average; Dejo 331K the first time and 79K on every run after.

## Tasks

1. "browse Hackage's packages by category, open the Chess Engine category, open the package listed there and tell me its author"

## Tokens and calls per task

| task | Dejo, first run | Dejo, every run after | Playwright MCP | Playwright CLI |
|---|---|---|---|---|
| 1 | 331K | 79K, 1 call(s) | 331K, 6 calls | 958K, 14 calls |

## Learned and replayed with Dejo on 2026-11-13

Steps Dejo saved:

1. go https://hackage.haskell.org/
2. click link "Packages by category" (by name)
3. click link "Chess Engine" (by name)
4. click link "turncoat" (by name)
5. answer (by position)

Replay: 5 steps in 3.5 s, answer "Alberto Perez".

## FAQ

### How many tokens does an AI agent use on hackage.haskell.org?

In our test, Claude Code with Playwright MCP used 331K tokens per task on hackage.haskell.org on average. Dejo used 331K the first time and 79K on every run after, 76% fewer than Playwright MCP once the task was learned.

### Can Claude Code automate hackage.haskell.org?

Yes. In fresh Claude Code sessions on one task there, Dejo answered 1 of 1 right, Playwright MCP 1 and Playwright CLI 1. With Dejo, a task done once is replayed later without the model reading the pages again.

## Related

- [Dejo: browser automation MCP that remembers websites](https://dejo.run/)
- [Dejo MCP server setup: install in a minute](https://dejo.run/docs)
