Skip to content

Let an AI agent update a Base

Connect Claude Code, Codex or another agent to a Base, and let it change records safely.

An AI agent can read and change a Base with BaseStudio’s own rules, through the command line or the MCP server. Record and schema changes join the Base’s undo history, so you can undo them in the app. View changes use their own save/reset controls.

The packaged launcher ships with the macOS and Linux desktop apps. On macOS, select BaseStudio → Install Command Line Tool…; on Linux, open the app menu at the bottom of the sidebar and select Install Command Line Tool…. Windows packages do not include this launcher yet; the source development entry is described in Command line. Then check it in a terminal:

Terminal window
basestudio --help

Add the MCP server to your agent. For Claude Code:

Terminal window
claude mcp add --scope user basestudio -- basestudio mcp

For other agents, see MCP server and Agent Skill. Install the Agent Skill too, so that the agent knows the order of work and the value syntax:

Terminal window
npx skills add gabrielbacha/basestudio-agent-kit

Give the agent the path of the Base and the change in plain words. For example:

In ~/Vault/Projects/Projects.base, set every project in the Board view whose end date has passed and whose status is not Done to the status Late.

The agent:

  1. Lists the views and the properties of the Base, to learn the names and the types.
  2. Queries the view, to find the records.
  3. Tries the change with a dry run, which shows each change without writing it.
  4. Makes the change.

Keep the Base open in BaseStudio. The app shows each change of the agent at once. To reverse it, use Undo in the app, or ask the agent to undo it. A change to a note that you edited after the agent read it is refused, so the agent never writes over your edit.

  • Ask the agent to make a dry run first, and to show you the changes before it writes them.
  • Name the view. A view has the filters and the columns that you want the agent to use.
  • Use --format table when you run the commands yourself:
Terminal window
basestudio query ~/Vault/Projects/Projects.base --view Board --format table

See Command line for all the commands.