agentscope-ai/agent-identity ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python project for agent identity, something that lets an AI agent log in with its own keypair and get a short lived token that other services can verify. I want a local reference identity provider for offline testing, plus one SDK for the agent side to register, request a token, cache it, and refresh it, and another SDK for the service side to verify the token against the provider public keys.

Please include a simple quickstart that shows the full flow from creating an agent identity, to minting a JWT, to checking it in a connected app. It should work cleanly with the local provider first, and be set up so it could also point at a live external provider later. Add clear docs and a runnable example, and make the whole thing feel like a real identity layer for agents rather than just a demo. If you need to, look up current docs online for any related Python libraries or best practices.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab