Budibase

Build AI agents, automations, and internal apps on a single open-source platform with full self-hosting control.

27.7Kstars
2.1Kforks
Other
TypeScript

Budibase is an open-source operations platform that lets engineers rapidly build AI agents, workflow automations, and internal applications without stitching together multiple tools. It eliminates the fragmentation of modern internal tooling by unifying data connectors, a visual UI builder, an automation engine, and an AI agent layer into one cohesive system.

At its core, Budibase connects to virtually any data source—PostgreSQL, MySQL, MongoDB, Airtable, REST APIs, Google Sheets, S3, Snowflake, and more—and turns that data into live, secure single-page applications and automated workflows. Its AI agent builder lets teams configure agents backed by any LLM (OpenAI, Anthropic, Mistral, or custom via LiteLLM), equip them with tools like Jira and Slack integrations, and deploy them to handle employee requests automatically.

Built as a Lerna monorepo with a Koa/TypeScript backend and a Svelte 5 frontend, Budibase is designed to scale from solo developers to enterprise teams. The platform ships with comprehensive self-hosting support via Docker and Kubernetes, a public REST API for programmatic management, granular RBAC, SSO, and a plugin system for extending its component library.

What You Get

  • AI Agent Builder - Configure agents with custom system prompts, tool access (Jira, Slack, knowledge bases), and your choice of LLM model (OpenAI, Anthropic, Mistral, or any LiteLLM-compatible provider) to handle employee requests automatically.
  • Visual App Builder - A drag-and-drop Svelte-powered interface to create responsive single-page applications with pre-built components, custom CSS control, and schema-driven data bindings.
  • Multi-Source Data Connectors - Native integrations with PostgreSQL, MySQL, MongoDB, CouchDB, Airtable, Google Sheets, S3, DynamoDB, Snowflake, Elasticsearch, and REST APIs to power apps and automations with live data.
  • Workflow Automation Engine - Trigger-based automations with steps for creating rows, sending emails, calling webhooks, running Slack/Discord messages, and executing custom scripts or AI steps.
  • Knowledge Base & RAG - Upload documents and configure retrieval-augmented generation so AI agents can answer questions grounded in your internal runbooks, policies, and guides.
  • Public REST API - Programmatically create, query, and manage apps, tables, rows, and automations using Budibase’s REST API with API key authentication.
  • Self-Hosting with Full Control - Deploy on Docker Compose, Kubernetes (Helm chart), DigitalOcean, or Portainer with configurable RBAC, SSO, SMTP, user groups, and theming.
  • Plugin System - Extend Budibase with custom UI components and data sources published to a plugin registry and consumed across all your apps.

Common Use Cases

  • IT Help Desk Automation - An IT team deploys a Budibase AI agent that fields employee Wi-Fi and access requests, searches internal runbooks via RAG, suggests resolution steps, and auto-creates Jira tickets for unresolved issues.
  • Approval Workflow Management - HR builds a form-based app to collect hardware purchase requests, automatically routes them to managers for approval, and sends Slack notifications when decisions are made.
  • Internal Dashboard Development - A product team connects Budibase to Salesforce, GitHub, and a PostgreSQL database to build a unified access-request tracker with real-time status updates and role-based visibility.
  • Support Ticket Triage - A customer support team wires incoming Microsoft Teams messages to a Budibase automation that classifies ticket type, assigns it to the correct queue, and logs the interaction in a database.
  • Onboarding Workflow - People ops creates an onboarding portal where new hires submit their setup preferences, triggering automations to provision accounts, schedule introductions, and notify IT.
  • Data Operations Tools - A data team builds an internal CRUD app backed by a PostgreSQL warehouse to manage pipeline configurations, run ad-hoc queries, and trigger batch jobs without writing frontend code.

Under The Hood

Architecture Budibase is organized as a Lerna-managed monorepo where discrete packages—server, worker, builder, backend-core, and pro—evolve independently but share a unified type system and build pipeline. The Koa server exposes a layered API where controllers delegate to SDK modules that in turn coordinate with service classes and integration adapters. AI features are routed through a unified LLM abstraction that decides at runtime whether to call Budibase’s hosted BBAI service or proxy requests through a self-hosted LiteLLM instance, making the platform genuinely model-agnostic. Integration adapters for databases and APIs implement a common interface, allowing new connectors to slot in without modifying core query routing logic. The worker process handles background automation execution and email delivery in isolation from the main API process, improving resilience under load.

Tech Stack The backend runs on Node.js with Koa and is written entirely in TypeScript, with Babel and esbuild handling transpilation across packages. The frontend is Svelte 5 with Vite, using component-level TypeScript for type-safe UI logic. CouchDB is the primary document store for app metadata, with Redis managing sessions, caching, and Bull job queues. Minio provides S3-compatible object storage for file uploads and plugin assets. LiteLLM acts as a local AI proxy, enabling self-hosters to route requests to OpenAI, Anthropic, Mistral, or any compatible provider while controlling costs and model selection centrally. Infrastructure is containerized via Docker Compose for development and production, with Helm charts for Kubernetes deployments. Datadog APM tracing is integrated for observability in production environments.

Code Quality The codebase demonstrates comprehensive test coverage across unit tests with Jest and Vitest, integration tests using Testcontainers for real database fixtures, end-to-end API tests, and a dedicated upgrade-tests package that validates schema migration correctness across versions. TypeScript strict mode is applied throughout, with explicit type definitions shared via the @budibase/types package consumed by all layers. ESLint with custom local rules and Prettier enforce consistent formatting, and Husky pre-commit hooks prevent unformatted code from entering the repository. AI-specific logic such as LLM client creation, quota enforcement, and LiteLLM configuration all have focused spec files with nock-based HTTP mocking, indicating mature testing discipline in the newest feature area.

What Makes It Unique The model-agnostic AI layer is a meaningful technical differentiator: rather than hardcoding a single provider, Budibase routes all LLM requests through a LiteLLM proxy that self-hosters fully control, allowing enterprises to use on-premise models or negotiate their own API contracts without changing application code. The knowledge base and RAG system lets agents answer questions from uploaded documents without any third-party vector database subscription. The schema-driven component model in the builder auto-generates configuration panels from data source schemas, enabling no-code customization that stays in sync as underlying schemas evolve. The plugin system’s registry-based architecture allows custom data sources and UI components to be published and consumed across all apps on an instance, extending the platform in ways that typical low-code tools do not permit.

Self-Hosting

Budibase uses a split licensing model that is important to understand before self-hosting. The core platform (server, builder, client) is licensed under GPL v3, which means you can freely run, modify, and distribute it, but any modifications to the platform itself must also be released under GPL v3 if distributed. The client and component libraries are licensed under MPL 2.0, so the apps you build with Budibase are not subject to the GPL v3 copyleft and can be licensed however you choose. Premium features—SCIM provisioning, advanced audit logs, enforceable branding, and workspace management—live in the packages/pro directory and are licensed under the Business Source License (BSL), which restricts commercial use of those features without a paid license. Four years after each version’s publication date, the BSL-licensed code converts to GPL v3.

Running Budibase yourself requires orchestrating several services: the app server, a worker process, CouchDB, Redis, Minio (for object storage), a reverse proxy (Nginx is included), and a LiteLLM instance if you want AI features. The official Docker Compose file provisions all of these and is the recommended starting point for most self-hosters. For production use you are responsible for CouchDB replication, Redis persistence, Minio backups, TLS certificate renewal, and applying upstream releases—Budibase releases multiple versions per week, so staying current demands a deliberate update cadence. Kubernetes deployments using the provided Helm chart add operational maturity but require familiarity with cluster management, persistent volume provisioning, and secrets handling.

Compared to Budibase Cloud, self-hosting means you manage uptime, data backups, and scaling entirely on your own. The hosted tier includes managed upgrades, automatic backups, a global CDN, and direct support channels with SLAs. If your use case requires multi-region redundancy or guaranteed uptime without internal DevOps investment, the cloud option removes that burden. Self-hosting is most compelling for teams with strict data residency requirements, existing Kubernetes infrastructure, or a need to use on-premise AI models—scenarios where the operational overhead is outweighed by the control it provides.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack

No spam. Unsubscribe anytime.

Join 750+ subscribers
No spam. Unsubscribe anytime.

Search