Edge functions
Let your agent deploy serverless functions
List, deploy, and invoke edge functions on apps backed by a managed backend — agents ship backend logic without a separate platform.
Run in your agent
Paste and ship
Drop this prompt into Cursor, Claude Code, or any coding agent. It reads the skill manifest and wires up Edge functions for you.
Agent prompt
Read https://usenaive.ai/skill.md and use the Naïve Edge functions primitive in my project. Start with: naive apps functions list <app-id>
Drop into any agent
In action
Deploy and invoke serverless functions per app.
- DeployPush function code via API.
- InvokeCall with JSON payloads.
- VersioningTrack deployments.
- App-scopedIsolated per app's managed project.
Exact code
One call to edge functions
Same primitive from the CLI, SDK, or REST — one bearer token, one credit balance.
CLI
Edge functions
List, deploy, and invoke edge functions on apps backed by a managed backend — agents ship backend logic without a separate platform.
Deploy
Push function code via API.
Invoke
Call with JSON payloads.
Versioning
Track deployments.
App-scoped
Isolated per app's managed project.
# Run with your API key exported
$ naive apps functions list <app-id>Related primitives
Start building with Edge functions
Get your API key and add edge functions to any agent in minutes — no infrastructure to run.