Documentation
Put an agent to work on PocketBase.
Install the CLI, connect a PocketBase instance, and use bounded reads or immutable plan/apply mutations. Start locally before adding staging or production.
Install and connect
Install the binary and agent skill, generate a PocketBase token, and verify the connection.
Trust modelUnderstand the safety boundary
See how credentials, plans, access grants, concurrency checks, and audits work together.
ReferenceFind the right command
Browse the implemented read and mutation families, output contract, and deferred capabilities.
Repository docsRead implementation notes
Authentication, compatibility, threat model, contributing, release, and security policies.
What is pb-agent?
pb-agent is a local command-line gateway between AI coding agents and PocketBase. It gives agents a versioned JSON contract for inspection and a constrained mutation workflow for records, collections, batches, and backups. Safety policy is enforced in the binary rather than delegated to an agent prompt.
pb-agent doctor against each target instance before relying on a capability.