Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Provisioned Credentials

Demonstrates ARCP v1.1 model.use and provisioned-credentials.

The runtime is configured with InMemoryCredentialProvisioner. The client requests both feature flags during the handshake, invokes a tool with a lease carrying model.use and cost.budget, receives the credential in job.accepted, and the runtime revokes it when the job completes.

Run:

php samples/provisioned-credentials/main.php

LiteLLMProvisioner.php shows the shape of a plug-in provisioner without coupling core SDK code to LiteLLM.