Skip to main content
End Close agents are AI workers that do reconciliation work alongside your team. Some are built in: they write matching rules and investigate exceptions. Others are agents you define, with standing instructions that run on a schedule or on demand against your End Close data.

How agents fit with the other concepts

  • The reconciliation agent writes and refines the rules of each reconciliation. See The reconciliation agent.
  • Exception agents look into each exception and write a note and a suggested fix for each overdue line.
  • Your agents carry out instructions you write, such as a daily cash check or a month-end report, and can read and change End Close data within the limits you set.

Investigate exceptions

When the overdue lines behind an exception change, End Close starts an investigation. The agent searches the reconciliation’s records for candidates and records what it found on the exception’s investigation: An investigation only reads your data. Applying what it found is up to a person. End Close can also review an exception line by line. The agent writes a finding for each overdue line: a note in one or two plain sentences, whether the line looks right as it stands, and a suggested fix. The fix is a match with specific records, an adjust that matches them and books the remaining gap as an adjustment with a reason, or nothing. End Close checks every suggestion against your records before saving it. A reviewer applies it with Approve, so nothing changes until a person agrees. If your own matching engine writes findings through the findings API, its findings take precedence and the agent leaves those lines alone.

Evidence checked against your documents

A finding can quote the documents behind it, such as a contract clause or an invoice line, with a link to the file. When the link points to a PDF in Files, End Close checks the quote against the document and stores the result on the quote’s check: Other statuses cover quotes with no document, links outside Files, files that aren’t PDFs, and PDFs that can’t be read. When a quote is found, page and boxes locate it, so the review can open the PDF at the right page with the quote highlighted.

Run your own agents

An agent you create has a name, standing instructions, and a schedule. Each run carries out the instructions in an isolated sandbox with access to the environment’s data, then writes a markdown summary and any output files.
Agent
Agents of kind browser also appear in the API. End Close sets them up to sign in to a web portal, such as a bank’s, and import what it exports. You can’t create them through the API.

Runs

Each execution is a run, listed under GET /agents/{id}/runs. A run moves through pending, running, completed, failed or cancelled. A run that needs a person’s approval or an answer waits in waiting until someone responds in the app. triggered_by says what started it: schedule, manual, api, a file drop, another agent, or a resumed decision. Start a run straight away, whatever the agent’s cadence:
cURL
The run is created pending and works in the background. Poll GET /agents/{id}/runs/{run_id} for its status, summary, output files and full transcript. One agent can start another, but End Close refuses a trigger that would loop or chain more than 5 runs deep.

Input files

POST /agents/{id}/files attaches a file to the agent, sent as multipart/form-data with a single file part. Every run lists the agent’s input files and can download them. Files can be up to 50 MB each, with up to 20 per agent. A file with the same name as an existing one is added alongside it, so delete the old file first to replace it.

Exceptions

The overdue lines agents investigate.

Review exceptions

Approve or keep what agents suggest.

Exception findings API

Write findings from your own engine instead.

API reference

Agent, run and file endpoints.