Skip to content

epic: Agent Auth as a First-Class Citizen #69

@sangalo20

Description

@sangalo20

Epic Overview

This epic tracks all work required to make agent authentication a first-class citizen in the Nexus Framework, as defined in AGENT_AUTH_PROPOSAL.md.

Context

Nexus today is a well-built OAuth 2.0 broker. It handles user consent flows, encrypts tokens at rest, manages token refresh, and exposes a clean REST API. But the framework was designed around a user-centric model — a human connects to a provider, the broker stores the token, the agent retrieves it.

This model leaves a critical gap for production agent systems:

  • Agents have no registered identity or bounded permissions
  • There is no mechanism to act on behalf of a specific human user
  • Custom (non-OAuth) internal scopes have no representation
  • Provider credentials live in Postgres rather than enterprise vaults
  • SDKs only exist for Go, excluding Python and TypeScript agent developers

This epic closes that gap without turning Nexus into an identity provider. Human identity remains in the developer's existing auth backend. Nexus becomes a Policy Enforcement Point and Token Exchange layer for machines.


Child Issues

Core Broker (implement first — everything else depends on this)

Infrastructure

SDKs

Documentation & Tooling


Implementation Order

#59 (Agent Identity)
  └─> #61 (OBO)
  └─> #62 (Custom Scopes)
  └─> #66 (Go SDK methods)
  └─> #67 (OpenAPI spec)
        └─> #64 (Python SDK)
        └─> #65 (TypeScript SDK)
  └─> #68 (CLI commands)

#63 (Vault) — independent, can be done in parallel

What This Epic Explicitly Does NOT Do

  • ❌ Replace your existing identity provider (Auth0, Clerk, Cognito, etc.)
  • ❌ Compete with HashiCorp Vault, AWS SSM, or GCP Secret Manager
  • ❌ Add an agent runtime or orchestration layer
  • ❌ Introduce a new standalone service — all additions go into nexus-broker

Reference

AGENT_AUTH_PROPOSAL.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions