agent-obo

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Command agent-obo is a runnable, self-contained demonstration of Legant's agent-identity wedge: an AI agent acting *on behalf of* a human user with scoped, constrained, auditable delegation — RFC 8693 style.

It needs no database and no Docker. Run it with:

go run ./examples/agent-obo

The program plays three roles in one process:

  • Legant — mints composite (sub/act) delegation tokens (the signer)
  • The agent — exchanges a delegation for a token and calls an API
  • Finance API — an independent resource server that holds ONLY Legant's public key and enforces scope + constraints on every call

Watch how authority can only ever narrow as it flows user -> agent -> sub-agent, and how the resource server can prove who is really behind each request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL