Typed links and closed-by-default caller identity live together in dbschema/default.gel. From that one file, Napalm compiles single-statement SQL access policies, query-checked migrations, sharding without shard-key columns and scoped agent grants.
Active on every project with zero extra schema lines:
Ship a typed query in three steps.
Define your types in dbschema/default.gel, add a query file and push. The CLI migrates PostgreSQL, deploys the endpoint and generates typed client code.
Whether deployed or ad-hoc, EdgeQL compiles forward links, reverse backlinks (.<note[is Comment]), optional filters and every touched access policy into one PostgreSQL statement.
One policy on the type governs every path to the data.
Access policies walk links in the same query language as your app. Declare a rule on Note once, and queries, search, files, live streams and agent tools all enforce it.
Handlers, jobs and webhooks inherit the caller’s access.Handlers,jobsandwebhooksinheritthecaller’saccess.
Gatekeeper queries check permissions before your code runs. Background jobs commit inside your write transaction, and notify rules send signed webhooks.
Connect AI agents under record-level expiring grants.ConnectAIagentsunderrecord-levelexpiringgrants.
Every project exposes your deployed queries over MCP and A2A. Grants restrict an agent to chosen records until a deadline, and dry runs preview every write before commit.
Outgrow one machine without changing your queries.Outgrowonemachinewithoutchangingyourqueries.
Add query engines, read replicas and horizontal shards online behind one project URL. Sharding works for any root type, from Account or Project to Organization or Site.
Acknowledged writes survive server crashes, freezes and full disks.
Replicas
A replica takes over when a primary fails. Two primaries never write at once.
Change log and webhooks
Acknowledged writes reach the change log and signed webhooks in commit order.
Shards
A cross-shard write commits on both shards or on neither shard.
Access
Revoked credentials read zero rows even on a lagging replica. Tenants never see another tenant’s rows.
Load
Expensive read queries never starve concurrent writes.
Pay for the machines you run.
Shared-CPU memory is $40 per GiB a month on every machine, whether you run one large primary or split that memory across shards. Users, seats, queries and live updates are free on every cluster.
$40per GiB / month
Same rate across engines, primaries and replicas. Shared CPUs come standard.
$0.04 / GBfile bandwidth
Includes 500 GB of edge file downloads a month before metering starts.
$0per user or query
Active users, team seats, reads, writes and live updates are never metered.
100 GBobject storage included
Includes 100 GB of network transfer and 7-daypoint-in-time recovery.