Before we let an AI accounting agent choose what to do next, we write down what the firm should get back, where the run has to stop, and who signs off. Say a tax practice wants help with the missing-document chase. “Get the file ready” leaves room for the system to decide that a client’s reply is good enough, close an open request, or keep looking in more places. We’d give it a result the tax senior can check, a limit the application can enforce, and a person who can decide what happens to the draft.

Write those decisions where the builder and the reviewer can both find them. The builder needs to know which calls the application should allow. The reviewer needs to know what will land in the queue and what’s expected when they open it.

How much of the path can we write down?

A fixed workflow runs the steps the builder sets out. Read the organizer, look up the current-year uploads, compare them to the request list, and save a draft for review. The workflow can have a branch for a missing file or call a model to write the email. The application still decides which step runs next. If the firm handles every case with steps staff can describe in advance, we’d start there.

An agent can choose the next step from the tools you give it. Say there’s an upload labeled “tax docs,” and the organizer shows two forms still open. The agent might inspect the upload first. If it finds one statement and a note about the other, it might look in the verified client thread to see whether the second statement is coming. Another file might have a clear match in the portal and need no client-thread lookup. The builder still defines which tools and records are available. The agent decides when to use them within that scope.

Either approach needs to show its work in terms the firm uses. A tax senior looking at a missing-items draft wants to know which request each upload matched, which file and tax year support that match, and which items still need a decision. A client email can be short. The internal record beside it should give the reviewer enough to check each request without having to reconstruct the run.

What should the application enforce?

Here’s a work order for a hypothetical tax practice. We’re assuming the organizer is the firm’s request list and the tax senior owns routine document reminders.

job: review missing tax documents scope: one engagement and its current tax year reads: organizer, portal uploads, verified client thread outcome: status and source for every open request, plus a draft if needed statuses: received, missing, needs review attempt_limit: two lookups per item, including retries stop_on: ambiguous client or tax year, or exhausted lookup limit checkpoint: save results and wait for approval signer: tax senior assigned to the engagement, or assigned backup approval_covers: final reminder, recipient, and any attachments 

We’d put the lookup limit in the application that calls the tools. A retry counts against the same limit, even if the call that failed was to the portal and the agent now wants to check the client thread. When the limit is reached, save the partial result with the open item and the reason it stopped. If the portal is unavailable, the reviewer needs to see that the upload couldn’t be checked. Otherwise an unavailable record can turn into a confident request for a form the client already sent.

Use the checkpoint to end the preparation run and hand off the result. The agent can save a draft, with sending controlled by the application that records the approval. Tie that approval to the exact message, recipients, and attachments. If the draft changes after approval, have it come back for review. If a send request times out and the application can’t tell whether it went through, check the existing send record before allowing another attempt. A retry that creates a second reminder is still a second email in the client’s inbox.

We’d also decide what happens if a document arrives while the draft is waiting. Say the senior opens a reminder in the afternoon, after the missing form came in at lunch. The application can flag the newer upload and ask the reviewer to refresh the comparison before sending. It matters more when several people work from the same inbox and a draft can sit in the queue between shifts.

Who signs off on the work?

The role on the work order has to resolve to a person on the engagement. In the example, the assigned tax senior reviews the source records and the reminder. If that person is away, the firm can assign a backup. If no authorized reviewer is available, the draft waits. Keep the approved version and the reviewer’s decision with the job so the next person can tell what happened when a client calls about the email.

The signer depends on what’s being released. For an engagement letter, say a firm uses an agent to pull service details from intake and prepare a first draft. The person authorized to approve the engagement checks the scope, fees, and any promises about timing before it goes to the client. For a tax review file, the reviewer checks the work against its sources and resolves open points. The responsible signing preparer still reviews and signs the return.

Before enabling the job on live files, we’d run the work order on a few cases with known answers. Try a clean upload, a mislabeled prior-year form, and an unavailable portal. In each case, open the review queue as the person assigned to the engagement. Check whether the result explains what the agent found, whether the run stopped where the firm said it should, and whether any proposed email is still waiting for that person’s approval. If it takes a builder reading logs to explain an ordinary exception, put the missing detail in the review record while the job is still small.

If you want to see how we set this up for a firm: https://getprecision.ai/?utm_source=devto&utm_medium=social&utm_campaign=ai-accounting-agent