A connection is a named credential record within one provider. The default connection is calledDocumentation Index
Fetch the complete documentation index at: https://authsome.agentr.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
default. You can have as many additional connections as you want, each scoped by name.
This is the right pattern when you want two accounts on the same provider both reachable from the same context. If you want credential sets that never see each other, use profiles instead. The distinction is covered in Profiles vs connections.
Create a second connection
Pass--connection <name> to login. The name is arbitrary; pick what reads well.
login runs its own browser flow. The connections share the OAuth client_id/client_secret you configured for the provider, but each receives an independent access token bound to its own scopes.
For an API-key provider, each login opens a fresh local form so you paste a different key per connection.
Read from a specific connection
Every read command accepts--connection:
--connection, the command uses the default.
List connections
inspect includes per-connection status, expiry, and scopes.
Switch the default
There is noset-default command in v1. To change which connection authsome treats as default, log in to it with --force:
--force flag overwrites the existing default slot. Programmatic default switching is on the roadmap.
In the proxy
uvx authsome run injects credentials from each provider’s default connection. Per-request connection selection is future work.
To run an agent against a non-default connection, set the active default first:
connection= directly:
Remove a connection
revoke does not yet target a single connection; it clears the provider entirely. To revoke only one connection at the provider, use the provider’s own UI and then logout locally.
When to use connections vs profiles
| You want | Use |
|---|---|
| Two accounts on the same provider, both reachable | Connections (--connection) |
| Credential sets that never see each other | Profiles (separate vault files) |
| Per-agent scoping | Profile per agent |
| Temporary OAuth client for testing | Throwaway profile |
What’s next
Profiles vs connections
The two namespaces, side by side.
CLI reference
Every command and flag.