An admin panel that lives in your codebase.
Describe a kind of record once, with how to fetch it, find it and show it, and every user, order or repository gets a page in the console: its details, its history, the items about it and the actions your team can run. Actions run inside your app, with your code. Pult never connects to your database.
Every record gets a page
Search from anywhere with ⌘K, browse with filters, and open a record to see its fields, related records and history. Private fields stay hidden until someone allowed reveals them, and every reveal is logged.
export const user = resource("user", {
get: (id) => db.users.find(id),
title: (u) => u.username,
render: (u) => [
b.fields({ email: b.sensitive(u.email), plan: u.plan }),
],
actions: (action) => ({
resetTwoFactor: action({
run: ({ record }) => resetTotp(record.id),
}),
}),
})User
lena
- l…@example.comReveal
- Plan
- Team
- Joined
- Mar 4, 2025
A second yes for the dangerous ones
Mark an action as dangerous and Pult asks for a confirmation or a fresh sign-in. Add an approval and someone else has to agree before it runs.
ban: action({
when: (u) => u.bannedAt === null,
danger: "reauth",
approval: true,
run: ({ record }) => banUser(record.id),
}),User
lena
Mira wants to ban lena
Repeated spam after two warnings
Approving asks you to sign in again first.
What comes with it
- Forms from your schemas
- Action inputs are zod, valibot or arktype schemas, and Pult builds the form, record pickers included.
- Many records at once
- Select rows in a resource's table and run any of its actions on all of them. Each one runs separately in your app.
- Roles in code
- Roles live in your repository, and pult diff shows who gains or loses which action before anything ships.
- An audit log of everything
- Every action, approval and reveal is recorded with who did it and what came back.
What it replaces
The /admin route that never gets the attention your product does, the queries people run against production by hand, and tools that need their own access to your database.
Read how resources work