# Buckle ## Documentation ### Getting Started - [Docs: AI Teammates for Business-Critical Work](https://onecli-17d3f772.mintlify.dev/docs/index.md): Set up Buckle, the open-source platform for AI teammates. Delegate real work across your tools, with protected access and human approval where it matters. - [Quickstart: Set Up Your First AI Teammate](https://onecli-17d3f772.mintlify.dev/docs/quickstart.md): Create your first AI teammate on Buckle Cloud, or self-host the stack with one command. Then grant it access to your tools and start delegating. - [How It Works: Sandboxed Agents, Gateway & Policy](https://onecli-17d3f772.mintlify.dev/docs/how-it-works.md): Each AI teammate runs in its own sandbox. A Rust gateway checks every outbound request against your policy and injects credentials the agent never sees. ### CLI - [CLI Reference: Commands, Flags & Configuration](https://onecli-17d3f772.mintlify.dev/docs/cli/buckle-cli.md): Full reference for the Buckle command-line tool: installation, every command with flags, environment variables, and configuration. ### Self-hosting - [Self-hosting: Community and Enterprise Editions](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/overview.md): Run Buckle in your own infrastructure: the free Community edition or the fully featured Enterprise edition, each a single Docker image. - [Deploy Community Edition](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/community.md): Run the free, open-source Buckle stack with Docker Compose. Includes the dashboard, API, gateway, agent runner, and a bundled PostgreSQL database. - [Deploy Enterprise: all-in-one image](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/enterprise/all-in-one.md): Run the fully featured Buckle Enterprise edition with Docker Compose: one container for the dashboard, API, and gateway, plus PostgreSQL. - [Self-hosted configuration: Environment variables](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/configuration.md): Environment variables, authentication modes, and networking options for the self-hosted Buckle image. Configure URLs, secrets, and sign-in. - [App credentials: Preconfigure OAuth integrations](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/app-credentials.md): Pre-configure OAuth app integrations like Google, GitHub, and HubSpot on a self-hosted Buckle instance using per-app environment variables. - [Connect the CLI and agents](https://onecli-17d3f772.mintlify.dev/docs/self-hosting/connect-agents.md): Point agents at your self-hosted Buckle instance, with headless provisioning, org-wide app connections, and rules via the organization API key. - [Integrations (84 pages)](https://onecli-17d3f772.mintlify.dev/docs/_llms/integrations.txt): Integrations, Cloud integrations, All app connections, LLMs, External Vaults. ## Guides ### Guides - [Guides: Set Up Agents, Access, and Policy](https://onecli-17d3f772.mintlify.dev/docs/guides/index.md): Step-by-step guides for connecting AI agents, configuring projects, setting rules, and managing credentials with Buckle. - [Claude Code Plugin: Credential-Free API Access](https://onecli-17d3f772.mintlify.dev/docs/guides/claude-code-plugin.md): Install the Buckle plugin for Claude Code to call external APIs with zero credential management. The gateway injects keys, and no CLI is required. - [Set Up Coding Agents: Claude Code, Cursor & Codex](https://onecli-17d3f772.mintlify.dev/docs/guides/coding-agents.md): Configure Claude Code, Cursor, Codex, and other coding agents to route through the Buckle gateway. One command to set up. - [Use claude setup-token With Buckle Agents](https://onecli-17d3f772.mintlify.dev/docs/guides/claude-setup-token.md): Generate a one-year Claude token with claude setup-token, store it in Buckle, and let Claude Code and other agents use your Claude plan without seeing it. - [NanoClaw Docs: Docker Agents via the Gateway](https://onecli-17d3f772.mintlify.dev/docs/guides/nanoclaw.md): Run NanoClaw agents in Docker containers with Buckle handling credential injection and policy enforcement. Set up both with no code changes to the agent. - [GitHub App Setup: Fine-Grained Repo Access](https://onecli-17d3f772.mintlify.dev/docs/guides/github-app.md): Install and configure the Buckle GitHub App for fine-grained repo access. Supports org-level approval and per-repo scoping. ### Configuration - [Projects: Organize Agents & Connections](https://onecli-17d3f772.mintlify.dev/docs/guides/projects.md): Group agents, secrets, and app connections into isolated projects. Each project has its own credential pool, dashboard, audit log, and team members. - [Agent Access: Grant Credentials to Agents](https://onecli-17d3f772.mintlify.dev/docs/guides/agent-access.md): Attach app connections and secrets to agents with grants. Set per-tool allow and approval lists, and check the effective access organization rules leave. - [Policy Rules: Organization-Wide Guardrails](https://onecli-17d3f772.mintlify.dev/docs/guides/rules.md): Author organization allow/block rules with targets, rate limits, and approvals. Rules evaluate first-match, stage as a draft, and enforce on publish. - [User Provisioning: Add Team Members via API](https://onecli-17d3f772.mintlify.dev/docs/guides/user-provisioning.md): Add team members to Buckle with pre-configured roles, API keys, and project access. Supports programmatic provisioning via the API. #### Credential Stubs - [Credential Stubs for MCP Servers](https://onecli-17d3f772.mintlify.dev/docs/guides/credential-stubs/general-app.md): Create placeholder credential files so MCP servers can start without real secrets. The gateway fills in values at request time. - [Gmail Credential Stubs](https://onecli-17d3f772.mintlify.dev/docs/guides/credential-stubs/gmail.md): Set up Gmail credential stubs so MCP servers that need Google OAuth tokens can start without manual auth flows or token files. - [Vertex AI Credential Stubs](https://onecli-17d3f772.mintlify.dev/docs/guides/credential-stubs/vertex-ai.md): Set up Vertex AI credential stubs so MCP servers that need Google Cloud service account keys can start without manual setup. - [API Reference (275 pages)](https://onecli-17d3f772.mintlify.dev/docs/_llms/api-reference.txt): Overview, Workspace, Organization, Enterprise, Platform. ## SDKs ### SDKs - [SDKs: Route Agent Containers Through the Gateway](https://onecli-17d3f772.mintlify.dev/docs/sdks/index.md): Route AI agent containers through the Buckle gateway with official SDKs. Node.js available now, more languages coming soon. - [Node.js SDK: Container Config and Provisioning](https://onecli-17d3f772.mintlify.dev/docs/sdks/node.md): Configure Docker containers to route through the Buckle gateway from Node.js. Handles proxy setup, CA certs, and approval. - [Rust SDK (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/rust.md): Rust SDK for configuring containers to route through the Buckle gateway. Currently in development. Follow GitHub for updates. - [Python SDK (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/python.md): Python SDK for configuring Docker containers to route through the Buckle gateway. Currently in development. Coming soon. - [Go SDK for the Agent Gateway (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/go.md): Go SDK for configuring containers to route through the Buckle gateway. Currently in development. Follow GitHub for updates. - [Java / Kotlin SDK (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/java.md): Java SDK for configuring containers to route through the Buckle gateway. Works with Kotlin and any JVM language. Currently in development. - [Ruby SDK (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/ruby.md): Ruby SDK for configuring containers to route through the Buckle gateway. Currently in development. Follow GitHub for updates. - [.NET SDK (Coming Soon)](https://onecli-17d3f772.mintlify.dev/docs/sdks/dotnet.md): .NET SDK for configuring containers to route through the Buckle gateway. Works with C# and F# applications. Coming soon. ## OpenAPI Specs - [openapi](/docs/openapi.yaml) ## Optional - [GitHub](https://github.com/buckle) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Integrations (84 pages)](https://onecli-17d3f772.mintlify.dev/docs/_llms/integrations.txt): Integrations, Cloud integrations, All app connections, LLMs, External Vaults. - [API Reference (275 pages)](https://onecli-17d3f772.mintlify.dev/docs/_llms/api-reference.txt): Overview, Workspace, Organization, Enterprise, Platform. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.