Daita Agents · Guide
Install Daita Agents, build the demo database, ask questions, export an XLSX file and save a routine.
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.
curl -fsSL https://daita-tech.io/install.sh | bashThe installer brings its own Python runtime. With pipx instead (Python 3.11 or 3.12):
pipx install daita-agentsdaita demoThis 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.
daita chat demoUse the checklist or /model to set a model.
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.
Ask for the full result as a file:
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:
daita artifacts save demo <artifact-id> --destination ~/DownloadsCSV works the same way. Exports are capped at 100,000 rows.
After an answer, type /schedule and describe when. Or ask directly:
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:
daita host install/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:
daita demo --reset