@unblocklabs/agentpass
v0.1.3
Published
AgentPass CLI for discovering integrations and proxying authenticated API requests for agents
Readme
AgentPass CLI
AgentPass CLI is an agent-first command-line client for discovering available integrations and proxying authenticated API requests through AgentPass.
Install
npm install -g @unblocklabs/agentpassAuthenticate
Initialize the CLI with your AgentPass API key:
agentpass initOr pass the key directly:
agentpass init --api-key "<YOUR_AGENTPASS_API_KEY>"API key resolution order:
--api-keyAGENTPASS_API_KEY~/.agentpass/config.json
Confirm which profile and auth source the CLI is using:
agentpass status
agentpass whoamiUsage
List available integrations:
agentpass discoverInspect one integration:
agentpass discover linearFilter discover output:
agentpass discover asana --method POST --search tasks --limit 10Fetch full detail for one REST endpoint:
agentpass discover asana --endpoint /tasks --method POSTFetch full detail for one GraphQL operation:
agentpass discover linear --endpoint / --method POST --graphql-type mutation --operation issueCreateProxy an API request through AgentPass:
agentpass call linear POST / -d '{"query":"query { issues(first: 1) { nodes { id } } }"}'Pretty-print JSON responses for human debugging:
agentpass call linear POST / -d '{"query":"query { viewer { id } }"}' --pretty