Skip to main content

Coding agents and tools

Blochworks can work with programs that already run on your Mac and are built to write and change code, called coding agents. It can also connect to MCP tool servers for Bob and your agents, and use a search service configured for the workspace. This page explains how to set these up and what each one is allowed to do.

Coding agents​

Blochworks does not include a coding agent. You install one yourself, and then connect it in Settings, under Agent programs. The programs Blochworks knows about are:

  • Claude Code
  • Codex
  • Gemini CLI
  • Qwen Code
  • Mistral Vibe
  • OpenCode

Install and sign in to the program you want to use, then complete the connection wizard’s Test step. The check confirms that your installed program can answer through the connection. If it fails, follow the message shown before saving the connection.

The program’s own permissions​

A coding agent runs as a program on your Mac with your user account’s access. Blochworks shows permission requests that the program sends through its connection. The program may also have its own file, terminal and network tools, governed by its own settings. Set those permissions in the program itself; a work folder or an instruction in Blochworks does not restrict everything the program can reach.

Connecting a program​

Setting up Mistral Vibe is the example here. The steps are the same for the other programs.

  1. Install Mistral Vibe on your Mac, following the program's own instructions.
  2. Open Settings, then Agent programs. Under Available on this computer, Blochworks lists the programs it has found. Select Connect on the program you want. If the program is missing, select Find programs, or Install another program to see how to install it.
  3. Work through the steps shown: 1. Program, 2. Sign in, 3. Test and 4. Save.
    • On Program, a tick box lets you trust a program that is a script. Tick it only if you know where the script came from.
    • On Sign in, Blochworks shows a terminal command to run. For Mistral Vibe, run vibe in Terminal and sign in with your Mistral account.
    • On Test, Blochworks checks that the program answers.
  4. Select Save connection. The program is listed under Connected agent programs.

To change how much earlier conversation is passed to the program each time, select Context settings on its card.

Giving an agent a folder​

An agent that uses a coding program should work in a folder you choose, not in your whole home folder. Blochworks refuses the home folder as too broad.

  1. Make an empty folder in Finder, for example in your Documents folder, and name it so you will recognise it.
  2. Open the agent in Agents, then select Edit. Under Local folders, choose that folder.
  3. In the agent's charter, say what the agent may do in that folder, such as Only work inside this folder. Ask before any change.

The folder picker does not have a button to make a new folder, so make the folder in Finder first. If you do not give an agent a folder, it uses a private folder that Blochworks manages for that agent. When you create or edit the agent, choose the connected coding program as its model. The charter gives it instructions; the program's own permission settings control its native tools.

Approving actions​

When the program wants to do something that needs your permission, a card appears in the bottom right corner of the screen. It says Agent program needs permission and shows the exact action. You can choose:

  • Allow once, which lets that one action happen.
  • Don't allow, which stops it. The agent is told the action was denied.

Your decision applies only to the action shown. If you do not answer in time, the action is not allowed.

This is the default. For Claude and Codex you can instead let Bob decide ordinary requests; see Letting Bob supervise Claude or Codex.

In a chat, the program's reply can be slow to appear. Give it a moment before you try again.

Letting Bob supervise Claude or Codex​

Under Settings → Agent programs there is a Claude and Codex panel. It lets you turn each of those two programs into a supervised agent. Each one is off until you switch it on, and while it is off it cannot run as a supervised agent.

To set one up, connect the program as above, then in the panel choose the installed program and either adopt an existing agent or create a separate one for it. Nothing is switched on at this point. Before you can turn it on you must tick a box saying you understand it will run with your computer access, because the program can read or change files, run commands and use your network and credentials, whoever answers its permission requests. Then select Turn on Claude or Turn on Codex. Turn off reverses it.

Next to each switched-on agent you choose who answers its permission requests:

  • Ask me directly is the default. Every request comes to you as described above.
  • Bob supervises lets Bob review each request and allow or refuse it for you. Under When to ask me you can tick Running commands, Deleting files or Moving files under Always ask me about, so those always come to you. With none ticked, Bob asks you only when he is unsure.

Bob's decision is a model's judgement, so check what the agent did afterwards, as you would with any delegated work. A work-queue card assigned to a supervised agent has its own Permission requests for this card choice (Bob supervises this card or Ask me directly for this card). The Approvals page also has a Supervised agent attention panel that lists supervised runs needing you, such as a paused scheduled run, and lets you review the recorded request before any retry.

caution

Supervision covers only the permission requests the program sends to Blochworks. Actions the program's own settings already allow can run without asking Bob or you. Bob's supervision does not reduce the program's access to your computer. A remote browser cannot change these settings; they are changed only on the Mac.

Tool connections​

Tool connections let Bob and your agents use outside tools. Blochworks uses the name MCP for the standard these connections follow. Here they are called tool connections.

Adding a tool connection​

  1. Open Settings, then Tools, and select Add tool.
  2. Under Other tools, choose a ready-made connection, or choose Custom MCP server.
  3. Fill in the form:
    • Name.
    • MCP server type: Custom MCP server for your own server, or a preset.
    • Endpoint URL: the web address of the server.
    • Transport: HTTP (streamable) or SSE, as the server requires.
    • Authentication: Bearer token, which you paste in and which is stored encrypted, or OAuth sign-in, which opens the server's sign-in page.
  4. Select Test connection. Blochworks lists the tools the server offers.
  5. Select Save connection.

Then, on each agent that may use the connection, open Connections in the agent's setup and tick it. An agent cannot use a connection you have not ticked for it.

For additional presets, select Show unchecked vendor connectors. Check the endpoint and sign-in requirements with the service provider, then use Test connection to inspect the tools it offers before assigning it to an agent.

Deciding what asks first​

Each tool on a connection has one setting:

  • Runs without asking lets the agent use the tool without asking you.
  • Asks first asks you each time.
  • Off means the tool is not used.

New tools, and tools whose description has changed, start as Asks first until you review them. A tool set to Runs without asking still asks you when the call carries content from outside, such as a web page or a document from a third party. The switch Ask before every tool on this server overrides the tool settings for the whole connection.

Tool access for connected services​

Assign Connected Tools as well as an ordinary tool-server connection. For public search, assign Web Research to each agent that may use the workspace's configured search service; for local folders, assign Local Files. Browser actions is a separate Bob-only skill. A managed Obsidian vault uses Obsidian Read, and requests to change it also need Obsidian Manage, explicit Read and a write-enabled vault assigned to Bob. The service, folder and approval settings still apply. See Skills and permissions.

A connected coding program follows the same skill rules when it calls Blochworks tools through the accepted application bridge. Internal helpers still have their own safeguards; their presence is not a grant of external tool access. The program's native terminal, file and network tools remain governed by that program's permissions.

Search connections​

Built-in web search works without any setup. A search connection is an extra search service you add yourself. In Settings, under Tools, select Add tool and then Web search. Choose a provider, SearXNG or Brave Search, enter its endpoint, add an API key if the provider needs one, select Test connection and then Save connection. When a search connection is set up, Blochworks uses it in place of built-in search. This choice applies across the workspace; you do not assign the search connection to Bob or another agent. Each agent needs Web Research to use it. For a verified Friend, Bob also needs that skill and the identity needs its own public-research help permission.

What needs your approval​

  • When a coding program requests permission through Blochworks, the Agent program needs permission card offers Allow once or Don’t allow, unless you have switched on Bob supervises for Claude or Codex, in which case Bob answers ordinary requests and asks you when he is unsure. Its native tools may use a separate permission system.
  • Some actions, such as writing files in the agent's own work folder, may happen without a card. Give the agent a folder that holds only what it should change.
  • Tool connections marked Asks first ask you before each use.
  • A tool marked Runs without asking asks anyway when the call carries outside content.

What leaves your Mac​

  • A coding program sends what it works on to its own service, as the program itself does. Blochworks does not control that. Check the program's own privacy terms.
  • A tool connection sends the request to the server you set up. Anything you ask that tool to do is sent there.
  • A search connection sends the search to the provider you chose.

Limits and good to know​

  • Coding programs run with your permissions and are not sandboxed by Blochworks.
  • Blochworks connects only to tool servers that use the HTTP or SSE connection types. It does not run tool servers that are started on your Mac from a command.
  • Give each coding agent its own empty folder. Do not give it your home folder.