Add it to your Next.js app and Postgres. People edit in the admin screens; agents edit the same documents through MCP, the CLI and REST, or the same tools inside your own agent.
Get started /InstallPublished2 agent changes
## Install
npm i @mainsoft/agent-cms
npx @mainsoft/agent-cms init
npm i @mainsoft/agent-cms
npx @mainsoft/agent-cms init
Peer dependencies: drizzle-orm, zod
(^3.25 or ^4), and ai for ./ai.
(^3.25 or ^4), and ai for ./ai.
docs-bot, 2 min agoAcceptRevert
See what agents changed
Every block an agent wrote waits for a person to accept or revert it.
Four ways in for agents
One tool list, scoped by API key.
MCPCLIRESTTools
Admin screens you own
Copy the screens into your app with shadcn, then change anything.
No lost edits
Versions, line-by-line merge, autosave and draft preview links.
If-Matchmerge3