Skip to content

Teach an Agent your business without widening its authority ​

For teams that want to hand internal vocabulary, output rules, and business tools to an AI. The goal: business context can be hot-updated at any time, while what the AI may call, which operations need a human, and which commands it may run are controlled by separate settings — and every run can be reviewed afterwards.

Four settings, one job each ​

The key point: nothing written into a prompt grants the AI any permission. Permissions are controlled in three other places.

SettingOwnsDoes not own
Prompt SectionVocabulary, rules, tool-usage hintsDoes not grant tool or data access
Tools (tools/)Input format, execution, result returned to the modelDoes not decide command execution policy
requiresApprovalWhich calls need human confirmationDoes not widen which tools are visible
ai.agentCommand execution preset, allowlist, iteration limitDoes not change prompt content

Steps ​

  1. Write business context in your plugin's prompt-sections/, mark it required (required) or optional, and keep it within budget. See Give the AI business context.
  2. Expose only the tools you need in tools/, with structured input schemas; don't set tools that change data to "never needs approval".
  3. Start command execution at execSecurity: deny or allowlist, and open only the commands you need in known working directories.
  4. After startup, check source, profiles, and budget policy under Runtime Capabilities → Prompt Sections in Console.
  5. In the Agent workbench, run one read-only task and one task with side effects, and confirm approval, cancellation, the run record, and outputs behave as expected.

Acceptance checklist ​

  • If a context change fails to hot-reload, conversations in progress keep the content they started with.
  • Console shows the Prompt Section is active without exposing its text.
  • A cancelled tool call is never shown as completed; results with side effects are auditable.
  • Each run explicitly chooses its working directory and security policy; a line of chat text can't escalate them.

Next steps ​