Tabluadocs

Start here

What is Tablua?

Tablua is an AI agent that keeps everything it is and does in tables. Every situation it was in, every move it could have made, the move it chose, who chose it and how it turned out is a typed row in one SQLite file. A tabular model reads those rows and learns which moves make progress.

Most agents keep their history as text: a long prompt, a chat log, or notes in a vector store. Tablua keeps it as data with columns. That one choice changes what you can do with an agent. You can query it, measure it, and teach it from its own record, the way you would with any other dataset.

  1. stateWhere the work standswritten by the host from facts
  2. candidateEvery move it could makewith each model's number for it
  3. decisionThe move it tookand who chose it
  4. actionWhat the move didcalls Mercury filled in
  5. outcomeHow it turned outchecked by the host, not a model

The outcome is the next step's starting point, and a labelled row the tabular model learns from.

One step of the loop. Each box is a row in a table of the agent's file.

What Tablua is made of

Tablua has two parts that work together:

  • The harness. The part that runs the agent: its tables, its step loop, and the code that decides when each model is asked what. The harness is portable Lua. You can embed it in your own program, and it runs unchanged on LuaJIT, standard Lua and the BEAM.
  • The computer. Each agent gets a computer of its own, called Moss. It has a disk, a shell, a browser and a mailbox, and all of it lives in the same SQLite file as the agent's tables. Moss is written in Elixir and Lua.

These docs are mostly about the harness, because that is where Tablua differs most from other agents.

Three models, each with one job

Tablua uses three models, and none of them does another's job:

ModelIts jobWhat it writes
JevDecides the next move, with a probability for each optioncandidate and decision rows
TabPFNLearns from past rows which moves make progresseach move's chance of progress
MercuryWrites what the chosen move needs: code, tests, pagesaction rows

The host, the program that runs the agent, writes the rest: where the work stands and how each step turned out. Those facts come from running checks, never from a model's opinion. Three models, one table explains why it is split this way.

Where to start

Note

Tablua is open source under the Apache-2.0 license, and in active development. Status and roadmap says what works today, what has been measured, and what is still being built.