Skip to main content
Integrations · Convex
A Guild agent can create, configure, and tear down Convex projects and deployments, manage team membership and roles, rotate access tokens, and review audit logs without any human clicking through the Convex dashboard. Guild stores the API key server-side and injects it into every request, so agent code never sees the credential. Credential policies let you restrict exactly which Convex operations each agent may call, and every action appears in Guild’s audit trail.

Book a demo

See how teams govern agents that use Convex.

Talk to sales

Get access to Guild, then connect Convex to your first agent.

What the Convex integration exposes

The integration provides tools that cover Convex projects, deployments (production, preview, and dev), team members, roles, deploy keys, personal and team access tokens, custom domains, default environment variables, and audit log events. Tools follow the convex_ prefix convention and are imported from the guildai~convex package as ConvexTools. Use pick() to give an agent only the subset of tools it needs.

How it works

1

Connect your Convex credential

In Guild, go to Access & setup > Credentials, click Connect, select convex, and paste your Convex API key into the API Key field. Guild sends the key as a bearer token in the Authorization header on every request.
2

Scope the credential

By default the credential serves every workspace the account owns. Follow Credentials to narrow it to one workspace, one member, or a single agent.
3

Add tools to your agent

Import ConvexTools from @guildai-services/guildai~convex and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.

Why Convex access needs governing

Convex tools can delete projects and deployments, rotate team access tokens, change member roles, and modify production environment variables. An agent acting on a broad credential could make irreversible changes across every project a team owns. Credential policies let you write ALLOW and DENY rules that Guild’s credential proxy enforces before any request reaches Convex. You can restrict an agent to read-only audit log review with convex_list_audit_log_events, or allow deployment creation while blocking deletion with a targeted DENY on convex_delete_* operations. Guild stores the Convex API key server-side and injects it only after the policy check passes, so agent code never sees the secret. You can scope a credential to one workspace, one member, or one agent using Credentials, which limits blast radius further. Every call the proxy forwards appears in Guild’s audit trail. Agents without a matching credential or a passing policy receive an immediate denial rather than a degraded response.

About the Convex integration

Agents can create, configure, and delete Convex projects and deployments, including production and preview environments. They can manage team members, roles, access tokens, and deploy keys. Agents can also handle custom domains, environment variables, and audit log review. The integration is guildai~convex.

Authentication

  • Type: API key
  • Header: Guild sends the key as a bearer token in the Authorization header

Setup

1

Connect Convex

In Guild, go to Access & setup > Credentials, click Connect, select convex, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the convex_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~convex:

Frequently asked questions

Yes. The agent can call convex_create_deployment to create a preview deployment, then call convex_update_default_environment_variables to create, update, or delete the default environment variables for that deployment, all within the same run.
Yes. Write a DENY rule targeting convex_delete_project (or the pattern convex_delete_*) alongside an ALLOW rule for the operations you want to permit. Guild’s credential proxy enforces DENY rules before any ALLOW, so the deletion call is blocked even if a broader allow rule matches. See Credential policies for the syntax.
No. The catalog entry for guildai~convex lists no webhook events, so the integration does not receive push notifications from Convex. Agents poll by calling list or get tools directly.
Yes. Connect a dedicated credential from the installed agent’s detail page and choose Dedicated to this agent. Guild stores it under the account that owns the workspace and never offers it to other agents. See Credentials for the full scoping options.

Put a governed agent on Convex this week

Book a demo

See how teams govern agents that use Convex.

Talk to sales

Get access to Guild, then connect Convex to your first agent.
Also runs on Guild: Azure DevOps · Bitbucket · Buildkite · Cursor Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026