Skip to content

Document PlatformAuthBackend and agent-to-agent authentication #2116

@jenna-winkler

Description

@jenna-winkler

Is your feature request related to a problem? Please describe.
PlatformAuthBackend is undocumented. Developers encounter it in sample agents but have no explanation of what it does, how it works, or when they should use it.

Describe the solution you'd like
Add documentation explaining the agent-to-agent authentication model in Agent Stack, including how context tokens and audience validation work, why agents should call each other through the agentstack-server gateway rather than directly, and where PlatformAuthBackend fits into that model.

Additional context

  • Implementation: apps/agentstack-sdk-py/src/agentstack_sdk/server/middleware/platform_auth_backend.py
  • Example usage: agents/chat/src/chat/agent.py#L292

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationstaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions