DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add a typed Resource to the Endo app for your own data with Endo

Define one table and schema, then get an API, agent tools and live updates from it.

Short answer: Clone the repo with git clone https://github.com/longsurf-ai/endo.git and enter it with cd endo; then install dependencies with just install --frozen-lockfile; read the Adding a Resource section in docs/architecture/resource.md. All steps.

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

  1. Clone the repo with git clone https://github.com/longsurf-ai/endo.git and enter it with cd endo.
  2. Install dependencies with just install --frozen-lockfile.
  3. Read the Adding a Resource section in docs/architecture/resource.md.
  4. Define your table as a Drizzle table and an Effect Schema for the new resource.
  5. Start the app with just desktop and 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer