Erga

Erga is a collaborative environment for expressing ideas with AI. It's meant to fill the gap between Google Docs, where the user writes everything by hand in a narrowly constrained format, and Claude Artifacts, where the user has great expressive freedom but can only exercise it by asking an agent to do everything for them.

It gives users unlimited expressive power without forcing them to give up control over their words.

The concept revolves around a document. Under the hood, a document is a collection of files that can be rendered as a single 'page' in a web browser:

You can use the Erga editor to edit the rendered version of a document. When you do that, your edits are applied directly to the source files, like this:

index.html

Scene 2

VincentAlso, you know what they call a Quarter Pounder with Cheese in Paris?

JulesThey don't call it a Quarter Pounder with Cheese?

VincentNo, they got the metric system there, they wouldn't know what the fuck a Quarter Pounder is.

JulesWhat'd they call it?

The Erga editor is also operable by agents. You can use the embedded agent to do that:

Pulp Fiction
10¢

Scene 2

VincentAlso, you know what they call a Quarter Pounder with Cheese in Paris?

JulesThey don't call it a Quarter Pounder with Cheese?

VincentNo, they got the metric system there, they wouldn't know what the fuck a Quarter Pounder is.

JulesWhat'd they call it?

Page changes will show when the agent finishes · Refresh now
AgentClaude
Ask for an edit. The agent can change any file in this page's folder.
Send

You can bring your own agent too! Use the "share with an agent" button to instruct Claude/Codex/Pi/Whatever to edit your document:

P✦
Let another agent edit this page Paste this into an agent that can run commands on this computer (Claude Code, Codex…).
I'd like your help editing "index.html", an Erga document I have open in my editor. You can read and change it through the editor's API, working as my agent…

API: http://127.0.0.1:4400/api/ext
Token: erga_OIoY…
Copy promptNew tokenCopied

Scene 2

VincentAlso, you know what they call a Quarter Pounder with Cheese in Paris?

JulesThey don't call it a Quarter Pounder with Cheese?

VincentNo, they got the metric system there, they wouldn't know what the fuck a Quarter Pounder is.

JulesWhat'd they call it?

claude
✻ Welcome to Claude Code!cwd: ~/scripts
? for shortcuts

Erga documents are just web pages, and any web page can be an erga document. Erga feels like a normal text editor, but it's much more powerful:

You can try it yourself by editing this document or creating a new one.

Edit