Docs
GuidesWebsite GitHub
OverviewGetting StartedTry the Demo DatabaseApprove a Database WriteTerminal and CLIBackground Host
AgentConversationsConfigurationAuthenticationLLM ProvidersToolsPython Analysis
Data SourcesSQLitePostgreSQLFiles and FoldersHTTP APIsQueryingCatalogDatabase WritesRemote MCP ToolsPrivate Database
Work BoardArtifactsJobsRoutines
Memory and LearningSemanticsSkills
Observation EventsError HandlingEvaluation
Daita / Docs
OverviewGetting StartedTry the Demo DatabaseApprove a Database WriteTerminal and CLIBackground Host
AgentConversationsConfigurationAuthenticationLLM ProvidersToolsPython Analysis
Data SourcesSQLitePostgreSQLFiles and FoldersHTTP APIsQueryingCatalogDatabase WritesRemote MCP ToolsPrivate Database
Work BoardArtifactsJobsRoutines
Memory and LearningSemanticsSkills
Observation EventsError HandlingEvaluation

Daita Agents · Guide

Try the Demo Database

Install Daita Agents, build the demo database, ask questions, export an XLSX file and save a routine.

#Goal

Go from nothing installed to a working agent that answers questions about a business database, exports a file and runs a question on a schedule. You need no database of your own.

#Prerequisites

  • macOS or Linux.
  • An API key for a supported model provider, a supported model subscription, or a local Ollama model. You choose the model the first time you open the app.

#1. Install

bash
curl -fsSL https://daita-tech.io/install.sh | bash

The installer brings its own Python runtime. With pipx instead (Python 3.11 or 3.12):

bash
pipx install daita-agents

#2. Build the demo

bash
daita demo

This builds a fictional business database on your machine (customers, accounts, products, orders, invoices, payments and support tickets). It creates a separate agent named demo with the database attached read-only as the source sample_business. Your other agents and sources are not changed. The command prints the questions below and the command to open the agent.

#3. Open the agent and pick a model

bash
daita chat demo

Use the checklist or /model to set a model.

#4. Ask questions

text
How do the tables in sample_business relate? Walk me from a customer to their payments.
Profile the customers, orders and invoices tables. Does anything look off?
Which region's revenue changed most between Q2 and Q3 2025, and which products drove the change?

Daita reads the catalog first, then sends read-only SQL straight to the database. You see the answer and the evidence behind it.

#5. Export a file

Ask for the full result as a file:

text
Export paid revenue by region and product for 2025 as an XLSX file.

Daita runs the query with an XLSX output and stores the result as an artifact. Open /artifacts to preview it and save a copy. To save from the shell instead, use the artifact ID shown in /artifacts:

bash
daita artifacts save demo <artifact-id> --destination ~/Downloads

CSV works the same way. Exports are capped at 100,000 rows.

#6. Save a routine

After an answer, type /schedule and describe when. Or ask directly:

text
Every Monday, list invoices more than 30 days past due as of the as_of date in dataset_info, grouped by customer.

Daita proposes a routine (title, prompt and schedule) and saves it after you confirm. /work shows it under Scheduled. Routines run only while the background host is running:

bash
daita host install

#What you see

  • /sources lists sample_business with its tables and relationships.
  • /artifacts lists the XLSX file.
  • /work shows the routine under Scheduled, and its results later under Done. Anything waiting for you appears under Needs you.

Reset at any time:

bash
daita demo --reset

#Next steps

  • Getting Started and the CLI reference
  • Artifacts and Routines
  • Attach your own SQLite database
PreviousGetting Started
NextApprove a Database Write

On this page

GoalPrerequisites1. Install2. Build the demo3. Open the agent and pick a model4. Ask questions5. Export a file6. Save a routineWhat you seeNext steps