Architecture overview for the people of your firm

How Archie does your firm's work

Your firm's work is written down once as a WorkStream. A WorkPlan puts it to work for a set of your clients. Each go of the plan is a cycle, and inside each cycle every client has its own instance.

The main picture shows these parts inside one another, with how many of each there can be. Alongside it are how a WorkStream is built, and how a cycle runs with the points where a person at your firm decides.

The web address shows it /w/your-firm/ workstreams/a-workstream/ cycles/a-cycle/ instances/one-client

Live: built into Archie's platform and working Rolling out: designed and written down, being built or switched on in stages (dashed outlines) A person decides: the work waits for someone at your firm Select any part to read what it is.

How it is built

From your firm's method, written in English, to a released version that your WorkPlans move to when you choose. Filled circles are where a person decides.

One builder, three ways in

The parts, one inside the next

Each frame holds the ones inside it. The figures beside each name say how many there can be.

one firm's own area; nothing in it can be read from another
many in a workspace; a client can be on many WorkPlans
ABCDEFG G is not on the WorkPlan below
many in a workspace; written once
many per WorkStream; uses one WorkStream
many per WorkPlan; one go, for one period
Holds one instance per client, never two
one client; one task per step it reaches
  1. 1Done
  2. 2Done
  3. 3Done
  4. 4Waiting for you
  5. Not yet reached

What it produces

A WorkStream can also be run once for one client. That still makes a cycle, holding one instance.

How it runs and is controlled

Archie prepares and a person decides. The filled circles are where the work waits for someone at your firm.

The questions a partner or IT lead asks

Short answers, each marked live or rolling out. Where part of an answer is still rolling out, it says so.

Can Archie post to our clients' books without us?

No. A step that would write to an outside system, such as a draft journal in your accounting system, waits for a person's approval first. Archie refuses a write to a client's Xero without a recorded decision by a person, and journals are staged until approved.

Live

Who signs off, and can a machine fake it?

A person approves each sign-off, and the record keeps who, when and how they signed in. A filing step, such as submitting a VAT return, accepts only a person signed in through the web app, never an automated key. Limiting sign-off of frozen books to members of your firm is rolling out.

LiveMembers-only sign-off rolling out

Can we see exactly what was done for a client?

Yes. Each cycle records the WorkStream version it ran, with a fingerprint the database will not let anyone change. For each step it keeps the instruction, the tool, what went in and came out, and who approved it.

Live

What happens when something goes wrong?

The step stops and says why in plain words. A person can retry, resume from the last good step, or send the instance back to the right step with a correction. The earlier attempt is kept and reads Revised.

Live

Can someone change the WorkStream under our feet?

No. A released version never changes, a new release never moves the version a WorkPlan is fixed to, and every cycle records which version it used. Fixing every step to exact tool versions is rolling out.

LiveExact tool versions per step rolling out

Can the tools Archie writes reach the internet or our data?

A WorkStream's own tool runs in a sealed space with no network and no file access, with capped memory and time, and it cannot hold stored credentials. If it hits a limit, the step stops and says so.

Live

How do our people sign in, and who can see what?

Each person signs in as themselves, with your firm's Google or Microsoft account. Access follows your workspace. Someone who cannot see a client in the web app cannot reach that client any other way. Finer permission for each action is rolling out.

LivePer-action permission rolling out

Where is our data held?

Archie's production service runs in four regions: the United Kingdom, the United States, Australia and Canada. Each keeps its own copy of the WorkStreams, and a cycle reads only from its own region. Keeping a firm's own content inside its region is Archie's stated rule, and the checks that enforce it are rolling out.

Rolling out

Is our data used to train AI?

Archie's published policy says your content and the outputs Archie produces for you are not used to train general-purpose models. They are processed to do your work and to keep your record.

Live, as published

Does a reviewer's correction stick?

Yes. It is kept as that client's memory, and the client's next cycle reads it. It never changes the WorkStream for your other clients. Keeping words given at review for the next cycle is rolling out.

LiveWords at review rolling out

Who approves a change to a WorkStream?

Every change is saved in the name of the person who made it and is not released until approved. An approver who did not write the change approves it, and the builder can never approve its own. Anything your firm or clients receive, credentials and sign-ins, and anything that cannot be undone are to always wait for a person: that part is rolling out.

LiveThe three kinds rolling out

Is anyone editing WorkStreams in production?

The rule is that nobody does. Changes are made and tried on Archie's development environment, a separate copy with its own data, and reach production only as a released version. The block on a save made straight in production is rolling out.

Block rolling out

Glossary

The words used on this page, in the order you meet them.

Workspace
Your firm's own area in Archie, holding your people, clients and work. Nothing in it can be seen from another firm's.
Client
A business your firm acts for, kept as a proper record.
WorkStream
One piece of your firm's work written down once: what it needs, its steps, where a person signs off, and what it produces.
Specification
The WorkStream described in plain English, step by step. The working steps are made from it.
Step
One stage of a WorkStream, such as reading a document, checking figures or waiting for sign-off.
Input
Something the work needs before it starts, such as a file, a date or a choice. It can be set once, per client, or per cycle.
Tool
An exact, tested piece of logic a step uses, kept at fixed versions.
Version
A published state of a WorkStream that never changes afterwards. Every instance records the version it ran.
WorkPlan
A standing arrangement to run one WorkStream for a set of your clients, by hand, on a schedule or from a trigger.
Pin
Keeping a WorkPlan on a chosen WorkStream version until a person moves it.
Cycle
One go of a WorkPlan for one period, across its clients.
Period
The month, quarter or year a cycle is for.
Instance
One client's pass through the WorkStream inside a cycle.
Task
One step as it was actually carried out in an instance.
Question card
Where an instance asks a person for something it lacks, rather than failing.
Sign-off
A point where a person approves, holds or rejects the work before it goes on.
Hold
Pausing at a sign-off while waiting for an answer. Not a failure, and the same instance carries on afterwards.
Trigger
Something outside Archie that starts a cycle, such as an email from an allowed sender or a signed message from another system.
Sandbox
The sealed space a WorkStream's tool runs in. It sees only its inputs and cannot reach the internet or your files.
Development environment
A separate copy of Archie, with its own data, where WorkStreams are built and tried away from your firm's live work.
Archie's accounting model
The part of Archie that answers points of accounting and tax law, so a WorkStream never holds law in its own code.

Every part, in detail

Your workspace is your firm's own area in Archie. It holds your people, your clients, your WorkStreams and everything they produce.

It holds many clients and many WorkStreams, and every WorkPlan, cycle and instance made from them. Nothing in one workspace can be read from another.

How many
Many clients and many WorkStreams in one workspace
States
Active or archived
Seen on
Every page sits under the workspace's address, /w/your-firm/…

A client is a business your firm acts for, held as a proper record with its jurisdiction, year end, tax and registration numbers, tags and your internal team.

  • A client belongs to one workspace.
  • A client can be on many WorkPlans, and a WorkPlan can hold many clients.
  • In each cycle a client has at most one instance.
  • A WorkPlan can carry changes and settings for one client only.
States
Active or not active
Seen on
The Clients list, each client's page, and the client's row on a WorkPlan

Archie keeps facts about a client between cycles. Corrections a reviewer makes are saved there, and the client's next cycle reads them.

A correction never becomes a client setting and never changes the WorkStream for your other clients. What a person can read from memory is limited to what their place in the firm allows.

Seen on
The client's memory page, and on each instance, the list of client facts it was given

A WorkStream is one piece of your firm's work, written down once: what it needs, the steps to do it, where a person checks or signs off, and what it produces. A monthly VAT return or a year-end pack are examples.

It holds a written specification, steps, inputs, tools, questions, sign-off points, declared outputs and versions. WorkStreams, steps, inputs, WorkPlans and cycles run today.

Keeping every WorkStream as files with a full history of who changed what, where publishing is the only way to make a version, is rolling out one WorkStream at a time.

How many
Many steps, many versions, many WorkPlans and many cycles
States
Draft, active, paused, archived
Seen on
The WorkStreams list, and its own page with five tabs: Steps, WorkPlans, Cycles, Topics (conversations with Archie about this work) and Versions

Every WorkStream starts as a specification: your firm's method written in plain English, in sentences and paragraphs. Each step opens by saying what it does. It also names the inputs the work needs, such as the client and the period, and which are required.

This is the only thing a person writes by hand. When the method needs to change, the specification changes, and everything below it is made again from it.

If the builder finds the specification unclear or silent on a point, it does not guess and does not rewrite your words. It puts one question to the specification's owner, with the sentence it is about and a proposed answer. The answer goes into the specification.

The specification can already be kept in source control and saved there in the writer's own name. Building the whole WorkStream from it is the method being rolled out now.

Each step does one thing. It might read a document, call a tool, ask Archie's accounting model a question, check figures, wait for a reply, ask for a document or a form, send an email or a notification, run another WorkStream, or stop for a person's approval.

A step is one stage of the work as the WorkStream describes it. A task is that step actually carried out for one client in one instance.

How many
Many steps in a WorkStream
Seen on
The Steps tab, and a page for each step

Inputs are what the work needs before it starts: files, dates, numbers, choices, settings and the client. An input can be set once for the WorkStream, for each client, or for each cycle.

Before anything starts, the required inputs are checked, and files that belong to another workspace are turned away.

Taking an earlier cycle's result as an input, so this month starts from last month's closing figures, is rolling out.

A tool is an exact, tested piece of logic that a step uses, such as matching transactions or working out a figure. The same inputs always give the same answer.

A WorkStream's own tool is small code that runs in a sealed sandbox. It sees only the inputs it is given. It cannot reach the internet, other files or your firm's books, and it cannot carry stored credentials. If it runs too long or uses too much memory, the step stops and says so. It never hands back an empty answer as though nothing were wrong.

Settings such as tolerances are never written into a tool. They come in as settings for each cycle.

Before the builder writes a new tool, it searches for one that already exists and reuses what fits; shared libraries of tools are rolling out. Fixing each step to an exact version of each tool is rolling out.

Each published change makes a new version that never changes afterwards. Every instance records the version it ran.

A new release never moves the version a WorkPlan is fixed to. The WorkPlan shows that a newer version exists, and a person decides when to move.

Seen on
The Versions tab of the WorkStream, where you can compare two versions and go back to an earlier one

A step can stop to ask a person for something missing: a document, a form, guidance, or a reply. It asks rather than failing.

A question of accounting or law is to go first to Archie's accounting model, and only what the documents, the record and the model cannot settle goes to a person at your firm. That routing is rolling out.

These are steps where the work waits until a person approves it, holds it, or rejects it. The WorkStream declares them, and the WorkPlan says where a person must sign off.

A WorkStream says in advance what it produces, such as a workbook, a file or a document. The WorkPlan can list its deliverables.

A WorkPlan is a standing arrangement to run one WorkStream for a set of your clients, on a timetable or when something happens, with the settings you chose.

  • One WorkStream, at a version it can stay on.
  • Its clients, each with its own changes, settings and timetable.
  • How it runs: Run now, a schedule, or a trigger.
  • The period of each cycle.
  • A readiness rule for a client whose documents are not there yet.
  • Sign-off points and limits.
  • Its own history of settings, which can be rolled back.

Each WorkPlan records who made it and who last changed it. A named owner, told when an instance needs a person, is rolling out. Your WorkPlans and client data are never stored with the WorkStream's written definition.

How many
Belongs to one WorkStream; holds many clients and many triggers; each time it runs it makes a cycle
States
Draft, active, paused, archived
Seen on
The WorkPlans tab of its WorkStream, and its own page with Clients, Period, How it runs, Guardrail, Client documents and Readiness

A WorkStream can have many WorkPlans, for example for different client groups, different timetables or a pilot. Each one keeps its own clients, settings and version.

The clients can be chosen by name, be every active client, be the clients with a tag, be a single client, or be added by hand when it runs.

Each client can have its own changes, its own settings and its own timetable. A client can be on many WorkPlans.

A WorkPlan can be started by a person (Run now), by a schedule, or by a trigger.

  • A schedule follows your firm's time zone. It can skip weekends and move a date that falls on a bank holiday. A single client can have its own timetable.
  • A trigger is a signed message from another system (a webhook) or an email from an allowed sender.

Rolling out: a call with a key as a trigger, a document filed to a client starting that client's instance, and a WorkPlan starting when another WorkStream finishes for the same client.

A WorkPlan can stay on a chosen version of its WorkStream. When a newer version is published, the WorkPlan says "update available" and a person decides when to move it. Publishing never moves it by itself.

A WorkPlan that is not fixed to a version follows the newest.

Each cycle is for one period, such as a month, and every instance in it works on that period. A person picks it when running by hand.

A WorkPlan working out its own period from a rule, such as "the month just closed", is rolling out.

The WorkPlan has a rule for a client whose documents are not there yet: run and flag it (the default), hold it until the next cycle, or skip it.

These say where a person must sign off, whether steps only propose or go ahead, and a time limit for each instance.

A cycle is one go of a WorkPlan for one period: for example, the March cycle of your monthly VAT WorkPlan across all its clients.

It holds one instance for each client on the WorkPlan, with no client appearing twice, plus the cycle's facts: its period, the WorkStream version, how it was started, who started it, and when.

Pause, resume and cancel act on each instance, not on the cycle as a whole. Approvals can be given for many instances of a cycle at once, and each approval is recorded against its own instance.

How many
Many cycles per WorkPlan; one instance per client in each
Seen on
The cycle's own page, …/cycles/a-cycle, which lists every instance with "Needs you" first

A cycle has no status of its own. It is worked out from its instances, so it can never say more than they do.

  • Pending: nothing has started yet.
  • Running: any instance is still going or waiting.
  • Completed: every instance has finished and none failed. Skipped clients count as finished.
  • Failed: every instance has finished and at least one failed or was cancelled.

A person can run a WorkStream once for one client, without a WorkPlan. That makes a cycle with one instance and no WorkPlan.

An instance is one client's pass through the WorkStream inside a cycle. If a cycle covers 34 clients, it has 34 instances.

It holds the steps as they ran for that client (one task for each step, in order), what it is waiting for, its questions and sign-offs, its outputs, the client facts it was given, and the version of the WorkStream it ran.

An instance can start instances of other WorkStreams as one of its steps and wait for their results. Running other WorkStreams side by side is rolling out.

How many
Belongs to one cycle and is for at most one client; many tasks, many outputs, at most one workbook
Seen on
…/cycles/a-cycle/instances/one-client, with the list of steps, the outputs and the evidence, and a page for each step

On screen, each instance shows one of five words.

  • Queued: waiting to start.
  • Working: running a step.
  • Needs you: paused, held at a sign-off, or waiting for an answer, a document or guidance.
  • Failed: stopped on an error, with the reason in plain words.
  • Settled: finished, cancelled, abandoned or skipped.

A person can pause a working instance, resume a paused one, cancel it as an emergency stop, abandon a paused one that is no longer needed, or retry one that failed or was cancelled.

Each instance has one task for each step it reached. Every task belongs to one instance and points back to its step. Each step keeps a note of exactly what it read: which earlier steps, which files, which inputs and which client facts. That is how a reviewer can trace a figure back to where it came from.

  • Waiting to start, or running
  • Waiting for a person: for approval, a document or an answer
  • Approved or rejected
  • Done
  • Failed, with the reason in plain words
  • Skipped, because an earlier step stopped or a condition left it out. A skipped step is never counted as done.

When an instance lacks something only a person can give, it stops and asks on one question card. It might need a missing document, a form to fill, a choice, guidance, or a reply.

Questions appear on the instance page and in the cycle's "Needs you" list. A question going to a named person, and by default to the instance's owner, is rolling out.

A person can discuss a decision point with Archie and, from there, send the instance back to the right step. Today Discuss works on an open sign-off and on a stopped step; the rest is rolling out.

A sign-off point is a step where the instance waits for a person at your firm. Nothing is posted or sent while it waits.

  • Approve. The work carries on.
  • Hold. You cannot sign yet, perhaps because a client question is unanswered. Holding is not a failure. When the answer comes you approve the same point and it carries on. It does not start again.
  • Reject. The work is wrong.

Every approval records who gave it, when, and how they signed in. Many waiting instances in one cycle can be approved together.

An instance can produce a ledger for the client's period, journals, workbooks, documents and reports, and a one-line account of what was done. Each file is kept with the cycle and carries a fingerprint, so a later change to it can be seen.

A workbook made before its review reads "not yet reviewed". It can be viewed while under review, but cannot be downloaded until it is signed off. Where an instance keeps books, the ledger is frozen at the end and cannot be rewound.

A step can send an email or a notification, or pass a result to another system, where the WorkStream includes such a step. Anything going to your clients or outside systems waits for a person where the WorkStream sets a sign-off.

At the end, a reviewer can sign and seal the evidence record. The seal cannot be given while any flagged query lacks a decision. Sealing writes the sign-off into a new copy of the workbook and protects its sheets; the original is never changed.

Limiting the seal to a partner is rolling out.

Every cycle keeps a record that does not change: who started it, how, which period it covers, and which version of the WorkStream it ran, with a fingerprint of that version.

For each step it keeps what the step was told to do, which tool did the work, what it took in and gave back, what it read, how long it took, and a one-line summary in plain words. Every decision is recorded with who made it, when and how they signed in. Every correction records who changed what, from what, to what, at which step.

Each project has one builder, Archie's AI builder, and three ways to work with it.

  • The desktop app, where a person writes and tests WorkStreams and watches each step of a cycle.
  • The command line, with the same powers in a terminal.
  • The automated builder, which works through a specification by itself.

All three reach the same builder through the same Archie interface. They share one set of tools, follow one set of rules and save through the same single route, so a change made one way looks the same as a change made another way.

The desktop app is built and in use on the development environment. The command line and the automated builder are being brought onto the shared tools now.

The firm's method is written in plain English as the WorkStream's specification. It is the only part written by hand. Nobody edits a WorkStream's steps or tools by hand: when the method changes, the specification changes and everything below it is made again.

The builder reads the whole specification and puts any gap to its owner as one question with a proposed answer. The answer goes into the specification.

From the specification, the builder makes the WorkStream's definition: the list of steps, what each step takes in and gives out, which tool each step uses, and the words a person sees on each step.

It uses the specification's own words for step names and descriptions, because people read them during every cycle. A small step that can be checked is better than one long step. When a step in the specification changes, the parts made from it are made again, side by side.

Before it writes a new tool, the builder searches for one that already exists: in Archie's shared library, in your firm's own library, or in another WorkStream. It reuses what fits and never copies a tool.

A new tool is split into layers: the part any firm could use, your firm's own rule, and only what is unique to this WorkStream. A tool runs in a closed sandbox, sees only its inputs, and never posts.

Writing and saving a tool and running it in the sandbox are live. The layered libraries and the search before writing are rolling out.

A step is not taken on trust. The builder's proving tools make fresh made-up cases, each with a correct answer worked out separately, which the builder never sees.

A step counts as done only when it gets every figure right on 300 fresh cases it has never seen, and then works on Archie's development environment. Code compares the figures; no AI model decides whether a step is right.

Before any tool is saved, it must have been run in the sandbox on sample inputs by the same person within the last 30 minutes.

Steps that are correct on their own can still fail where one hands its work to the next. The builder runs the proved steps in order over a real cycle's recorded outputs and checks that what one step gives is what the next step takes.

Today this reports mismatches and does not yet block a build.

Made-up cases prove that a step's logic is right. Real client papers prove that it works on what firms actually receive.

Real client data may be used in tests, but it is never written into a step, a tool or the WorkStream's instructions. A step is never bent to fit one client: a gap found on one client becomes a general rule for every client.

Names of clients and firms, and secrets, are scanned for on every save, and a save that holds one is refused as a whole. The scan is built; the rule for real data in tests is being written into the specification.

Once its steps are proved, the builder joins them into one WorkStream. Each step reads the earlier steps' outputs, and each tool is fixed to the version that was proved.

The joined WorkStream is started as a real cycle on Archie's development environment, a separate copy of Archie with its own data, and the whole result is checked against the expected figures. Trial cycles there never touch your firm's WorkPlans.

Every WorkStream that has moved into source control keeps its whole history there. Each save is one recorded change, in the name of the person who made it. When the builder acts for a person, the change is still in that person's name, with the builder recorded beside them.

A save changes nothing that runs: it is saved, not released. Anyone can see who changed what and when, compare two versions, and go back to an earlier one.

Saving in the person's name, the history and the comparison are live. Moving every WorkStream into source control is rolling out, one firm at a time.

When the builder judges a change ready, it asks for a release. Archie opens one change request. An approver who did not write the change approves it; nobody approves their own change, and the person the builder acted for cannot pass it either. Archie merges exactly what was approved, which makes the new version.

Rolling out: the tests running at release as one pass-or-fail list, approval set by Archie's approval policy, and three kinds of change that always wait for a person: anything your firm or a client receives, credentials and sign-ins, and deleting or anything else that cannot be undone.

A change always starts on the development environment and moves one way only. A released version is promoted to a production region, which checks a fingerprint of the whole version and every tool it uses, and refuses anything that does not match. The new version records where it came from.

Promotion does not move any WorkPlan. Your WorkPlans keep running the version they are fixed to until someone moves it, so a change reaches your cycles only when you choose.

Promotion as one step with no second approval, in every region, is rolling out.

A person at your firm sets up the WorkPlan. It names the WorkStream (and can stay on one version of it), the clients, each client's settings, the timetable or triggers, and the points where a person signs off.

A person presses Run now, the timetable comes due, or a trigger fires, such as a message from another system or an email from an allowed sender. The cycle is given its period.

A person can also ask Archie in a conversation to do a WorkStream's work for one client. Moving every way in onto one shared entrance, so the work behaves the same whichever way it came in, is rolling out. So is the timetable working out the period by itself.

Each client's required inputs are checked first, and files that belong to another workspace are turned away. A client that is not ready is worked and flagged, or held back for the next cycle, as the WorkPlan says.

A cycle makes one instance for each client on the WorkPlan, and every instance works on the same period. Each instance starts with that client's own settings and what Archie keeps about the client from earlier cycles.

An owner for each instance, a person at your firm who is told when it waits, finishes or fails, is rolling out.

The steps run in order. Each does one job and says what it takes in and gives back. Tools run in a sealed sandbox; documents such as bank statements and last year's workbook are read; each step records what it read and what it gave.

A step passes its result to the steps that need it, under names the WorkStream sets.

What the record cannot settle becomes a question, and the instance waits rather than guessing. A question of accounting or law is to go first to Archie's accounting model, and what it cannot settle goes to a person at your firm, grouped into a clear question.

At each review point the instance waits. The person approves, holds, or sends it back to the right step with a correction.

Going back: Archie works out which step first used what changed. The steps before it keep their results, and that step and the ones after it run again. The earlier attempt is kept and reads Revised. If the instance was waiting at a review, the corrected version stops at the same review again. Anything already written to an outside system is kept and not repeated, and a later step that would write outside Archie waits for approval again.

A Discuss button on every decision point is rolling out; today it is on sign-offs and stopped steps.

Where the instance keeps books, the ledger is frozen and a person signs off. The workbook unlocks for download after review. Going back is refused once the books are frozen.

Limiting sign-off of frozen books to members of your firm is rolling out.

Workbooks, journals and documents are kept with the cycle. Archie connects to the accounting systems a firm already uses, such as Xero and QuickBooks, only when the firm connects them and only for the actions the firm approves. Journals are prepared and staged, and post only once a person has approved them.

The cycle keeps its fixed record of version, steps, decisions and corrections. The client's next cycle reads the corrections from its memory. A correction never quietly changes the WorkStream for everyone else.