EXTREMELY agency

v0.1.1
agency.extremely/agency Checked 7 hours ago Published 26 days ago

Your agency of AI agents in your AI app: what agents did, approvals, requests, jobs and reports.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_agencies List your agencies

Your own agency and every organization you are in, with your role in each and whether it answers right now. Pass one as `agency` to any other tool.

list_requests List requests

Requests agents filed for things they can't do themselves: what they need, why, where each stands, and the conversation with the Agency Engineer.

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
include_closedbooleanClosed ones too (default: open only)

answer_request Close a request

Close a request: done (say what was done, so the agent knows) or rejected (anything drafted for it is discarded). The agent hears on its next run.

ParameterTypeDescription
request_id *numberThe request number
status *string
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
answerstringWhat was done, or why not

reply_to_request Reply on a request

Write in an open request, to the Agency Engineer (as in the app: everyone on the request sees it, and the Engineer is woken to answer).

ParameterTypeDescription
request_id *numberThe request number
text *stringWhat to say
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

give_task Give an agent a job

Give an agent a job, from you: it starts on it as soon as it can and marks it done with the result (agent_activity shows it). For a question or a quick word, run_agent with a message instead.

ParameterTypeDescription
agent_id *stringThe agent id (list_agents)
task *stringThe whole job, with everything it needs to know
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

list_agents List agents

Every agent: id, name, department, owner, state (active / draining = standby / stopped), ferocity level, models, and whether it is built in.

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

read_agent Read an agent

An agent's files (CHARTER.md, TOOLS.yaml, KPI.yaml), its models and state, its last runs and its memory notes.

ParameterTypeDescription
agent_id *stringThe agent id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

write_agent_file Replace an agent's file

Replace one of an agent's files: CHARTER.md (its job), TOOLS.yaml (tools, tiers, approval windows, ferocity plan) or KPI.yaml (which actions count as output). read_agent first. Its next run uses it.

ParameterTypeDescription
agent_id *stringThe agent id
content *stringThe whole new file
file *string
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

list_models List AI models

The AI models connected in the app, which agents can be given (set_agent_models).

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

set_agent_models Set an agent's models

An agent's models: up to three, in order of preference; it falls to the next when one fails. Each {connection, model, effort: low|medium|high|max}, from list_models.

ParameterTypeDescription
agent_id *stringThe agent id
models *array
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

set_agent Set an agent's ferocity or state

An agent's ferocity (how hard it works: Chill, Steady, Driven, Relentless, Apocalyptic) or state (active, draining = standby: starts nothing itself, stopped: runs nothing). Built-in agents have neither.

ParameterTypeDescription
agent_id *stringThe agent id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
ferocitystring
statestring

builder_guide Agent builder guide

Read this first when making an agent: the agent builder's whole brief - how agents work here, the tool catalogue and default tiers, the tools every agent gets, this organization and the person, the fleet, connected services and their tools and events, the connected models, how to interview the person, and how to tier. create_agent's fields carry the rest.

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

check_build Check an agent build

Check a build before creating it, without creating anything: the same input as create_agent. Answers with what's wrong, or what it would make.

create_agent Create an agent

Add a new agent, as the app's agent builder would (read builder_guide first, and talk to the person the way it says): the full build - name, department, Charter, tools with tiers, events, KPIs, models, ferocity plan. Every id must exist (the guide lists them) or be one of its own new_tools / new_events, which go to the Agency Engineer as requests. Answers with what it made.

delete_agent Delete an agent

Delete an agent: its files go, its approvals and requests are closed, work handed to it is closed as not done. Its past runs stay in Usage. Built-in agents can't be deleted.

ParameterTypeDescription
agent_id *stringThe agent id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

run_agent Run or message an agent

Start an agent now. With a message, it answers it in its DM channel (as if the person wrote it); without, it does its job as on Run now.

ParameterTypeDescription
agent_id *stringThe agent id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
messagestringOptional: what to say to it

list_approvals List approvals

Agents' actions waiting on a person in the app (sending, posting, going live...): only the ones that are yours to decide. decide_approval approves or rejects one.

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

decide_approval Approve or reject an action

Approve or reject one of the actions in list_approvals, as on the Approvals screen: approved, it runs now and the agent hears the result; rejected, the agent is told (with the note, if any).

ParameterTypeDescription
approval_id *stringThe id from list_approvals
decision *string
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
notestringOptional: why, for the agent

agency_today What the agency did today

What the whole agency did since a time (default: the start of today, the agency's own clock): per agent its runs, output actions and last summary, plus what's waiting on a person (approvals, open requests).

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
sincestringOptional: an ISO date or time, e.g. 2026-11-05 or 2026-11-05T09:00

agent_activity What an agent did

What one agent did since a time (default: the start of today): its DM channel posts (each run's write-up and the tools it used), the people's messages to it, and the jobs given to it.

ParameterTypeDescription
agent_id *stringThe agent id (list_agents)
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
limitnumberOptional: at most this many posts, newest kept (default 30)
sincestringOptional: an ISO date or time

latest_report An agent's latest report

An agent's latest report: the write-up of its last run that made one, and where its reports go (the place its person chose, e.g. a Drive folder).

ParameterTypeDescription
agent_id *stringThe agent id (list_agents)
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

list_integrations List integrations

Every integration (the services agents' tools run on): connected or not, draft or live, its tools. Plus whether code plugins are allowed.

ParameterTypeDescription
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

read_integration Read an integration

An integration's definition (YAML), and a plugin's code. The shipped ones - brave-search (HTTP), github and gmail (code) - show the format.

ParameterTypeDescription
integration_id *stringThe integration id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

write_integration Write an integration draft

Save an integration definition (YAML, kind http | mcp | code) as a draft: it shows in the app's Settings > Connectors to be connected, and no agent can call it until publish_integration. Redrafting a live one keeps the live one working meanwhile. Keys and sign-ins are added by the person in Settings, never here.

ParameterTypeDescription
yaml *stringThe whole definition
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

write_plugin Write a code plugin

Save a code plugin's TypeScript (only if code plugins are allowed in Settings): export default { tools: [{ id, tier, description, input, run: async (args, token, kit) => string }] }. Network only through kit.fetch; it runs sandboxed with the permissions its kind: code definition declares. It runs only once published.

ParameterTypeDescription
code *stringThe whole TypeScript file
module *stringThe module name its definition names
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

test_integration Try an integration tool

Call one of an integration's tools for real (a draft or a live one), and see what an agent would. A plugin's code can't be tried before it's published.

ParameterTypeDescription
integration_id *stringThe integration id
tool *stringThe tool id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
argsobjectIts input

publish_integration Publish an integration

Make a draft live, and optionally give its tools to an agent. A plugin first gets the independent security review; a serious finding stops it. Done here, it doesn't wait for the app's Approvals.

ParameterTypeDescription
integration_id *stringThe draft
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
eventsarrayFor for_agent: its events the agent should wake on
for_agentstringOptional: the agent that gets its tools
toolsarrayFor for_agent: the tools to give and their tiers (T0 read, T1 reversible write, T2 needs a person)

test_event Try an event

Try an integration's event (draft or live) without waking anyone: a real poll showing what it finds, and the webhook address to paste into the service.

ParameterTypeDescription
event_id *stringThe event (server.event)
integration_id *stringThe integration id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

give_events Subscribe an agent to events

Subscribe an agent to live events: it wakes when they happen, as well as on its schedule. list_integrations shows each integration's events.

ParameterTypeDescription
agent_id *stringThe agent id
events *arrayEvent ids (server.event)
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

give_tools Give an agent tools

Give an agent tools that a live integration (or the agency's built-ins) provides, each at a tier.

ParameterTypeDescription
agent_id *stringThe agent id
tools *array
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.

discard_integration Discard or remove an integration

Throw away a draft (a redraft of a live one goes back to the live version), or remove an added integration entirely. Shipped ones can't be removed.

ParameterTypeDescription
integration_id *stringThe integration id
agencystringWhich agency: an organization you are in, by name or id (list_agencies). Leave out for your own agency.
remove_livebooleanRemove it even though it is live