Skip to main content
Trinity
Guides/Managing Agents

Managing Agents

Control the lifecycle, health, and resources of your Trinity agents through the UI, API, or MCP tools.

The Agent Detail Page

Click any agent to open its detail page. The page lands on the Overview tab and organizes everything else into tabs:

Tab?tab=Purpose
OverviewoverviewDefault landing tab — trends, health, recent activity (see below)
TaskstasksHeadless task execution and history
ChatchatStateless conversation — see Agent Chat
DashboarddashboardThe agent's own dashboard — only when it ships a dashboard.yaml
BrainbrainKnowledge-graph page — only for agents that declare the capability
ReportsreportsStructured results the agent published — see Agent Reports
SchedulesschedulesCron-based automation — see Scheduling
LoopsloopsSequential bounded task runs — see Agent Loops
PlaybooksplaybooksReusable command templates
CredentialscredentialsCredential injection and export
PaymentsneverminedPaid access configuration
AccessaccessOperator access roster (owners only)
SharingsharingExternal clients and channels (owners only)
PermissionspermissionsWhich agents may call this one (owners only)
A2Aa2aExternal-orchestrator interoperability (owners only, where available)
GitgitGit sync controls — only for GitHub-synced agents
FilesfilesWorkspace file browser
FoldersfoldersShared folder configuration (owners only)
SkillsskillsAssign skills from the library (owners only) — see Skills
SettingssettingsPer-agent configuration (owners only) — see Agent Configuration
InfoinfoTemplate metadata and capabilities

Tabs marked owners only are hidden from users an agent is merely shared with, and are never shown on the system agent. Dashboard, Brain, Git, and A2A appear only when that agent or instance supports them.

Every visible tab is deep-linkable with ?tab= — including the conditional ones. A ?tab= value naming a tab you cannot see falls back to Overview. Two legacy links still resolve: ?tab=guardrails opens Settings, and ?tab=session redirects to that agent's Workspace conversation.

When the window is too narrow to fit every tab, the trailing tabs collapse into a More ▾ menu at the end of the tab strip. If the active tab is inside the menu, the More button carries the active highlight. Deep links via ?tab= work either way.

Overview Tab

Agent detail Overview tab showing the About lead, a needs-attention banner, and activity trend charts (executions by type, success rate, duration)

The Overview tab is a glanceable, database-backed summary. It renders even when the agent is stopped:

About — display name, tagline, and description, with a “New task” shortcut.
Needs attention — a combined count of pending notifications, operator-queue items, and sync failures, linking to the Operations page. Hidden when the count is zero.
Activity trends — executions per day (stacked by trigger type), success rate, duration (avg and p95), and context consumption over a selectable 7/14/30-day window. Trigger types are bucketed as Chat/Tasks, MCP, Channels, Public, Scheduled, Loops, Agent-to-agent, Voice, and Other.
Health & reliability — current health badge, reachability, restart count, plus uptime and latency trend lines. Health history covers at most the last 7 days; if fleet monitoring has never run, the panel shows “No health data available — the monitoring service may be off.”
Recent activity — the last five executions; click one to open it in the Tasks tab.
Footprint — schedule, skill, and share counts, plus git sync status.

The persistent header above the tabs still owns live “now” state: status, CPU/memory gauges, cost, and quick controls. The Overview shows trends; the header shows the present.

APIGET /api/agents/{name}/analytics?window=7d|14d|30d

Start and Stop

Toggle an agent between Running and Stopped using the switch on the Dashboard, Agents page, or Agent Detail page. A loading spinner displays during state transitions.

UI componentRunningStateToggle.vue (supports size variants)
APIPOST /api/agents/{name}/start and POST /api/agents/{name}/stop
MCPstart_agent(name) and stop_agent(name)

Display Label

The display label is the friendly name shown across the UI — the header, agent pickers, search, sort, and the activity timeline. Editing it is the everyday “rename”: it changes what people read without moving the immutable slug (name), so it never breaks URLs, MCP tool names, schedules, or webhooks. For most day-to-day relabeling, this is the change you want; the heavier Rename below moves the slug itself.

Owner-only. The label is non-unique (the slug guarantees uniqueness) and clears back to the slug when left blank.
Input is trimmed; control characters and line breaks are rejected with a named error.
There is no MCP tool for the display label — it is a UI/API-only, presentation-only change. (The MCP rename_agent tool moves the slug, not the label.)
APIGET /api/agents/{name}/label and PUT /api/agents/{name}/label with body {"label": "My Agent"} (send {"label": null} or an empty string to clear back to the slug)

Rename

Renaming moves the immutable slug itself — the heavier operation. Because the slug is what URLs, MCP tool names, schedules, and webhooks resolve to, prefer the Display Label above when you only need to change the friendly name.

Click the pencil icon next to the agent name on the Agent Detail page to edit inline. Renaming is atomic: it updates the database, renames the Docker container, and broadcasts the change via WebSocket.

Restrictions: system agents cannot be renamed. Only owners and admins have permission to rename.

APIPUT /api/agents/{name}/rename with body {"new_name": "new-name"}
MCPrename_agent(name, new_name)

Delete

Use the Delete button on the Agent Detail page. A confirmation dialog is required. Deletion cleans up the container, network, sharing records, schedules, activities, and event subscriptions.

APIDELETE /api/agents/{name}
MCPdelete_agent(name)

Health and Status

The agent header displays status (Running/Stopped), CPU and memory usage, network I/O, and uptime. Telemetry auto-refreshes every 10 seconds.

Fleet-wide monitoring is available at GET /api/monitoring/fleet-health. Health levels, from best to worst: healthy, degraded, unhealthy, critical, unknown.

MCPget_agent_health(name), get_fleet_health(), trigger_health_check()

Resource Allocation

Configure per-agent memory and CPU limits from the agent header: click the gear button (“Configure resources”) to open the resource modal. Limits are enforced at the container level and take effect on the next restart — see Agent Configuration for valid values and fleet-wide defaults.

Execution timeout is configurable per agent (range: 60–7200 seconds, default: 3600 seconds / 60 minutes).

The agent's timeout is the ceiling for any of its schedules — setting it below an active schedule's timeout_seconds is rejected with 400 error=agent_timeout_below_active_schedules.

APIGET /api/agents/{name}/timeout and PUT /api/agents/{name}/timeout

Listing

The Agents page shows horizontal row tiles with success rate bars. Filter by name, status, or tags. The Dashboard offers a network graph view and a timeline view.

APIGET /api/agents returns all agents
MCPlist_agents()

For Agents

Agents can manage other agents programmatically through the MCP tools listed above. Common patterns include orchestrator agents that start and stop worker agents on demand, or monitoring agents that poll fleet health and trigger alerts when agents become degraded or unhealthy.