The RevOS agent
Teach the RevOS agent — the one your team talks to in Slack, Teams and the app — how your organization works. A project keeps it under agent/:
agent/
├── instructions.md # what it follows in every conversation
└── skills/
└── pipeline-review/ # one folder per skill
├── SKILL.md
└── references/
└── stages.md
The agent adds your instructions to its own and loads every skill at the start of each conversation, and only for your organization. Organization Developers and Admins change them; any member can read them.
Instructions
agent/instructions.md is Markdown the agent follows in every conversation: who you are, what "we" means, your terms, which skill to reach for when.
You work for Acme. "We" means Acme; "the board" means the sales pipeline board.
For a question about a single deal, load the `deal-sync` skill first.
At most 32 KB: they go with every request the agent makes, so keep them short and put procedures in skills. revos apply sets them when the file changed, and revos pull writes the organization's copy to the file. Deleting the file leaves the organization's copy in place — clear it with revos agent instructions delete; an empty file is an error.
Skills
A skill is a folder in the open Agent Skills format: a SKILL.md whose YAML frontmatter gives name and description, plus any files it refers to.
---
name: pipeline-review
description: Reviews the sales pipeline the way our RevOps team does. Use when asked about pipeline health or deal risk.
---
1. Pull open deals by stage …
Rules the API enforces:
name: letters, digits,_and-, starting with a letter, at most 64 characters; no__. Names of the agent's built-in skills (actions,cubes,dashboards,metrics,segments,semantic-model,tables) andeveare taken. In a project the folder must be named after the skill.description: required, at most 1024 characters — it is how the agent decides when to use the skill.- At most 50 files, 256 KB per file and 512 KB in total; text only:
.md,.txt,.json,.yaml,.yml,.csv. No links.
In a project, skills are an IaC kind (Skill) like the others, without a YAML wrapper: the folder is the resource.
revos applyuploads each skill that is new or changed and leaves unchanged ones alone. It never removes a skill from the organization — userevos agent skills delete.revos diffandrevos statuscompare a content hash, so they never download a skill's files to check it. The hash is sha256 over the files sorted by path — for each, the UTF-8 path, a NUL byte, the UTF-8 content, a NUL byte — and is thecontentHashthe API reports. Instructions are compared the same way, by the sha256 of the file.revos pullwrites each skill intoagent/skills/<name>/, making the folder match the organization's copy exactly (files the organization's copy lacks are removed). A folder with uncommitted changes is left alone unless you pass--force; so isagent/instructions.md.
Commands:
revos agent instructions get [--json]
revos agent instructions delete [--json] # clear them
revos agent skills list [--columns <cols>] [--json]
revos agent skills get <name> [--json] # --json includes every file's content
revos agent skills push <dir> [--json] # upload one skill folder (adds, or replaces the skill of the same name)
revos agent skills delete <name> [--json]
Skills can also be uploaded as a .zip from the Skills tab of the Agents page in the app.
Talk to the agent from your terminal
Two commands talk to your organization's deployed agent from your terminal, signed in as you (revos auth login, or REVOS_TOKEN), for the organization your project names (or --org). They use your own rights: what you may not do in RevOS, the agent cannot do for you here. Both need Node 24 or newer — they run eve, the agent's framework, through npx, at the release the CLI pins. Only a RevOS agent is accepted — the shared one, or a dedicated deployment (revos-agent-<name>.revos.cloud): any other address is refused before your token is read. Name a dedicated deployment under spec.agent.url in revos.yaml, or pass --url. chat runs eve from a directory the CLI owns (~/.revos/eve), so nothing in your current directory decides which program receives your token.
Chat
revos agent chat
Opens eve's terminal chat with the agent. Writes the agent makes are real, as they are in Slack.
Evals
An eval sends the agent a message, then checks what it did and said: which skill it loaded, which tools it called, what it answered. Evals are your code, in your project, and run on your machine or in CI against the agent as deployed — with the instructions and skills you last applied, so revos apply first. We never run them.
revos agent evals new stale-deal-follow-up # scaffold agent/evals/stale-deal-follow-up.eval.ts
revos agent evals run # run them all
revos agent evals run deals --verbose # one eval, or a folder of them
revos agent evals run --strict --junit results/evals.xml
revos agent evals run --model routed # let the agent pick its stronger model, as in chats
agent/
├── instructions.md
├── skills/
├── package.json # created with the first eval: pins eve, for your editor's types
├── tsconfig.json
├── .gitignore
└── evals/
├── evals.config.ts
└── stale-deal-follow-up.eval.ts
An eval is a defineEval from eve/evals:
import { defineEval } from "eve/evals";
import type { ToolStub } from "eve/evals";
const stubs = [
{
id: "no-writes",
tool: "hub__revos__api_write",
outcome: { response: { ok: true } },
},
{
id: "no-deletes",
tool: "hub__revos__api_delete",
outcome: { response: { ok: true } },
},
] satisfies readonly ToolStub[];
export default defineEval({
description: "A stale deal gets the follow-up skill.",
async test(t) {
const session = await t.session({ stubs });
const turn = await session.send("Which of my deals have gone quiet?");
turn.expectOk();
turn.calledSkill("deal-follow-up");
turn.calledTool("hub__revos__api_read");
},
});
Evals act as you, on your organization's live data. Reads are real. A write the agent attempts is real too unless the eval stubs it, so the scaffold stubs hub__revos__api_write and hub__revos__api_delete; keep them, and stub any other tool a question could change something through. The agent's tool names are part of what your evals depend on. See the eve docs for assertions, multi-turn sessions and tool stubs.
revos agent evals run [ids…]runs everything underagent/evals/, or the evals named (an id, or a folder). It exits with eve's code:0all passed,1a check failed,2misconfigured. A missingagent/package.jsonoragent/evals/evals.config.tsis created for you.evals runalways runs the eve release the deployed agent runs. Ifagent/package.jsonasks for another one — an older CLI wrote its own — it says so: update it there and reinstall, since your eval files importeve/evalsfromagent/node_modules/.- Flags:
--tagand--exclude-tag(repeat for more than one),--strict(below-threshold scores fail too),--junit <file>,--json,--verbose,--timeout <ms>.--junitis relative to where you run the command. --model lite|routedpicks the agent's models for the run.lite, the default, runs every turn on the agent's cheap model.routedlets it pick a stronger, several times costlier model for harder turns, as it does in chats: use it to check an eval against what your users get. Every run counts against your organization's AI budget. An agent that doesn't support the choice yet runsroutedeither way.- Your token reaches the evals through the environment, never the command line, and the CLI never prints it.
evals runexecutes your project's code — the eval files,evals.config.tsand anything inagent/node_modules/— with your token in its environment. Never run it on a checkout you do not trust. In CI, never give theREVOS_TOKENsecret to workflows triggered by forks or other untrusted pull requests.- The token cannot be renewed once a chat or run has started, so the CLI renews your login first if less than two hours of it remain (a token from
REVOS_TOKENis used as it is). A session ends with its token — a login's lasts 24 hours. - The organization must have installed the agent (Slack or Teams) for the agent to open a session for it.
- In CI, set
REVOS_TOKENto a user API key and keeprevos.yamlin the repository for the organization. The evals run with that user's rights — use a dedicated user with the least role that works, not an Admin's personal key. agent/.gitignore(created with the first eval) keepsagent/node_modules/andagent/.eve/— eve's results — out of git.