Agent-Scoped Cookies
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- api
Línea de trabajo
The issue proposes an origin and agent profile scoped identifier, with permission, storage, delivery, and user revocation flows, but names no files, tests, or entry points. Start by reading the related issues #44, #54, #87, and #96 to understand the identity and session context. Done means the proposal defines how the client stores and supplies the identifier per origin and agent, and how users can inspect, revoke, or reset it.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Today, a website can recognize a returning browser or user, but it cannot recognize a returning agent. If an agent comes back two or three months later, the site has no standard way to know it is the same agent and recover its preferences, memory, or agent-specific permissions.
A normal cookie is not enough because it is scoped to the browser profile and origin. If several agents use the same browser, they share the same cookie. What we need is the same idea, but scoped to the agent.
Historical context
-
#44 - Managing action-specific permissions identifies agent identity as necessary for persisting decisions such as “always allow this agent.” The discussion notes that cookies can store the state, but the site still needs a unique identifier to separate the state of different agents.
-
#54 - Challenging assumptions of identity within WebMCP asks whether agents should have their own identity instead of only inheriting the user’s identity. The discussion distinguishes between a verified agent identity and an opaque identifier that allows a site to recognize the same agent. The group deferred the broader identity question for the initial browser-agent scope.
-
#87 - Session and authentication context for tools focuses on carrying the user’s authentication and session state across tool calls. This solves “which user is logged in,” but not “which agent is acting for that user.”
-
#96 - Agent-to-tool trust connects these discussions and proposes that
ModelContextClientexpose browser-attested agent identity, permissions, and invocation context.
Agent-Scoped Cookies are a narrower proposal. They do not attempt to verify that an agent is genuinely Claude, Gemini, or ChatGPT. They only allow a site to recognize the same agent profile when it returns.
Proposed flow
- The site asks for permission to recognize the agent on future visits.
- The site creates an opaque Agent-Scoped Cookie.
- The agent client stores it for that specific origin and agent profile.
- The client provides it with every WebMCP interaction on that origin.
- The site uses it to recover that agent’s preferences, permissions, or history.
- The user can inspect, revoke, or reset it at any time.
Difference in scope
- Browser cookie: origin + browser profile
- Agent-Scoped Cookie: origin + agent profile
- User account: origin + user
- Session ID: one conversation or task
The identifier should never be shared across origins. Amazon and Booking should receive different identifiers for the same agent.
This provides continuity, not verified identity. For sensitive permissions or transactions, the Agent-Scoped Cookie could later be bound to a cryptographic key.
- Lenguaje dominante
- Bikeshed
- Estrellas
- 4.7k
- Forks
- 328
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 16
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de webmachinelearning/webmcp
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
webmachinelearning/webmcp#360 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Say how an agent should weigh annotations that the page wrote about itselfPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
webmachinelearning/webmcp#353 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
webmachinelearning/webmcp#343 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Agenda+ i18n-tracker
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
webmachinelearning/webmcp#273 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
a11y-tracker Agenda+
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
webmachinelearning/webmcp#272 · 4 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de webmachinelearning/webmcp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Eyevinn/open-videocore#1256 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Bug][API] Switching workflow versions leaves schedules onlinePosiblemente ocupada @zhuangchong la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/dolphinscheduler#18731 ·
Los mantenedores suelen responder en 1 día