---
title: Welcome to Avra
description: Avra builds the foundation model for relational data, the linked tables every business keeps, and puts its predictions into the decisions you already make.
---

## Ask your database what happens next

Avra is an AI frontier lab building the foundation model for relational data. **Avra RFM**, the Relational Foundation Model, reads your database as it is and predicts what happens next — which applicants will default, which merchants will churn, which leads will convert — every question from one pre-trained model, without a training project for each.

## What relational data is

Every business runs on relational data. It's how the systems you already use store what you know: in tables, where each table holds one kind of thing and each row describes one of them. A customers table has a row for each customer, an accounts table a row for each account, and a payments table a row for each payment.

Keys link the tables. Every row has an identifier of its own, and rows point at each other by carrying those identifiers: a payment carries the ID of the account it came from, and the account carries the ID of the customer who owns it. Most rows also record when they happened, or when they were true.

<svg class="fig" viewBox="0 0 640 376" role="img" aria-label="Three tables, customers, accounts, and payments, and the same rows drawn as a graph in which customers connect to their accounts, and accounts to their payments, through their keys">
  <defs>
    <marker id="fig-t2g-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
      <path d="M0,0 L10,5 L0,10 z" class="arrow" />
    </marker>
  </defs>
  <rect class="card" x="16" y="16" width="240" height="92" rx="6" />
  <rect class="head" x="16.5" y="16.5" width="239" height="24" rx="5.5" />
  <rect class="head" x="16.5" y="30" width="239" height="10.5" />
  <line class="rule" x1="16" y1="40.5" x2="256" y2="40.5" />
  <text class="title" x="28" y="33">customers</text>
  <text class="mono label" x="28" y="60">customer_id</text>
  <text class="mono label" x="132" y="60">since</text>
  <text class="mono" x="28" y="80">C1</text>
  <text class="mono" x="132" y="80">2021-03-14</text>
  <text class="mono" x="28" y="98">C2</text>
  <text class="mono" x="132" y="98">2023-11-02</text>
  <rect class="card" x="16" y="124" width="240" height="110" rx="6" />
  <rect class="head" x="16.5" y="124.5" width="239" height="24" rx="5.5" />
  <rect class="head" x="16.5" y="138" width="239" height="10.5" />
  <line class="rule" x1="16" y1="148.5" x2="256" y2="148.5" />
  <text class="title" x="28" y="141">accounts</text>
  <text class="mono label" x="28" y="168">account_id</text>
  <text class="mono label" x="132" y="168">customer_id</text>
  <text class="mono" x="28" y="188">A1</text>
  <text class="mono accent" x="132" y="188">C1</text>
  <text class="mono" x="28" y="206">A2</text>
  <text class="mono accent" x="132" y="206">C1</text>
  <text class="mono" x="28" y="224">A3</text>
  <text class="mono accent" x="132" y="224">C2</text>
  <rect class="card" x="16" y="250" width="240" height="110" rx="6" />
  <rect class="head" x="16.5" y="250.5" width="239" height="24" rx="5.5" />
  <rect class="head" x="16.5" y="264" width="239" height="10.5" />
  <line class="rule" x1="16" y1="274.5" x2="256" y2="274.5" />
  <text class="title" x="28" y="267">payments</text>
  <text class="mono label" x="28" y="294">payment_id</text>
  <text class="mono label" x="112" y="294">account_id</text>
  <text class="mono label" x="196" y="294">paid_at</text>
  <text class="mono" x="28" y="314">P1</text>
  <text class="mono accent" x="112" y="314">A1</text>
  <text class="mono" x="196" y="314">Apr 02</text>
  <text class="mono" x="28" y="332">P2</text>
  <text class="mono accent" x="112" y="332">A1</text>
  <text class="mono" x="196" y="332">May 02</text>
  <text class="mono" x="28" y="350">P3</text>
  <text class="mono accent" x="112" y="350">A3</text>
  <text class="mono" x="196" y="350">May 09</text>
  <line class="edge" x1="270" y1="196" x2="334" y2="196" marker-end="url(#fig-t2g-arrow)" />
  <text class="small label mid" x="302" y="186">keys</text>
  <line class="edge-accent" x1="380" y1="130" x2="480" y2="80" />
  <line class="edge-accent" x1="380" y1="130" x2="480" y2="180" />
  <line class="edge-accent" x1="380" y1="290" x2="480" y2="290" />
  <line class="edge-accent" x1="480" y1="80" x2="590" y2="50" />
  <line class="edge-accent" x1="480" y1="80" x2="590" y2="110" />
  <line class="edge-accent" x1="480" y1="290" x2="590" y2="290" />
  <circle class="solid" cx="380" cy="130" r="17" />
  <text class="mono mid on-solid" x="380" y="134">C1</text>
  <circle class="solid" cx="380" cy="290" r="17" />
  <text class="mono mid on-solid" x="380" y="294">C2</text>
  <circle class="soft" cx="480" cy="80" r="17" />
  <text class="mono mid" x="480" y="84">A1</text>
  <circle class="soft" cx="480" cy="180" r="17" />
  <text class="mono mid" x="480" y="184">A2</text>
  <circle class="soft" cx="480" cy="290" r="17" />
  <text class="mono mid" x="480" y="294">A3</text>
  <circle class="node" cx="590" cy="50" r="17" />
  <text class="mono mid" x="590" y="54">P1</text>
  <circle class="node" cx="590" cy="110" r="17" />
  <text class="mono mid" x="590" y="114">P2</text>
  <circle class="node" cx="590" cy="290" r="17" />
  <text class="mono mid" x="590" y="294">P3</text>
  <circle class="solid" cx="372" cy="350" r="6" />
  <text class="small label" x="384" y="354">customer</text>
  <circle class="soft" cx="458" cy="350" r="6" />
  <text class="small label" x="470" y="354">account</text>
  <circle class="node" cx="536" cy="350" r="6" />
  <text class="small label" x="548" y="354">payment</text>
</svg>

The same rows, as tables and as a graph. Every row becomes a node, and every key that points at another row becomes an edge.

Follow the keys and the tables become a graph: every row is a node, and every key that points at another row is an edge. Read with the timestamps, that graph tells you who bought what, who paid whom, who owns which company, and in what order it all happened. See [Relational data](/rfm/relational-data).

## Why the links matter

The answer to most business questions sits in those links. Whether a company defaults depends on its own payments, and also on its owners' other companies, its largest customers, and its suppliers. Whether a new account is fraud depends on the devices and addresses it shares with accounts you've already seen.

Most models never see the links. They're trained on one wide row per customer, account, or company: a summary of its tables, taken at one moment and built by hand for one question. The relationships and the order of events are flattened away, and the next question starts the work again. Avra RFM reads your tables, keys, and timestamps as they are, with no features to build first. See [Why Avra](/why-avra).

## How your data reaches Avra

You send the tables you already keep, as they are: the records you want to score, the tables related to them, the keys that link them, the columns that say when each row was true, and your historical outcomes, such as defaults, conversions, or confirmed fraud. Upload them as files, or have them read from the storage where they already live.

Every delivery goes through Avra's [ingestion pipeline](/data-ingestion). It checks each one against the data contract agreed with your Avra team and publishes a new version only when it passes, so a model only ever sees data that passed. It also keeps when each row was true and when it was recorded, so your data can be replayed as it stood on any past date, and a backtest sees only what was known then. See [Time and history](/data-ingestion/time).

The pipeline runs in Avra's cloud, inside your isolated workspace, or in your own environment, next to your data. Your data is protected in both, and nothing about your business trains another customer's model. See [Deployment](/deployment).

## What you get back

For each record you ask about — each customer, account, or company — Avra RFM returns a score that ranks it against the others. [Avra Core](/core) delivers the scores to the systems you already run: one record at a time through the API when a decision comes up, or a whole portfolio in batch on your schedule. Your team keeps the controls: which version serves production, when to promote a new one, and when to roll back.

Avra also runs a second model for Brazilian companies: [Avra GFM](/gfm), the Graph Foundation Model, pre-trained on Avra's knowledge graph of the Brazilian economy. Given a company's CNPJ, it returns embeddings and probabilities of default through Avra Core. See [Models](/models) for how the two compare.

## Where to go next

**[Quickstart](/quickstart)**

From one prediction problem to scores in production.

**[Models](/models)**

Avra RFM and Avra GFM side by side, and which fits your question.

**[Avra RFM](/rfm)**

How the model predicts, adapts, and earns its place in production.

**[Avra GFM](/gfm)**

Every Brazilian company, read through the relationships around it.

**[Avra Core](/core)**

Live predictions, batch, and the controls around every model.

**[Data ingestion](/data-ingestion)**

How the data you send becomes validated, versioned inputs.

**[Deployment](/deployment)**

Avra's cloud, or the data layer and the RFM inside your environment.

**[Use cases](/use-cases)**

Acquisition, credit, fraud, and any outcome you can name.

Building an integration? Go to the [API reference](/api-reference).
