kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

Custom agent UI is missing per-agent tool/permission controls

Open terry-webandwow opened this issue 7 months ago • 0 comments

Summary

The current custom agent UI lets me create and edit agents, but it does not expose per-agent tool/permission controls.

In practice that means I can shape an agent's description and system prompt, but I cannot actually control what the agent is allowed to do unless I manually edit kilo.jsonc.

That is a real gap for anyone building custom agents with distinct responsibilities.

Why this matters

This is not just a cosmetic settings omission.

Per-agent permissions are what make role separation real.

Examples:

  • an orchestrator agent should be able to delegate via task, but not read/edit/bash on its own
  • an analysis-only agent may need read but should not have edit
  • a documentation agent may be allowed to edit Markdown only
  • a restricted reviewer agent may need read/grep but not bash

Right now, none of that is reachable from the current agent create/edit UI.

So the practical result is:

  • custom agents can be created in the UI
  • their prompt can be tuned in the UI
  • but their actual tool boundary cannot be configured there
  • users have to drop down to manual kilo.jsonc editing for something that the runtime clearly supports

Docs / UI mismatch

The docs currently say that agents can be managed via:

Settings -> Agent Behaviour -> Agents

and that this includes prompt, model, permissions, and other properties.

But in the current VS Code extension UI, the create/edit flows do not appear to expose per-agent permission controls.

So from a user perspective this is confusing in two ways:

  1. the docs suggest this should be possible in the UI
  2. the runtime supports it, but the UI does not expose it

Current behavior

In the current UI I can edit things like:

  • name
  • description
  • prompt
  • model
  • temperature / top_p
  • steps
  • hidden / disable

But I do not see a place to configure per-agent permissions such as:

  • read
  • edit
  • bash
  • task
  • skill
  • glob
  • grep
  • list
  • external_directory
  • etc.

Expected behavior

The custom agent create/edit UI should expose per-agent permission controls.

At minimum:

  • a simple per-tool allow / ask / deny UI
  • support for the main agent tools (read, edit, bash, task, skill, glob, grep, list, etc.)
  • visibility into the current effective per-agent permission config

Nice to have:

  • advanced pattern-based editing for tools that support glob rules
  • clear distinction between global defaults and per-agent overrides

Related

This feels related to broader custom-agent / discoverability gaps in the new UI, for example:

  • #8025

But this issue is specifically about missing per-agent permission controls in the agent UI, not just visibility of prompts/sub-agent definitions.

terry-webandwow avatar Apr 06 '26 04:04 terry-webandwow