Daevix Docs

Use Integrations from the CLI

Open as Markdown

Give agents GitHub and GitLab identities with the dvx CLI.

Use Integrations from the CLI

Integrations give an agent a real identity in an external system - a GitHub or GitLab account it can act as. This guide is the CLI how-to; for what integrations are and when to use each mode, see the Integrations overview.

Give an agent a GitHub personal access token:

dvx agent integration github link my-agent --pat <token>

Omit --pat to be prompted via stdin instead of putting the token in your shell history. Remove it with:

dvx agent integration github unlink my-agent

By personal access token:

dvx agent integration gitlab link my-agent --pat <token> --instance-url https://gitlab.com

Or via a credential provider, which provisions a per-agent identity automatically (no shared token to manage):

dvx agent integration gitlab link my-agent --credential-provider <id>
# add --project-id <id> if the provider uses project-access-token mode

Manage credential providers

A credential provider is an org-level connection that mints per-agent identities on demand. Set one up once, then reference it when linking agents:

dvx credential-provider create \
  --provider gitlab \
  --name "GitLab (acme group)" \
  --instance-url https://gitlab.com \
  --provider-token <admin-or-group-token>

dvx credential-provider list
dvx credential-provider rotate <id>     # rotate the provider's token
dvx credential-provider delete <id>

See Credential Providers for the provisioning modes and how per-agent identities are issued.

Telegram

Telegram is a channel, not an integration - connect it with dvx agent channel telegram link. See Configure your agent and Set Up an Agent.