Who it is forA developer extending Endo for a team or personal tool who needs agents and people to edit the same records under the same rules.
The problemWiring a new data type through the API, agent tools and UI by hand means keeping several definitions in sync.
The outcomeA new Resource with a Drizzle table and Effect Schema that exposes a typed API, agent tools and live updates.
What you need first
- A Mac with Apple Silicon for the signed download, or Node.js 24, Bun 1.4.2 and Just for running from source
- An existing codex, claude, Antigravity or grok login, or a provider set up in Settings → Models
- A workspace folder where workflow files can live
Steps
- Clone the repo with
git clone https://github.com/longsurf-ai/endo.gitand enter it withcd endo. - Install dependencies with
just install --frozen-lockfile. - Read the Adding a Resource section in docs/architecture/resource.md.
- Define your table as a Drizzle table and an Effect Schema for the new resource.
- Start the app with
just desktopand confirm the new data appears through the typed API and agent tools.
Prompt for your agent
In the longsurf-ai/endo repo, follow docs/architecture/resource.md to add a Resource for <my data type>, defined once as a Drizzle table and an Effect Schema. Expected output: the new resource exposed through the typed API and agent tools. Verify that an agent tool can read and write a record and that the change shows in the app.
Caveat. The README calls Endo 0.1.x and warns of breaking changes, so a custom Resource may need changes after future updates.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for longsurf-ai/endo and "Add a typed Resource to the Endo app for your own data"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer