ventgrisdocs

Working with the agent

Agents

The Agents screen: list agent profiles, read their sheet and policy, edit the job, enable or disable, import from GitHub or a folder, fix lint findings.

View .md

An agent profile tells a session who it is: which harness and model it uses, which policy contains it, which tools and skills it may use, and the job written for the model. Each profile is one file, agents/<name>/AGENT.md, in the workspace. The Agents screen lists these files, shows what each one allows in plain words, and lets you edit the job, enable or disable a profile, and import profiles from elsewhere.

Agents screen with the list of profiles on the left and the sheet of the ventgris profile on the right

The screen has two tabs: Profiles (this page) and Rules (see Skills and rules).

The profiles a workspace starts with

A new workspace is delivered with six profiles:

Profile What it is for Policy
ventgris The default agent and orchestrator. It takes any request, does short work itself, and hands longer work to other agents or jobs ventgris
ventgris-codex The same role on Codex ventgris
agent-builder Interviews you and writes a new profile, and its job file when it must run on a schedule ventgris
memory Keeps the memory files: the nightly close of the journal memory
reader Reads untrusted content in bulk inside a sandbox reader
intern A guest in a channel, inside a sandbox intern

reader and intern use sandbox policies (tier T2). Sessions inside a sandbox are not available yet, so a session with these profiles is refused with "this instance cannot start sandboxes yet". intern also shows Not ready: it names an action that is not declared.

If the workspace has no profile at all (they were deleted), the list is replaced by No agent profile yet and an Install the base profiles button. It writes the base profiles, two rules from the field, the Treg skill and the starter memory folder where they are missing, and fills the integrations registry. A file that exists is never replaced. The toast says "3 file(s) written" or "Everything was already there".

Read the list

Each row on the left shows:

  • a dot and a tag for the state: Ready, Not ready or Disabled,
  • the title, and default on the default profile (ventgris),
  • the folder name (the slug), which is the identity of the profile,
  • harness, model, policy, and scheduled when the profile has a schedule, v1 sheet for an old-format file,
  • the last session, the cost over 30 days, and the actions blocked over 7 days when there are any,
  • for a profile that is not ready, the first reason.

The header shows when the files were last read ("Indexed 2 min ago"). The workspace is read again every 2 minutes; Reindex reads it now. If the runner does not answer, a banner says "The workspace is not reachable" and the list shows the last index.

State Meaning
Ready No blocking finding. Sessions and jobs can use it
Not ready At least one blocking finding. No session can start with it until it is fixed
Disabled Turned off by a person. Not scheduled, and no session can start with it

Read the sheet of a profile

Click a profile to open its sheet. From top to bottom:

  1. Why it is not ready (blocking findings) and To look at (warnings), each with a label, a message and the line in the file.
  2. Usage: Last session, Last scheduled run with its state, Sessions, 30 days, Cost, 30 days, Deliverables opened, Actions, 7 days ("12 run, 1 blocked").
  3. The nine boxes: what the header of the file says, in order.
  4. Policy: what the policy allows, in plain words.
  5. Recent sessions of this profile.
  6. Job: the body of the file, the text the model reads.

The nine boxes

Box Comes from Shown when empty
1. Trigger trigger: its schedule "On request: no schedule"
2. Job the body of AGENT.md, and cwd ("works in projects/site")
3. Memory memory: files it starts from "empty"
4. Brain and harness harness, model, effort, command, weight_mb "default model of the harness"; 900 MB per session
5. Tools tools.cli, tools.mcp, tools.actions Actions: "the actions of its policy" when the file says nothing
6. Skills skills "Every installed skill"
7. Output output, deliver_to
8. Where to look afterwards review
9. Trace trace

A profile without tools.mcp gets every integration enabled for its harness, except an OAuth server nobody has logged in to. The full format is on Agent profiles.

The policy

A profile names one policy. The policy is the part a profile cannot widen: it is set by the service, not by the file.

Line Example
Tier "Tier T1: runs as the agent user, with no sandbox." or "Tier T2: runs inside a sandbox and sees only the folders below."
Limits "60 min per turn, 3 parallel sub-agents"
Folders "the whole workspace, read and write", or the mounted folders of a sandbox
Secrets in its environment the secrets it expects, or "none"
Network for a sandbox policy
May create and edit by itself jobs, skills, agents, rules, artifacts, sandboxes for ventgris

Below, a table lists each brokered action the profile may ask for, with its class and gate. A tag not allowed by the policy or not declared in the broker flags an action the profile names but cannot use. "No brokered action: it cannot send, publish or spend." means exactly that.

The four policies of a workspace:

Policy Tier Workspace Brokered actions Longest turn
ventgris T1 read and write public artifacts, messages on Discord, Telegram and WhatsApp, channel settings 60 min
memory T1 read and write none 30 min
reader T2 projects/veille only none
intern T2 projects only none

If the policy named by the file does not exist, the sheet says "The policy “x” could not be read" and the profile is not ready.

Edit the job of a profile

The job is the body of AGENT.md, under its header. You edit it here; the header (harness, model, policy, tools) is not changed from this screen.

  1. Open the profile.
  2. In Job, click Edit. An editor opens on the text.
  3. Change the text. A dot next to Job marks unsaved changes.
  4. Click Save (or the save shortcut of the editor).
Outcome Message
Saved "Saved"
The file changed on disk since you opened it "AGENT.md changed on disk since you opened it. Nothing was written." Click Reload from disk, then redo your change
The new text has a blocking finding (for example a secret in clear) "Not saved: " and the reason

Leaving a profile with unsaved changes asks for confirmation.

To change the header, click Open in Files and edit AGENT.md in the editor. The screen picks up the change within 2 minutes, or at once with Reindex.

Create a profile

There is no form for a new profile. Three ways:

  • Ask the agent builder. On Home, click Start with the agent builder, or start a session with the agent-builder profile. It asks what the agent should do, when, with what, and where the result goes, then writes agents/<name>/AGENT.md and, for a scheduled agent, jobs/<name>.toml.
  • Write the file. Create agents/<name>/AGENT.md in Files. The folder name is the identity: lower case letters, digits and dashes. The name in the header must match it.
  • Import one, below.

A minimal profile:

---
name: weekly-report
title: Weekly report
harness: claude
policy: ventgris
deliver_to: activity
---

# Job

Every Monday, read the journal of the past week and write a one-page summary in reports/.

Enable or disable a profile

On the sheet, Disable turns a profile off after a confirmation: "It is no longer scheduled and no session can start with it." Enable turns it back on. The default profile cannot be disabled, and has no button.

Import profiles from GitHub or a folder

  1. Click Import from GitHub at the top of the screen.
  2. In GitHub repository, or a folder of the workspace, paste a repository address, a folder of it (https://github.com/owner/repo/tree/main/agents), or a workspace path.
  3. Click Detect. Ventgris fetches the source once and lists what it found ("Fetching and checking the source…").
  4. Review each item and tick the ones to import. Tick all and Untick all help with many.
  5. Click Import 3 (or Import 3 and replace when a ticked item overwrites one).

Recognised formats, each converted to a Ventgris profile:

Format tag Source
Ventgris profile agents/<name>/AGENT.md
Claude Code subagent a Claude Code subagent file
Codex AGENTS.md an AGENTS.md written for Codex
v1 portable agent, v1 sheet agents of the earlier Ventgris format

Each item shows a tag:

Tag Meaning
new No profile of that name exists
exists: replace A profile of that name exists and was not imported from this source. Ticking it overwrites its files
update It was imported from this source before
refused It cannot be imported, with the reason
2 blocking, 1 warning(s) Lint findings on the imported files

Unfold an item (Details) to see its file count and size, the folder it runs in, what was not carried over, its findings, and for an existing profile the list of changed files and the diff.

Nothing from the source is run. A file holding a secret in clear is refused.

Private repositories

Click Private repository? Use a token from the vault and type the name of a secret that holds a GitHub token (for example GITHUB_TOKEN). The secret needs a grant in mode broker to action:github.import, made on the Secrets screen. The token value never reaches the page.

Update from source

A profile imported from a repository has a download button on its sheet: Update from source. It fetches the source again and opens the same dialog on that one profile, with what changed. A file removed upstream is kept ("gone upstream, kept"). Click Update 1.

Lint findings

Every profile is checked each time it is read. A blocking finding makes it Not ready; a warning only shows under To look at.

Label Meaning
Header unreadable The --- header is missing, not closed or not valid YAML
v1 sheet, no header An old-format sheet: it can be read, but should be converted
Required field missing A field the profile needs is absent
Name differs from the folder name is not the folder name
Unknown harness, Harness not installed harness is not claude, codex or pty, or the program is missing
No command A pty profile with no command
Model not served The model is not available to the harness
Unknown policy The policy does not exist
Invalid schedule, Schedule too frequent, Trigger not scheduled The trigger cannot be read, runs more often than every 5 minutes, or is of a kind that is not scheduled
Unknown action, Action outside the policy tools.actions names an action that is not declared, or that the policy does not allow
Skill not installed skills names a skill that is not in skills/
Empty box, Empty job A box or the body is empty
Memory weight weight_mb is not a positive number: 900 MB applies
Tool with no build for this machine A tool has no build for the machine's architecture
Secret in clear The file holds a secret value

Who can do what

Action Admin Editor Member Viewer
Read the list and sheets yes yes yes yes
Edit the job, enable or disable, import, install the base profiles yes yes no no

Your policy may allow you to create and edit profiles (self_manage includes agents). Write agents/<slug>/AGENT.md with a header that passes lint, run vg tools and vg action list before naming a tool or an action, and never put a secret value in the file. A profile cannot give itself a wider policy than yours.