Skip to content

Working with the agent ​

This page shows how to get common data work done with the Vibedata agent. Each section names a task, what to say, what the agent does, and where it stops to ask you.

You do not need to name a skill. Describe the work in your own words. The agent sizes the request and picks where to start. You can also use a skill's trigger phrase, as shown in each section.

Two rules apply to every task:

  • The agent writes data only to the Intent's sandbox. It never writes to the Domain's published data.
  • A stage ends on a stop. The agent commits and pushes, prints a summary, and asks one question. Only your answer approves the next stage. A request such as "just ship it" does not.

1. Explore an idea before you build ​

When to use it. You want to try options before anything is built. Nothing published changes.

What to say.

  • "Run a spike on how to handle cancelled orders in weekly revenue."
  • "Brainstorm this with me before we build."
  • "Grill me on this plan." (This starts a decision interview.)

What happens.

  1. The agent plays back what it already knows. It then offers you two choices: skip the questions, or answer one open question about a real case.
  2. It asks one question at a time, in your words.
  3. It tells you what it plans to read in the Domain's code, runtime audit or data. It reads it after you agree.
  4. Where a trial teaches more than talk, it builds each option as a throwaway in the sandbox. It keeps this spike code in its own folder.
  5. It writes a proposal: why, goals, constraints, what it learned, options tried and a recommendation. It marks every choice it made itself as its own call.

Where it stops for you.

  • Which option to try, before it builds anything.
  • Questions that only you can answer, in one message at the end.
  • Whether to open a pull request with the proposal. The agent never merges it.

When a branch needs a business decision, the agent asks a numbered round of questions. Each question has a recommended answer first. When you define a new term or make a decision worth recording, the agent also updates the Domain glossary (CONTEXT.md) or writes an ADR (a short record of a decision).

What you get. A proposal file, a spike folder, and optionally a pull request. If the Intent has no resources, you get the proposal in chat only.

2. Add or fix a source connection ​

When to use it. You need a new source connection, or you need to update, test or remove one.

What to say.

  • "Add a source for our CRM."
  • "Test the connection to crm."
  • "The crm connection is failing."
  • "Remove the crm source."

What happens.

  1. The agent lists the connections that exist and the connectors that are available.
  2. It checks the connection name. A name is one lowercase identifier, such as crm.
  3. It installs the connector's requirements, then reads what the connector needs: the sign-in method, credential fields and settings.
  4. It writes the connection to ingestion/.dlt/config.toml. Credential fields become names in your Secret Store. The agent never asks for a secret value, and never reads one.
  5. It checks that the names are present. Where the run can read your Secret Store (for example Azure Key Vault or AWS Secrets Manager), it also tests the connection by fetching one record, without the agent seeing the secret, and commits and pushes only when the test passes. Where it cannot read the store (Databricks, Snowflake or MotherDuck secrets), it checks the names only, then commits and pushes.

Where it stops for you.

  • Which connector entry point and sign-in method to use, only when there is more than one.
  • Values for settings that are not secrets.
  • When a secret name is missing from your Secret Store, the agent lists the names and tells you to store them. You store the values yourself.
  • A connector that needs a package version that conflicts with the one Vibedata manages. The agent stops before it writes anything. The managed version stays.

What you get. A committed [sources.<name>] section in the config file. For removal, the section is deleted.

3. Build a new data product ​

When to use it. You want ingestion, dbt models, tests, or all three, delivered as code. This path also applies when a request changes the semantic layer or adds a new boundary model.

What to say.

  • "Build a pipeline that loads orders from crm."
  • "Build a model for weekly revenue by region."
  • "Capture the requirements for this."
  • "Profile the orders table." (This runs /profile-source orders. It reads real columns and runs bounded read-only checks. It authors nothing.)

What happens. A product change moves through five stages. Each stage ends on a stop, and your approval starts the next one.

  1. Requirement. The agent writes what must be true as R-NN lines. Each line has an acceptance condition and a source. Open business decisions go to you first.
  2. Design. The agent profiles the input data and writes one design record per artifact. Each decision is a D-NN line with its source. It names the consumers that the change affects.
  3. Plan. The agent breaks the design into tasks in dependency order. Each task has its own gate command.
  4. Execute. The agent does each task, runs the gate itself, records the evidence, commits and pushes.
  5. Verify. The agent checks the built work against the acceptance conditions, using evidence that could have disproved them. A green run alone is not evidence. A count or a recomputed number is.

Verification ends with one verdict: verified, returned or blocked. A returned verdict names the stage to go back to. A verified verdict hands off to shipping (see Ship).

Where it stops for you.

  • Requirement approval. The summary lists the requirement lines, business decisions and open questions.
  • Design approval. The summary lists each decision and each consumer the change affects.
  • How to execute the Plan: one task at a time, or delegated. The agent marks its recommendation.
  • When a schema or contract change is breaking, you approve it by name.
  • When the input data cannot support the design, the agent stops and shows you the evidence.

You can say "stop before shipping" at any point. The agent then ends the run there.

What you get. A Requirement, design records, a Plan, a Verification, and the code, all committed and pushed to the Intent branch.

4. Change or fix a shipped product ​

When to use it. A published product has a defect, or you suspect one. Say so even if you only want an answer. The agent treats a doubt between a question and a defect as a defect.

What to say.

  • "The weekly revenue number looks wrong for March."
  • "Fix the null customer keys in orders."

What happens.

  1. The agent starts at the design stage with the fix kind. A fix has no Requirement. It writes a Case record instead.
  2. It runs root-cause analysis first. It then plans, executes and verifies as in task 3.
  3. A small change that touches one artifact and keeps every published promise skips the full path. The agent asks for the one skill that owns it. If the change turns out to reshape a promise, the agent tells you and moves to the full path.

Where it stops for you. The same stops as task 3, starting at the design stop.

What you get. A Case record, the fix, a Verification and a pull request after you approve shipping.

5. Add a schedule or orchestration ​

When to use it. A workload must run on a schedule.

What to say.

  • "Add a schedule for the orders pipeline."
  • "Schedule the weekly revenue model every Monday."

What happens.

  1. The agent captures a Requirement, then designs and plans the item. A schedule is code that is committed to the repository.
  2. It proves the item with one run in the sandbox.
  3. Nothing is scheduled, deployed or published from the agent. The schedule ships as committed files in the pull request.

Where it stops for you. The requirement stop and the design stop from task 3. The agent asks about the run time only when your request and the repository leave it open.

What you get. An orchestration item as code, plus the evidence of its sandbox run.

6. Define or query the semantic model ​

When to use it. You want to define metrics in the semantic layer, or ask for a metric by its business name.

What to say.

  • To define: "Add a semantic model for revenue."
  • To query: "What was weekly revenue last month?" or "Show me the SQL behind net revenue."

What happens.

  • A question about a canonical metric changes nothing. The agent answers it from the semantic layer and shows the SQL on request. It writes no files.
  • Two sources that give different numbers are not a metric question. See task 7.
  • A new or changed semantic model is a product change. It follows task 3. The agent also updates the semantic model when a boundary dbt model changes.

Where it stops for you. For a query, there is no approval stop. The agent asks one question when it cannot tell whether you want production or this Intent's sandbox, or which metric, relationship or grain you mean. When the semantic layer reports missing relations, it offers the options and waits for your choice. For a definition, the stops from task 3.

What you get. For a query, an answer in chat. For a definition, committed semantic model files.

7. Check runtime health and raise an issue ​

When to use it. Runs fail, quality or freshness slips, or two numbers disagree.

What to say.

  • "Scan the runtime health of this Domain."
  • "Why did last night's run fail?"
  • "Why do these two numbers differ?" (Add the two figures, a report, or a file.)

What happens.

  • Runtime scan. The agent proposes the analyses it can run. You pick one. It reads the audit and execution history, ranks the findings, and gives each a severity, a likely owner and its evidence. It then raises one issue on the Domain repository. It checks open issues first so that it does not raise a duplicate.
  • Two numbers that disagree. The agent finds both sides itself. It measures the difference, narrows it down, and explains it with a query that reproduces it. It does not write any file.
  • Supplied file. The agent loads a CSV, XLSX, JSON, JSONL, NDJSON or Parquet file into the Ephemeral Workspace and compares there. This needs an Intent with resources.

Where it stops for you. The analysis you pick. In a reconciliation, the agent asks only what it cannot settle itself: what to compare, when nothing in your request or the Domain says; the grain, column mapping or tolerance, each with a proposed answer; and, after five rounds of explaining, whether to continue. When you ask which side is right and the Domain's glossary and ADRs do not settle it, it asks which measure you mean.

What you get. For a scan, a raised issue. For a reconciliation, an answer in chat. It starts with Outcome:, one of aligned, divergent-explained, divergent-partial or divergent-unexplained, or inconclusive when the agent stopped before measuring (for example, a supplied file in an Intent without resources). Two lines follow: Residual: and Unexplained:. These show whether the arithmetic closes, or read not measured after inconclusive.

8. Ship: what "done" means and how the PR lands ​

When to use it. The Verification reads verified and you want a pull request.

What to say.

  • "Open the PR."
  • "Ship the approved work."

What happens.

  1. The agent refuses if the Verification is missing or is not verified. It then stops and asks nothing.
  2. It fetches the target branch and checks that no verified row has gone stale. If one has, it proposes a return to verification. It changes nothing until you accept.
  3. It promotes contracts for the dbt models you changed, runs each kind's ship step, and adds missing glossary terms and ADRs.
  4. It pushes the branch.

Where it stops for you. The ship stop. It prints the verdict, the coverage, the limits and any CI notice. It then asks Approve shipping <ship product>? with header Ship stop. This is the only ship question in the run. A request to ship is not an approval. Without an answer, the branch stays pushed and nothing is published.

What you get. An open pull request on the Intent branch. The agent never merges it. Your work is done when the pull request is open, or when a recorded failure tells you why not.

9. Set up CI for the Domain ​

When to use it. The Domain repository has no CI, or the install is partial.

What to say.

  • "Install CI for this Domain."
  • "Repair the CI install."
  • "Install the local git hooks."

What happens.

  1. The agent checks the install state: none, partial or complete.
  2. It deploys the CI bundle, fills in .workflow/ci-config.yml from the Domain's own settings, and checks the config before it stages anything.
  3. It installs git hooks in this workspace, then commits and pushes.
  4. On a partial install, it lists every missing file. It refreshes the other bundle files, and keeps your config.
  5. On a complete install, no committed file changes. The agent installs the git hooks in this workspace. It tells you about any existing hook that the bundle replaced.

Where it stops for you.

  • A required Domain setting that is empty. The agent reports it and does not guess.
  • A Domain with no CI bundle. The agent tells you that CI installation is not available now.

The git hooks live in this workspace's .git/hooks/ only. They are never committed. Run the install again in each new workspace.

What you get. The CI bundle committed and pushed, and git hooks in the workspace.

The pull-request check. Installing CI does not by itself add a check that runs on every pull request. What the install adds today:

Data PlatformPull-request check
Fabric Lakehouse, Fabric WarehouseNot yet. The install adds deployment workflows, not the pull-request check.
RedshiftNot yet. The install adds deployment workflows, not the pull-request check; the Domain CI engine does not support Redshift yet.
SnowflakePartly. The install adds deployment workflows and a logical-model check on pull requests, not the full Domain CI check; the Domain CI engine does not support Snowflake yet.
Databricks, MotherDuck, DuckDB LocalVibedata does not install CI yet.
BigQueryNo CI.

Until the check is installed, protect the default branch in GitHub and review the pull request yourself; a merge is not gated by Domain CI.

10. Write a new skill for your Domain ​

When to use it. You want your own skill or command to use in Vibedata.

What to say.

  • "Write a skill that checks our naming rules."
  • "Write a command prompt for profiling a source."
  • "Improve this command."

What happens.

  1. The agent creates a skill in .agents/skills/<skill-name>/SKILL.md in the workspace clone. It writes a command at .agents/commands/<command-name>.md.
  2. For a command prompt, it asks up to five questions. It asks how the command will be invoked if that is unclear. It then gives you one command prompt that is ready to use.
  3. Before it says the work is done, it runs every check that the repository defines for those paths. It runs them fresh and reads the output.
  4. It pushes the branch and raises a pull request using the repository's own PR rules.

Where it stops for you. How the command will be invoked. If the repository documents no PR rules, the agent reports the branch and asks.

What you get. A skill or command file and a pull request. The agent never merges it.

11. Split work into a new Intent ​

When to use it. Part of the work belongs in its own Intent, or you want to hand a sub-problem off while this Intent carries on.

What to say.

  • "Start a new Intent for the orders backfill."
  • "Create an Intent called Customer churn, without a branch, and ask it to explore the churn table."

What happens.

  1. The agent asks for anything you have not said: the new Intent's title, its slug, its branch name, whether it gets its own branch and ephemeral workspace, and which agent identity it uses.
  2. It creates the Intent in the same Domain. A slug or branch name uses lowercase letters and digits joined by single hyphens, up to 50 characters for the slug and 34 for the branch name. Vibedata adds a hyphen and an 8-character code to both, and puts intent/ before the branch name.
  3. If you give it a first instruction, the agent opens the new Intent and sends it as the first message. This Intent's own work is not interrupted.

Where it stops for you. Before it creates the Intent, when any of those choices is missing. If you leave them to the agent, the title defaults to this Intent's title followed by (agent-created), shortened at a word to fit 200 characters. The slug is made from the title, the branch name from the slug, and the Intent gets a branch.

What you get. A new Intent in your Intent list. You cannot change its slug or branch name later. An Intent without a branch cannot take a branch name, so the agent reports that refusal instead of creating it.

When the agent says no ​

Three small scripts run around the agent's work, with one helper that reads Intent settings. You see the effects of two of the scripts. The third works silently.

The agent cannot end its turn with work that is not committed and pushed. This applies to an Intent that has resources, and so a branch. The agent receives the reason and keeps working. You see it commit, push, or fix its branch before the turn ends. Examples of reasons:

  • Workspace changes are not committed. The agent creates a commit.
  • The branch is ahead of origin. The agent pushes.
  • The workspace is on the wrong branch. The agent checks out the Intent branch.

Some reasons the agent cannot clear, for example a push that the remote refuses for sign-in or permission reasons. The agent reports that failure and does not push again. After five refused attempts for the same reason, the gate lets the turn end. The message says that the work is not on the remote.

Work that is not on the remote can be lost. The workspace is rebuilt on every cold start. When a session ends, an Intent with resources gets one more try. Vibedata commits uncommitted work with a fixed Vibedata identity and pushes, with two push attempts. This is a best effort and it never blocks the close. If both attempts fail, the work stays only in the workspace, and a later cold start can remove it. When the agent tells you that work is not on the remote, ask for it to be pushed before you leave.

Git hooks return after a restart. Because the workspace is rebuilt, local git hooks would be lost. At the start of a session, a script puts the CI bundle's git hooks back when they are missing. You see nothing. If a hook is still missing at ship time, the ship stop tells you.

The scripts read your Intent settings. A shared helper reads the Intent's assigned settings, such as the Domain's data platform and whether the Intent has a branch. It never reads a secret. When it cannot read them, the hook reports a runtime configuration error. Ask your operator to check the Intent's runtime setup.