Designing Entities

Use when an app developer wants to build an entity (a.k.a. an agent) for their Electric Agents app — designing a single entity type, picking a coordination pattern when needed (single-agent, manager-worker, pipeline, map-reduce, dispatcher, blackboard, reactive-observer), defining state, handler, schemas, and implementing it in one entity file. Applies to any use of `registry.define(...)` / `defineEntity(...)` in a `@electric-ax/agents-runtime` app.

electric-sql Updated

File contents

electric-sql/electric/tree/main/packages/agents-runtime/skills/designing-entities commit 15944ac6a1

Frequently asked questions

npx skillmds@latest add electric-sql/designing-entities