Skip to Content
Recodocs

How Recobot runs

The real Recobot loop from router to run record, the governed tools and proposals it works through, its limits, and how AI steps and workflows differ from it.

3 min read

Recobot works like a colleague who can decide which records to consult, but not who is allowed to see the records or whether a proposed change is approved. A model chooses the next tool within the asking person's gateway permissions, every write becomes a proposal, and every run is bounded and recorded. The rest of this page explains the model loop, the host controls and why simpler AI steps and workflows do not need the same freedom.

The loop

Think in turns: a question starts the run, an observation informs the next choice, and the host checks the tool result. The model's decision is not itself evidence.

Inside a Recobot run loopClick to inspect
Context loading & bounded tool loop
Question+ page context
Router modelPick workflow & packs
Load toolsOnly needed subset
Answering modelChoose next step
Read tool
Governed readLoops back to model
Write tool
Proposal createdReturned with answer
Answer / Limit
Cited answerOr stop at spend/step cap
Store Run RecordFull trace, tool calls, citations and limits persisted to observability
1
2
3
StageWhat happens
RouterA fast router model (DeepSeek V4 Flash) reads the request and picks the workflow and tool packs.
Tool packsOptional narrowing: Work and planning, People and access, Learning and performance, Finance, Compliance, Company and workplace, Marketing and events, Documents and outputs, Knowledge and definitions, Web research, Integrations and operations, Data, demos and execution. A pack never adds authority.
Answering modelThe company's default model connection (GPT-6 Luna through a ChatGPT or Codex plan, or Claude through an Anthropic API key), with the chat's model, reasoning effort and fast mode.
ContextThe data the open page loaded and a selected record. Email-like keys are not sent to the model.
Run recordThe run, the records read and the tools called are kept. See Runs and observability.

Governed tools

Every tool Recobot calls goes through the same gateway as a console click. Each tool declares which roles may use it, its side effect, its approval policy, whether it is safe to retry, how sensitive its data is and how to read the result back.

tool-result.json
{
  "status": "succeeded",
  "data": { "bills": 4 },
  "evidence": ["bill_1042", "bill_1047"],
  "effect": "none",
  "proposal": null,
  "next_actions": [],
  "retryable": false
}

The result envelope is versioned. Its status can be succeeded, conflict, pending approval or failed, and errors come back as structured error packets so the model can correct and try again within its limits. See Tools and policies.

Proposals

An approval is a decision about one previewed effect, not blanket authority to do similar work later.

When Recobot needs to change something, the write tool does a dry run instead of the change. The preview is stored as an expiring proposal bound to the caller, the exact arguments and fingerprints of the records involved. A person approves or rejects it in the console, on the Decisions page or in Slack. On approval, the exact previewed material runs and the result is read back. A few low-risk self-service edits are exempt from approval. Recobot never approves its own proposals. See Decisions.

Limits

LimitValue
Model requests per run30
Tool calls per run100
Run duration300 seconds

When a limit is hit the run stops, says which limit it reached and returns what it has. A spend guard also applies to model calls. See Caching and cost.

AI steps and workflows

Most of what RecoX automates is not a loop at all.

Recobot (agent)AI stepWorkflow
Who decides the next stepThe modelFixed codeFixed code
Model useMany requests, chooses toolsOne bounded call, such as classify, extract, score or write wordingNone
If the model failsThe run reports the failureA template or a person's review takes overNot applicable
ExamplesAsk page, Slack, panelLead reception, lead score, daily brief, performance narrative, exam questionsInvoice import, routines, annual accounts

An AI step cannot call tools or pick what happens next, so it cannot widen what it touches. A workflow is durable: each step is saved, failed steps retry, and a restarted run resumes from the last completed step. External agents such as Claude or Codex can also call the same governed tools over MCP; reads run directly and consequential calls return a pending proposal.

Planned

Evaluation suites with release gates, automatic cross-provider model fallback and autonomy levels per agent are planned. See the roadmap.

How is this page?

Last updated on