anfra docsAlpha

Quick start

Choose how to run anfra, then build your first data app with the CLI, or use your team's apps on anfra BI Cloud

You build anfra projects on your machine, with the CLI and a coding agent. To share them with your team, run anfra Core, the open-source engine, on your own server, or publish to anfra BI Cloud, the hosted anfra BI.

Choose how to run anfra

Self-hosted anfra Coreanfra BI Cloud
Who runs itYou, on your host. See Self-host anfra Core.anfra, at us.anfra.ai. See Hosting.
How people sign inA built-in login page (usernames and passwords, or Google and GitHub accounts), or your own proxy. See Authentication.Google, GitHub or an email code. People join an organization by invitation. See Users & auth.
What each person can doThe same for everyone who gets in: the same apps, queried with one database user. Anyone can run SQL on the connections.One role per member: Explorer, Analyst or Admin. Only Admins can run SQL on a connection. See Permissions.
MCP for your teamOne server address for every agent. Agents send a password or your proxy's credential, with no permissions per person. See MCP on anfra Core.Each person connects with OAuth, and their client acts with their role. See MCP on anfra BI Cloud.
Warehouse credentialsIn your host's settings, in ANFRA_DATA_SOURCESKept by the organization as connections. Only Admins see or change them.
Best forA quick, free way to share apps with your team and agents, full control over where anfra runs, or a database only your network can reachTeams that want sign-in, roles and per-person MCP access without running a server

Start with the CLI or anfra BI Cloud

Build your first data app on your machine. You need macOS, Linux, or Windows with WSL2 (see Install the CLI), a warehouse to connect to, and a coding agent such as Claude Code or Codex. To run with Docker instead of installing, see Try anfra without installing.

Install anfra: the CLI and the agent skills

Installing anfra takes two steps, and you need both. First install the CLI:

curl -fsSL https://anfra.ai/install.sh | bash

The installer puts anfra in ~/.anfra/bin and adds it to your PATH. Open a new terminal, then install the skills that teach your coding agent to build with anfra. For Claude Code and Codex:

anfra agent setup

For Amp, and any agent other than Claude Code and Codex, anfra agent setup installs nothing. Install the skills with npx skills add holistics/anfra-skills -a <agent-id> -g -y, such as -a amp. See Install the CLI for installer options, other agents and how to check both parts.

Create a project and connect a warehouse

anfra init my-project
cd my-project

Replace the placeholders in .anfra/data_sources.yml with your warehouse credentials. That file holds your project's connections. See Connect your data for Snowflake, BigQuery, ClickHouse and the others.

Set up with a coding agent

Or let your coding agent do this step: open an empty folder in it and paste this prompt.

Use the anfra-setup-repo skill to set up anfra and connect my warehouse.

Ask your agent for an app

Example prompt

Open the project in your coding agent and paste this prompt.

Use the anfra-build-data-app skill. Look at my orders data and build a revenue overview: monthly trend and revenue by region. Clicking a region should filter the trend.

With no models yet, the agent defines the datasets and metrics it needs as code in models/ and datasets/, then builds the app in apps/. See Model your data and Project structure.

Run the server

anfra serve

Open http://127.0.0.1:7878/ to see your apps. An app saved as apps/revenue.html opens at /apps/revenue and reloads as you or the agent edit it.

Share it

When your team needs the app, publish the project to anfra BI, or self-host anfra Core.

Next steps

On this page