FormalBytebase

Bytebase alternative for database access and AI agents

Bytebase runs schema changes and gates database access through its web SQL Editor, API and MCP server. Formal's Connector is a protocol-aware proxy in your VPC: psql, BI tools and AI agents keep their clients, and policies mask, block or rewrite each query.

Formal vs Bytebase: the Bytebase alternative at a glance

CriteriaFormalBytebase
Access
Architecture

Documented: Reverse proxy in your VPC reads each request

Documented: Web SQL Editor, API and MCP server[2]

Details: Architecture

Formal

A container you deploy in your own infrastructure accepts each database connection, parses the protocol and evaluates policy on it. The data plane stays with you; the Control Plane Formal hosts can't reach query results.

Bytebase

People query production in Bytebase's browser SQL Editor and agents use its built-in MCP server. Bytebase connects to each database itself, so the database sees a service account and Bytebase's log records the person.[2]

How users connect

Documented: psql, drivers and BI tools under each identity

Documented: Browser SQL Editor, API or embedded editor[6]

Details: How users connect

Formal

Native clients and drivers point at the Connector hostname and sign in with a Formal identity. With the BI integration, Metabase, Looker, Omni and Fivetran tell the Connector which person is behind each query.

Bytebase

The built-in browser editor, with nothing to install per engineer. The editor can also be embedded in an internal portal through the API. A proxy for native clients such as psql is not documented.[6]

Upstream credentials

Documented: The Connector holds them; users never do

Documented: Bytebase holds the instance credential[2]

Details: Upstream credentials

Formal

People and agents sign in as themselves. The upstream password or AWS IAM role is a Native User that stays on the Connector.

Bytebase

Bytebase connects with the credential configured on the instance and doesn't create a database user per person; its audit log records who ran what. Enterprise adds an external secret manager.[2]

Just-in-time access

Documented: Slack approval, exception that expires

Partial or edition-limited: Expiring roles or one-statement grants (Enterprise)[4]

Details: Just-in-time access

Formal

Workflows grant a policy suspension for one person: one-off, used up by the first matching request, or time-bound, covering every matching request until it expires. Every other policy keeps applying.

Bytebase

Request a time-boxed role, or an access grant to run one approved read-only statement, optionally unmasked or exported, for 1 hour to 7 days. Just-in-time access is listed for the Enterprise plan.[4]

Resources covered

Documented: Databases plus SSH, RDP, Kubernetes, APIs, MCP

Documented: 20+ database engines; no SSH or Kubernetes[1]

Details: Resources covered

Formal

Databases and warehouses: Postgres, MariaDB, MySQL, Redshift, Snowflake, BigQuery, ClickHouse, MongoDB, DynamoDB and Redis. Beyond them: S3, HTTP and gRPC APIs, AWS and GCP APIs, web apps, MCP servers, LLM APIs, SSH (including AWS SSM), RDP and Kubernetes. Neither SQL Server nor Oracle is listed.

Bytebase

PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, MariaDB, TiDB, Snowflake, ClickHouse, Spanner, OceanBase and more. Bytebase states that it governs databases only.[1]

Inside the session
Query controls

Documented: Block or rewrite each query before it runs

Partial or edition-limited: Review rules block statements; rewrite not documented[6]

Details: Query controls

Formal

Before the database sees a statement, a request policy decides whether it passes, stops it, or rewrites it, for instance by adding or lowering a row LIMIT.

Bytebase

Statements typed in the editor go through Bytebase, where review rules can block a dangerous query. Rewriting a statement in flight is not documented.[6]

Masking query results

Documented: Mask, filter or block returned rows

Partial or edition-limited: SQL Editor, results and exports (Enterprise)[5]

Details: Masking query results

Formal

A response policy can swap a column for NULL, a salted or deterministic hash, generated fake data or a partially redacted value, drop rows, or refuse to return the result.

Bytebase

Dynamic masking by semantic type and classification, with approved, expiring unmask grants. Dynamic data masking is listed for the Enterprise plan; row filtering is not documented.[5]

Masking for direct connections

Documented: Every client routed through the Connector

Partial or edition-limited: Bytebase paths only; direct connections not masked[5]

Details: Masking for direct connections

Formal

Masking runs in the Connector, so psql, application drivers, BI tools and agent connections routed through it get the same response policy.

Bytebase

Bytebase masks reads that go through Bytebase. Its masking FAQ states that an application connecting directly to the database with its own credentials isn't intercepted.[5]

Session audit

Documented: Every query logged per identity

Partial or edition-limited: Queries, exports, grants; Pro 7 days, Enterprise unlimited[3]

Details: Session audit

Formal

Database statements are logged with the user or agent behind them, and SSH and kubectl sessions are recorded.

Bytebase

One audit log of queries, exports, grants, approvals and schema changes. The pricing page lists no audit log on Community, 7-day retention on Pro and unlimited retention on Enterprise.[3]

AI agents
AI agents

Documented: Agent identity tied to its human; MCP gateway

Documented: Built-in MCP server; agents sign in as users[7]

Details: AI agents

Formal

An agent hands the Endpoint an OIDC token and gets a Formal credential that expires quickly; policy input names the machine user and the person behind it. Calls through the MCP gateway are logged one by one.

Bytebase

The MCP client signs in with OAuth as a Bytebase user and carries that user's permissions, within a workspace mode of Disabled, Read-only (the default) or Read-write. Activity is logged with an MCP tag.[7]

Agents on drivers outside MCP

Documented: Native drivers through the Connector

Partial or edition-limited: Governed via its MCP server; drivers not proxied[5]

Details: Agents on drivers outside MCP

Formal

An agent that opens a Postgres connection with a driver connects to the Connector like any other client, under its own machine identity, and gets the same request and response policies.

Bytebase

Agent reads and writes are governed when they go through the Bytebase MCP server. A driver connecting straight to the database is outside Bytebase's masking.[5]

LLM traffic inspection

Documented: Model request and response inspection

Not documented: Not documented[1]

Details: LLM traffic inspection

Formal

Model calls that pass through a Formal proxy are read in both directions, and a policy can act on the prompt or on the completion.

Bytebase

Bytebase governs database change and access. Inspection of LLM traffic is not documented.[1]

Operations
Schema migrations and GitOps

Not documented: Not offered: Formal doesn't run migrations

Documented: Git-based, declarative and online migrations[3]

Details: Schema migrations and GitOps

Formal

Formal is not a schema migration or GitOps tool.

Bytebase

Git-based schema version control, declarative and online schema migration, batch changes, rollout policies, backup and one-click rollback, on every plan.[3]

SQL review

Not documented: Not offered: runtime policies, not pre-deploy review

Documented: 200+ pre-deployment SQL review rules[3]

Details: SQL review

Formal

Formal evaluates statements at runtime. It doesn't review change scripts before deployment.

Bytebase

Pre-deployment SQL review with more than 200 rules, on every plan.[3]

Deployment

Documented: ECS Fargate or Helm, in your cloud

Documented: Self-hosted Docker image or Bytebase Cloud[3]

Details: Deployment

Formal

A Linux container for AMD64 or ARM64 that runs as an ECS Fargate service or on any Kubernetes cluster through the Helm chart. For production, the docs recommend two or more nodes.

Bytebase

Self-host as a single Docker image, including in air-gapped environments, or use Bytebase Cloud; the Pro plan starts on Cloud. High availability is an Enterprise add-on.[3]

Policy management

Documented: Rego policies via Terraform, Pulumi or API

Documented: Roles, masking rules and Terraform provider[3]

Details: Policy management

Formal

One policy language, Rego, for every protocol Formal proxies. Teams manage policies in Git and ship them through Terraform or Pulumi.

Bytebase

Built-in users, roles and permissions, masking rules and a Terraform provider for policy as code. Custom roles are listed for Enterprise.[3]

Pricing model

Documented: Quote scoped to resources and identities

Documented: Free; Pro $20/user/month; Enterprise quote[3]

Details: Pricing model

Formal

Formal pricing is scoped to the resources you protect and the people and agents that use them.

Bytebase

Community is free for up to 20 users and 10 instances. Pro is $20 per user per month with up to 10 instances. Enterprise is priced on request, billed yearly, with a 14-day trial.[3]

Documented Partial or edition-limited Not documented

Formal publishes this comparison. Every Bytebase fact links to Bytebase’s own pages, listed under Sources with the date we read them. Updated Nov 25, 2026.

Bytebase does two jobs. It runs schema migrations and SQL review, and it decides who can query production through its web SQL Editor, with just-in-time grants and dynamic data masking. Formal competes with the second job only. This comparison is ours, so weigh it as one vendor’s account; each Bytebase fact below links to Bytebase’s own pages, read on November 25, 2026.

Two products: change management and access control

Bytebase calls itself an open-source database governance platform for humans and agents (Bytebase on GitHub), and in practice that’s two products sharing one audit trail. The change side reviews and rolls out database changes across environments: Git-based schema version control, declarative and online migrations, more than 200 pre-deployment SQL review rules, and rollback (Bytebase pricing). The access side puts people in a browser editor and agents behind a built-in MCP server, with expiring roles, single-statement grants and masking by semantic type.

Which half your team wants gone decides the shortlist. If it’s migrations, the usual Bytebase alternatives are migration tools: Flyway, Liquibase, Sqitch, Atlas, Redgate. We don’t build one of those.

The access half is where Formal overlaps: who reaches production data, through which client, and what comes back.

What a Bytebase alternative for database access should cover

We applied the same questions to both columns of the table, and they work for any tool on your list:

  • Which connections it sees. A control in a web editor sees the editor’s queries. A control in the network path sees every client routed through it.
  • Who holds the database credential. Check whether people and agents can ever see it, and what the database’s own session list shows.
  • Where masking applies. In the editor and its exports only, or on every connection, including BI tools and application drivers.
  • How just-in-time access ends. At a fixed time, after one statement, or when someone remembers to revoke it.
  • How an AI agent is identified. Check whether it can get less access than the person who started it.

Schema change management isn’t on that list because Formal doesn’t do it; the table marks those rows as not offered. If you’re new to the category, our database security guide walks through the layers.

Web SQL Editor or wire-protocol proxy

Bytebase’s access model starts from the editor. An engineer asks for a role or for a grant on one statement, the approver sees the exact SQL, and the query runs in Bytebase’s editor. By default a developer holds only the EXPLAIN permission (Bytebase blog). Bytebase connects to the database with the credential configured on the instance, so the database sees a service account while Bytebase’s log records the person (Bytebase vs. Teleport). Nobody installs anything, which matters for analysts who’d otherwise need a SQL client set up.

Formal starts from the connection.

The Connector runs as a reverse proxy inside your VPC. It speaks the Postgres wire protocol, and MySQL, MongoDB and Snowflake too, so psql, an application driver or a BI tool connects to the Connector hostname as if it were the database (Postgres docs). Each connection signs in with a Formal identity. Upstream, the Connector logs in as a Native User that people and agents never see (Native Users docs), and policies written in Rego run when the session opens, before each query and after each response (enforcement docs).

The trade-off is coverage against convenience. An editor gives you a tidy review screen for every statement, and anything that skips the editor is outside it; Bytebase says as much about masking, which applies to “reads that go through Bytebase” (Bytebase dynamic data masking). If your engineers live in psql, your dashboards query production through Metabase or Looker, and your agents open their own connections, we’d put the control in the protocol. Our database access control page covers how that runs day to day.

Where does Bytebase fit well?

Both govern database access. Which fits best depends on where people and agents connect.

Bytebase describes itself as database governance for humans and agents, covering both changes and access (Bytebase on GitHub). The Bytebase card uses only Bytebase’s own pages.

Choose Formal if

  • People and tools already connect with psql, application drivers or BI tools such as Metabase and Looker, and masking has to follow those connections (Postgres integration).
  • AI agents open database connections with drivers as well as through MCP servers, and each query should carry the person who launched the agent (Devin guide).
  • The same policy engine should also cover SSH, Kubernetes, HTTP APIs, MCP servers and LLM traffic (supported resources).

Choose Bytebase if

  • You need schema migrations, SQL review and GitOps rollout for database changes.[3]
  • Engineers should query production in a browser SQL Editor, with approval attached to one statement.[4]
  • You run SQL Server, Oracle, TiDB, Spanner or OceanBase: Bytebase lists them, and Formal’s resource docs don’t.[1]
  • You want a free Community plan for up to 20 users and 10 instances, on a mostly MIT-licensed codebase.[3]

See the difference

Same database, different client. The mask follows the connection or it doesn't.

A psql session or BI tool that connects directly

Bytebase masks reads that go through Bytebase: the SQL Editor, query results and exports. Its own FAQ says an application connecting directly to the database with its own credentials isn’t intercepted (Bytebase dynamic data masking). With Formal, psql, a driver or a BI tool connects to the Connector, and one response policy masks the email column whichever client sent the query (enforcement docs). Metabase, Looker, Omni and Fivetran can pass the end user’s identity, so the mask follows the person behind the dashboard. Our data masking page goes deeper.

Rows as stored, no response policy
psqlillustrative
=> SELECT email, ssn FROM users LIMIT 2;
 email                  | ssn        
------------------------+-------------
 dana.ortiz@example.com | 123-45-6789
 lee.park@example.com   | 987-65-4321
(2 rows)

Masking applies to reads that go through Bytebase.[5]

Through the Formal Connector
psqlillustrative
=> SELECT email, ssn FROM users LIMIT 2;
 email            | ssn        
------------------+-------------
 ****@example.com | a8f5f167f4…
 ****@example.com | 3c59dc048e…
(2 rows)

Same client, same query. A response policy masks the email username and another hashes the SSN. Illustrative data.

Show the policy
package formal.v2

import future.keywords.if

response := {
  "action": "mask",
  "type": "redact.partial",
  "sub_type": "email_mask_username",
  "columns": columns
} if {
  columns := [col |
    col := input.row[_]
    col["data_label"] == "email_address"
  ]
  count(columns) > 0
}

Masks the username of every column labeled as an email address. From the Policy enforcement docs.

An agent's DELETE in production

Bytebase’s MCP server refuses writes in Read-only mode and sends them through SQL review and approval in Read-write mode (Bytebase MCP server). Formal’s request policy sits in the wire protocol, so a DELETE from an agent’s Postgres driver is refused before it reaches the database, and the log names the machine user and the person who started the session (Devin guide).

Connector log, illustrative
formal connectorproduction
AGENT  devin (machine user), end_user: alice@example.com
DELETE FROM orders WHERE created_at < now();
BLOCK  DELETE operations are not allowed in production
# logged with both identities
Show the policy
package formal.v2

import future.keywords.if

# Block all DELETE statements in production
request := {
  "action": "block",
  "type": "block_with_custom_message",
  "message": "DELETE operations are not allowed in production",
  "reason": "Production data protection policy"
} if {
  input.resource.environment == "production"
  input.sql_query.statement_type == "DELETE"
}

From the Policy enforcement docs.

How is Formal different from Bytebase?

Bytebase governs its own entry points. Formal sits in the protocol.

Bytebase puts people and agents in front of a web SQL Editor, an API and an MCP server, and connects to each database with the instance credential. The Formal Connector is a reverse proxy in your VPC that reads the Postgres, MySQL, MongoDB or Snowflake protocol, so every client routed through it gets the same policies.

Architecture

Where the control point sits

Every client, from psql to a dashboard to an agent’s driver, connects to the Connector, which parses the query before Postgres sees it. Formal’s hosted Control Plane handles configuration and can’t read the rows.

vs. Bytebase: people query in a browser SQL Editor, and Bytebase connects to the database with the instance credential.[2]

connector: accounts-dbillustrative
HUMAN  dana@example.com  psql
ALLOW  SELECT customer_id, phone FROM accounts
MASK   phone (response stage)
# a dashboard sending this query gets the same mask
How it works

Bytebase governs three entry points: its SQL Editor, its API and its MCP server (Bytebase vs. Teleport). A query that reaches the database some other way is outside them. The Connector is a single entry point for every client, a container in your VPC that parses each query and result set and runs your policies on both. You deploy it as an ECS Fargate service or with Helm (deployment docs), and the hosted Control Plane has no access to query results (architecture docs).

AI agents

An agent on a Postgres driver, outside MCP

A coding agent that opens a Postgres connection never touches an MCP server. Through the Connector, that connection gets the same request and response policies as an engineer’s psql session.

vs. Bytebase: agents are governed through its MCP server, and masking covers reads that go through Bytebase.[7]

connector: agent sessionillustrative
AGENT  ci-agent (OIDC), postgres driver
HUMAN  end_user: sam@example.com
MASK   card_last4 in the result set
BLOCK  DROP TABLE invoices (production)
How it works

Bytebase’s MCP server gives an agent governed reads and, in Read-write mode, writes that pass SQL review and approval (Bytebase MCP server). Its masking FAQ says an application connecting directly with its own credentials isn’t intercepted, and an agent holding a driver and a connection string is that kind of client (Bytebase dynamic data masking).

With Formal, the agent’s connection goes to the Connector whatever library opened it. Our Devin guide turns the agent’s OIDC token into a Formal machine user linked to whoever launched the session, keeps that machine user blocked, and opens one session when that person says yes in Slack. Agents that do speak MCP go through the MCP gateway, where the Connector supplies the upstream credential and records each tool call (MCP gateway docs).

Just-in-time access

Access that expires in the middle of a session

A Formal suspension lifts a blocking policy for one person. A time-bound suspension covers matching requests until it expires, and the next query after that meets the default policy again.

vs. Bytebase: a role ends at its expiration date, and an access grant when its approved window runs out.[4]

workflow: prod-writeillustrative
APPROVED alice@example.com, prod writes for 2h (Slack)
ALLOW  UPDATE orders SET status = 'refunded' WHERE id = 4182
BLOCK  UPDATE orders ... (suspension expired at 16:00)
# nothing to revoke afterwards
How it works

Formal’s just-in-time access is a policy suspension. A one-off suspension covers the first matching request, or ends at a safety timeout, so it’s used up by the statement it was approved for. A time-bound suspension covers every matching request up to its expiry, and a CEL condition can limit which requests match, for example input.sql_query.statement_type == "DELETE" && input.db_name == "billing". The Connector checks suspensions each time it evaluates a request, against the current time, so a query sent after the expiry runs into the default policy even if the connection stayed open.

Bytebase’s closest equivalent to a one-off suspension is its access grant: one approved read-only statement, optionally unmasked or exported, valid for 1 hour to 7 days from approval (Bytebase JIT docs). On the Formal side, Workflows chain the Slack request, the approval and the suspension, and our just-in-time access guide compares the patterns.

Identity

The agent and the human behind it

An agent signs in to the Connector as its own machine user, and policies also see the person it runs for, so the agent can be held to less than its human.

vs. Bytebase: the MCP client signs in with OAuth as a Bytebase user and carries that user’s permissions.[7]

connector: agent sessionillustrative
AGENT  devin (OIDC machine user)
HUMAN  end_user: priya@example.com
BLOCK  default policy for devin
ALLOW  one session, after priya approves in Slack
How it works

Bytebase logs MCP activity under the signed-in user, with an MCP tag and a per-session correlation ID, and a workspace-wide mode of Disabled, Read-only or Read-write caps what any MCP session can do (Bytebase MCP server).

In Formal, the Endpoint swaps an OIDC token, say from a GitHub Actions job or a SPIFFE workload, for a Formal credential that expires quickly (OIDC docs). The agent is its own machine user and the person who launched it is the end user. A suspension applies when the request’s user or end user matches (suspension docs), which is how the Devin setup blocks the agent by default and lets its human approve one session.

Teams running Formal for database access

Notion governs database access to more than 100 RDS instances with Formal, and its just-in-time grants run through Okta (Notion case study). Cursor keeps no standing production access: engineers ask for time-bound access when a task needs it (Cursor case study).

Formal at Cursor

10+Technologies secured
1,000+Resources secured
40M+Logs per week
600K+Sessions per week
“With Formal, we can finally manage least privilege access across our entire infrastructure through a single control plane.”
Tom Daniels
Tom Daniels
CISO, Cursor
“We did a vendor bakeoff between a number of products and Formal came out on top.”
Daniel Pyykonen
Daniel Pyykonen
Head of Security Engineering, Notion
“We've limited the amount of data that those cloud agents can access and we're able to tie that back to the specific user who is using that cloud agent, which is a feature that I'm only aware of Formal having.”
Roy Xu
Roy Xu
Software Engineer, Security, Cursor

SOC 2 Type IIISO/IEC 27001SOC 2 Type II and ISO/IEC 27001. Reports at security.formal.ai.

What changes for engineers when you move database access to Formal?

Engineers keep their clients. Bytebase can keep the migrations.

Do engineers have to use a web editor?

No. They point psql or their driver at the Connector hostname and sign in as themselves. BI tools connect the same way.

Postgres docs ›

Can we keep Bytebase for schema migrations?

Yes. Leave Bytebase’s rollout pipeline where it is and move the human and agent connections to the Connector first. Settle early which tool approves production reads, so engineers don’t get two request flows.

Architecture docs ›

Where does our data go?

Nowhere new. Queries and result sets pass through the Connector you deploy, and the Control Plane that Formal hosts can’t read them.

Architecture docs ›

How do we deploy it?

Pick ECS Fargate on AWS, or the Helm chart on whichever Kubernetes you run. For production, plan on two or more Connector nodes so one can fail without cutting access.

Connector deployment docs ›

What if we run SQL Server or Oracle?

Formal’s resource docs don’t list them today. Keep those engines where they are and put the engines Formal supports behind the Connector.

Supported resources ›

Running Bytebase and Formal side by side

You don’t have to pick one. Bytebase’s change workflow connects to each database with its own instance credential and Formal doesn’t touch schema changes, so one workable split is Bytebase for migrations and SQL review, and Formal for the people, BI tools and agents that read and write production. Bytebase describes the same kind of split with Teleport on its own comparison page (Bytebase vs. Teleport).

Two things to settle if you run both. Pick one owner for just-in-time access to production, or engineers end up with two request flows and two audit trails to reconcile. And decide where masking rules live: a column masked in Bytebase’s editor but returned in clear through a direct connection is the gap described above.

Moving database access off Bytebase, one database at a time

Bytebase keeps serving what you haven't moved.

  1. Deploy the Connector next to your databases

    Run it with Helm on Kubernetes or as an ECS Fargate service, in a network that reaches your databases. Bytebase keeps serving everything you haven't moved.

  2. Recreate roles and masking rules as policies

    Map Bytebase project roles to Formal policies and Native Users, and each masking rule to a response policy. Expiring roles become Workflows that suspend a blocking policy.

  3. Move one database or team at a time

    Point one team's psql, drivers and agents at the Connector, check the logs, then move the next database. Schema changes can stay in Bytebase.

How is Bytebase priced, and is it open source?

Bytebase pricing is per user, across three plans (Bytebase pricing). Community is free for up to 20 users and 10 database instances. Pro costs $20 per user per month, starts on Bytebase Cloud, keeps the 10-instance cap and adds Google and GitHub sign-in, groups and a 7-day audit log. Enterprise is a yearly contract priced on request, with custom instance counts, OIDC and LDAP SSO, SCIM, an unlimited audit log and a 14-day trial.

For an access-control evaluation the plan boundary matters more than the price. The pricing page lists just-in-time access, dynamic data masking, approval workflows and data classification for Enterprise only, while change management, the SQL Editor and the MCP server are on every plan.

Bytebase is open source with a carve-out. Its LICENSE puts most of the code under MIT, but source files in directories with “enterprise” in the name, and any code controlling feature, permission, role and plan enablement, fall under a separate enterprise license (LICENSE).

How is Formal priced?

Formal pricing is scoped to the resources you protect and the people and agents that use them, aligned with how you grow and competitive with the incumbents.

Which other Bytebase alternatives should you compare?

Bytebase competitors split along the same line as the product:

If you’re replacingTools to look atOur comparison
Schema migrations and SQL reviewLiquibase, Flyway, Atlas, Sqitch, RedgateNone: Formal doesn’t do this job
Access to production databasesTeleport, StrongDM, FormalTeleport alternative, StrongDM alternative

HashiCorp Boundary with Vault, cloud IAM database authentication such as AWS RDS IAM, and hoop.dev also come up next to Bytebase for database access; we haven’t written comparisons for them. Bytebase publishes its own comparisons with Teleport and StrongDM, built around statement-level approval and masking (Bytebase vs. Teleport, Bytebase vs. StrongDM). For the wider field, the PAM tools roundup covers ten vendors in more depth.

Frequently asked questions

Buying and fit

Can Formal replace Bytebase for schema migrations?

No. Formal doesn’t run migrations, review change scripts or roll them out from Git. Keep Bytebase for that job, or compare it with migration tools such as Liquibase, Flyway or Atlas, and use Formal for runtime access.

Pricing and licensing

Is Bytebase open source, and is it free?

Largely, yes. Most of the code is MIT-licensed, with enterprise directories and plan-enablement code under a separate license, and the Community plan costs nothing for up to 20 users and 10 instances. Just-in-time access and dynamic masking sit in Enterprise; the pricing section has the plan boundaries.

How is Bytebase priced?

Per user. Pro costs $20 per user per month and Enterprise is a yearly contract priced on request (Bytebase pricing). Bytebase pricing for access control effectively starts at Enterprise, since that’s the plan listing JIT grants and masking.

AI agents

How do AI agents get database access with Bytebase vs Formal?

In Bytebase, through its MCP server, signed in as a Bytebase user; DBHub, Bytebase’s separate open-source MCP server, is meant for local development (Bytebase MCP server). In Formal, the agent connects to the Connector with its own OIDC-backed identity, through a driver or the MCP gateway, and policies see the human behind it.

Migration and deployment

Does just-in-time database access end after inactivity?

Neither product documents an inactivity timeout. Bytebase access ends at a set time (Bytebase JIT docs). A Formal suspension ends at its expiry or, if it’s one-off, after the first matching request, and later requests meet the default policy (suspension docs). The just-in-time access guide compares both patterns.

Product

What is Bytebase used for?

Schema change management and database access control: migrations and SQL review on one side, and on the other a web SQL Editor for people and an MCP server for AI agents (Bytebase on GitHub). Two products covers which half Formal can replace.

Does Bytebase mask data for direct database connections?

No, by Bytebase’s own account: masking covers reads that go through Bytebase, and an application connecting directly with its own credentials isn’t intercepted (Bytebase dynamic data masking). As a Bytebase alternative, Formal masks in the Connector, so every client routed through it gets the response policy. Our data masking page covers dynamic data masking policies.

  1. Bytebase on GitHub (README), read Nov 25, 2026
  2. Bytebase vs. Teleport (Bytebase), read Nov 25, 2026
  3. Bytebase Pricing, read Nov 25, 2026
  4. Just-in-Time Access (Bytebase docs), read Nov 25, 2026
  5. Dynamic Data Masking (Bytebase), read Nov 25, 2026
  6. Just-in-Time Database Access (Bytebase blog, June 4, 2026), read Nov 25, 2026
  7. The Bytebase MCP server (Bytebase), read Nov 25, 2026
  8. Bytebase LICENSE (GitHub), read Nov 25, 2026
  9. Bytebase vs. StrongDM (Bytebase), read Nov 25, 2026
  10. Formal architecture (Formal docs), read Nov 25, 2026
  11. Formal supported resources (Formal docs), read Nov 25, 2026
  12. Formal policy enforcement (Formal docs), read Nov 25, 2026
  13. Formal policy suspensions (Formal docs), read Nov 25, 2026
  14. Formal OIDC for machine identities (Formal docs), read Nov 25, 2026
  15. Give Devin just-in-time database access (Formal docs), read Nov 25, 2026
  16. Formal MCP gateway (Formal docs), read Nov 25, 2026
  17. Formal Native Users (Formal docs), read Nov 25, 2026
  18. Formal Connector deployment (Formal docs), read Nov 25, 2026
  19. Formal Postgres resource (Formal docs), read Nov 25, 2026

Teams that run Formal

  • Cursor
  • Notion
  • Profound
  • Surge
  • Asana
  • Decagon

Using Bytebase for database access? See Formal next to it.

We'll mask a direct psql session, block an agent's DELETE, and show where Bytebase can keep running your schema changes.

Get a demo ›Get a quote ›