{"data":{"slug":"electric-sql-electric","name":"electric","tagline":"An agent platform built on sync.","github_url":"https://github.com/electric-sql/electric","owner":"electric-sql","repo":"electric","owner_avatar_url":"https://avatars.githubusercontent.com/u/96433696?v=4","primary_language":"TypeScript","stars":10327,"forks":366,"topics":["agent","agents","crdt","crdts","data","elixir","platform","postgres","replication","runtime","sync"],"archived":false,"github_pushed_at":"2026-08-14T03:30:49+00:00","maintenance_label":"Very active","stars_delta_30d":53,"url":"https://www.graphcanon.com/tools/electric-sql-electric","markdown_url":"https://www.graphcanon.com/tools/electric-sql-electric.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/electric-sql-electric","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=electric-sql-electric","description":"The agent platform built on sync.","homepage_url":"https://electric.ax","license":"Apache-2.0","open_issues":254,"watchers":49,"ai_summary":"Electric-SQL/electric is a platform built around data synchronization using CRDTs, allowing developers to interact with Postgres via HTTP API or various client integrations. It supports logical replication and uses TypeScript as primary language.","readme_excerpt":"## Getting Started\n\nSee the [Quickstart guide](https://electric-sql.com/docs/quickstart) to get up and running. In short, you need to:\n\n1. have a Postgres database with logical replication enabled; and then to\n2. run Electric in front of it, connected via `DATABASE_URL`\n\nFor example, using [Docker Compose](https://docs.docker.com/compose/) from the root of this repo:\n\n```sh\ndocker compose -f .support/docker-compose.yml up\n```\n\nYou can then use the [HTTP API](https://electric-sql.com/docs/api/http) to sync data from your Postgres. For example, to start syncing the whole `foo` table:\n\n```sh\ncurl -i 'http://localhost:3000/v1/shape?table=foo&offset=-1'\n```\n\nOr use one of the clients or integrations, such as the [`useShape`](https://electric-sql.com/docs/api/integrations/react) React hook:\n\n```jsx\nimport { useShape } from '@electric-sql/react'\n\nfunction Component() {\n  const { data } = useShape({\n    url: `http://localhost:3000/v1/shape`,\n    params: {\n      table: `foo`,\n      where: `title LIKE 'foo%'`,\n    },\n  })\n\n  return JSON.stringify(data)\n}\n```\n\nAgain, see the [Quickstart](https://electric-sql.com/docs/quickstart) and the [Docs](https://electric-sql.com) for more details.","github_created_at":"2022-06-01T14:18:11+00:00","created_at":"2026-07-07T17:39:24.403128+00:00","updated_at":"2026-08-19T12:01:07.025432+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"data-retrieval","name":"Data & Retrieval","url":"https://www.graphcanon.com/categories/data-retrieval","markdown_url":"https://www.graphcanon.com/categories/data-retrieval.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/data-retrieval"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"agents","name":"agents"},{"slug":"crdt","name":"crdt"},{"slug":"crdts","name":"crdts"},{"slug":"data","name":"data"},{"slug":"elixir","name":"elixir"},{"slug":"platform","name":"platform"},{"slug":"postgres","name":"postgres"}],"trust":{"provenance":{"is_fork":false,"github_id":498766488,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-19T12:01:05.995Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":29,"days_since_push":5,"last_release_at":"2026-08-14T03:31:01Z","stars_delta_30d":53,"open_issues_delta_30d":-4},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:14:31.255Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-08-19T12:01:06.432Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-08-19T12:01:06.432Z"},"languages":{"value":["typescript","javascript"],"source":"github.language+package.json","observed_at":"2026-08-19T12:01:06.432Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-19T12:01:06.432Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["You require conflict-free replication for distributed systems where ensuring consistency and managing concurrent updates are critical.","Your development relies heavily on real-time synchronization capabilities with a Postgres database, enabling seamless integration via HTTP API or client integrations.","When you need to manage data in complex, distributed applications and want automatic handling of data conflicts without manual intervention."],"when_not_to_use":["If your project does not involve handling concurrent updates across multiple nodes or needs minimal consistency guarantees since Electric's strength lies in its robust synchronization mechanisms.","For scenarios where the primary requirement is rapid data retrieval (read-heavy operations) from a central database without much need for distributed sync capabilities, as Electric might introduce an层"],"source":"enrich:decision_facts","observed_at":"2026-07-11T15:52:02.483Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Electric is a platform facilitating data synchronization with Postgres via HTTP API or client integrations, leveraging CRDTs for conflict-free replicated data types."}]}}