Poppy, the Personal Agent Protocol, in Next.js with Clerk @hamedbahram
Poppy, the Personal Agent Protocol, in Next.js with Clerk  @hamedbahram
Uploaded November 2026 | Updated December 2026, 3 hours ago
Personal AI agents want to log into the sites you use to book something, check an order, or pull a report for you. Today they have two bad options: scrape the page and hope nothing breaks, or ask for your password and then act as you, with every permission you have.

Poppy, the Personal Agent Protocol, is a new open spec that gives agents a proper front door. The site tells agents they're welcome and how to sign in. The user approves the agent on the site's own sign-in page, so the agent never sees their password. And the session the agent gets is tagged as an agent acting for the user, not as the user, so your app always knows who it's talking to.

In this video I make a Next.js app ready for Poppy with Clerk in a few lines of code:
• Turn on Poppy with poppy: true in clerkMiddleware, which publishes the discovery files agents look for
• Enable the browser session endpoint in the Clerk Dashboard
• Use the new agent field on auth() to tell a person from their agent
• Decide what agents are allowed to do, and keep sensitive actions human-only

Poppy is still early, and Clerk supports the signed-in browser session part of it today. In Episode 2 on January 6, I'll build the agent itself with Vercel's eve and have it sign into this exact app.

⏱️ Chapters
00:00 – Your agent wants in
00:27 – What Poppy is: a handshake, not a password
00:57 – Discovery, consent, and the agent session
01:36 – Poppy in Clerk: one option, one toggle, one field
02:13 – Telling a person from their agent
02:58 – What we're building
03:28 – Setup: version, restrictions, toggle, HTTPS
04:13 – Turning on Poppy in proxy.ts
04:37 – Restricting what agents can do
05:09 – Showing when an agent session is active
05:27 – What Clerk supports today
06:01 – Next episode: building the agent
06:26 – Recap

🔗 Links
Source code (GitHub) → github.com/HamedBahram/nextjs16-clerk.git
Poppy spec → personalagentprotocol.org
Clerk Personal Agent Protocol docs → clerk.com/docs/guides/ai/personal-agent-protocol
Restricting agent sessions → clerk.com/docs/guides/ai/restrict-agent-sessions

Questions? Drop them in the comments and I'll jump in. Cheers 👋
Poppy, the Personal Agent Protocol, in Next.js with ClerkRate Limiting in NextJs with Middleware, Vercel KV Storage & UpstashBuild an e-commerce store using NextJs 13 and SwellThe Best Video Infrastructure for Your ApplicationWhats New in NextJs 14.2React Conf 2024 Recap | React 19 RC ReleaseServer actions, RSC, Prisma, and TypeScript in NextJs 13Clerk Skills: Add Auth & Billing to Next.js with Your AI AgentNew Components From Shadcn/uiMedium Clone with NextJs, Convex, and ClerkBuilding a waitlist system in NextJsOptimize data fetching with the new `cache` function in NextJs
Hamed Bahram |

Poppy, the Personal Agent Protocol, in Next.js with Clerk

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER