Skip to content
CodelessOps

CodelessOps · Open source · For Anaplan model builders

/architect

Your Anaplan build buddy.

/architect is a build buddy that knows your Anaplan estate. Not just the model exports: your project documents, plans, meeting notes, transcripts, your own notes and best practice. Every answer can draw on all of it, and tells you what it read.

Plan your next module, or get up to speed on a model you've inherited. When nobody wrote the reason down, it says Not recorded.

Works from your exports. It never connects to your Anaplan.

Free · MIT licensed · on GitHub · your own model key ·have a login? sign in

Ask your buddy

Eight questions. Eight real answers.

Press one. Each answer is the one the demo gave, word for word, and each shows one thing /architect does.

/architect · Caldergate Distribution Group · 4 models · 6 documentsrecorded

This one shows Cited documents, quote-checked

Why is the account mapping written into the Forecast Opex formula instead of a lookup table?

Beyond the exports Read 2 of 6 documents and 6 owner notesCR-031: Legal fees driver in the opex forecastCaldergate FP&A: design decision record v1.2

The mapping in CAL03 Opex.Forecast Opex was a deliberate Finance Systems control, not a technical requirement: changing an account’s driver had to be a model change under their control. A restricted lookup module was later agreed in principle, but deferred because it needed a full reconciliation and could not be resourced before the FY25 half-year. Your working note attributes the original choice to the partner; the design record attributes it to Finance Systems (, , ).

Why did Finance Systems choose the formula?

  • The design record traces the concern to a planning workbook where a cost had moved accounts without the ledger following.
  • “A mapping module could have been locked with access rights, but Finance Systems judged that a setting which can be unlocked by a workspace administrator is weaker than a formula, which shows in the model history when it changes.”
  • The record explicitly accepts the trade-off: CAL03 Opex.Forecast Opex becomes harder to read and requires a model builder whenever a driver account is added ().

Why has it not become a lookup since?

  • “It will be raised as a separate change request when it can be resourced. CR-031 is the minimum change that makes legal fees forecast correctly.”
  • The next decision is whether to resource that wider change, not whether a lookup is technically possible. The recorded agreement preserves Finance Systems-only write access and requires reconciliation across every driver account ().

The passages 2 documents · press one to open it

Verified 3 cited · 2/2 quotes found · 244 words

This one shows The Anaplan grammar: the formula read in parts and traced back to its inputs

How is the depreciation charge calculated?

Beyond the exports Read 6 owner notes; none of the 6 documents

In Caldergate FP&A, CAL10 Depreciation.Charge calculates monthly depreciation by spreading capex spend over a rolling useful-life window, including the current month. Keep the calculation unchanged unless a replacement is checked against every asset class’s schedule, as you require in .

What is easy to miss?

  • Any useful life above 10 years uses a fixed 240-month window, not the actual entered life, in CAL10 Depreciation.Charge.
  • Any other useful life falls back to the current month’s INP04 Capex.Capex Spend divided by 12. That is not a rolling annual charge and also catches a blank or otherwise unmatched life when the asset class is populated.
  • Your confirmation that CAL10 Depreciation.Charge reconciles to the fixed asset register is recorded in . The exports contain no asset schedule or planning values, so that reconciliation cannot be independently verified here.

The formula in parts CAL10 Depreciation.Charge · number · Cost Centres · 19,152 cells

IFISBLANK(INP04 Capex.Asset Class)THEN0
ELSE IFINP04 Capex.Useful Life Years = 3THENMOVINGSUM(INP04 Capex.Capex Spend, -35, 0) / 36
ELSE IFINP04 Capex.Useful Life Years = 5THENMOVINGSUM(INP04 Capex.Capex Spend, -59, 0) / 60
ELSE IFINP04 Capex.Useful Life Years = 7THENMOVINGSUM(INP04 Capex.Capex Spend, -83, 0) / 84
ELSE IFINP04 Capex.Useful Life Years = 10THENMOVINGSUM(INP04 Capex.Capex Spend, -119, 0) / 120
ELSE IFINP04 Capex.Useful Life Years > 10THENMOVINGSUM(INP04 Capex.Capex Spend, -239, 0) / 240
ELSEINP04 Capex.Capex Spend / 12

Traced back to its inputs 3 inputs, one step away

INP04 Capex.Asset ClassINP04 Capex.Capex SpendINP04 Capex.Useful Life Years
CAL10 Depreciation.Charge

Verified 4 cited · 140 words

This one shows A build plan with checked formulas and Planual flags

Build what change request CR-031 asks for: a legal fees driver in the opex forecast.

Beyond the exports Read 1 of 6 documents and 6 owner notesCR-031: Legal fees driver in the opex forecast

In Caldergate FP&A, reuse the existing input INP02 Opex Drivers.Legal Fees and extend CAL03 Opex.Forecast Opex so the legal fees account forecasts from that driver instead of falling through to zero. The proposed change preserves the existing account mappings and replaces the workaround of carrying legal fees in INP02 Opex Drivers.Consultancy. It keeps the current IF-chain design: the lookup-module redesign is outside CR-031’s scope, and nothing has yet been changed in Anaplan.

Why keep the current design?

  • CR-031 explicitly limits the scope: “CR-031 is the minimum change that makes legal fees forecast correctly.”
  • The long-chain flags on CAL03 Opex.Forecast Opex, including Planual 2.02-01 and 2.02-02, remain advisory departures, not a reason to expand this change into the deferred redesign.

The plan CR-031: connect the existing legal fees driver to the opex forecast

you supply change something that exists: the switch-over check, nothing is built

  1. 1You supply: the legal fees account. It is a member of the list Accounts, and an export holds no list members, so the plan cannot name it. Put it where the formula of CAL03 Opex.Forecast Opex says Accounts.'YOU SUPPLY: the legal fees account'.
  2. 2In CAL03 Opex, replace the formula of the existing line item Forecast Opex. This is the switch-over: do it last.
    … ELSE IF ITEM(Accounts) = Accounts.'6510 Audit' THEN 'INP02 Opex Drivers'.Audit Fees
    ELSE IF ITEM(Accounts) = Accounts.'YOU SUPPLY: the legal fees account' THEN 'INP02 Opex Drivers'.Legal Fees
    ELSE IF ITEM(Accounts) = Accounts.'6600 Recruitment' THEN 'INP02 Opex Drivers'.Recruitment Fees ELSE 0
  3. 3For three cost centres carrying legal spend, repeat the opex reconciliation test and confirm the legal fees account in CAL03 Opex.Forecast Opex equals INP02 Opex Drivers.Legal Fees for each month and version.
  4. 4Before moving driver amounts, compare every other account in CAL03 Opex.Forecast Opex with the development-copy baseline; all existing branches and zero-fallback accounts must remain unchanged.
  5. 5Confirm actual-period CAL03 Opex.Opex remains unchanged and forecast-period legal fees flow through CAL03 Opex.Opex and CAL03 Opex.Opex GBP.
  6. 6FP&A must ask cost centre owners to remove legal fees temporarily included in INP02 Opex Drivers.Consultancy and retain the intended amount in INP02 Opex Drivers.Legal Fees; reconcile professional fees plus legal fees to the intended combined forecast without double counting.
  7. 7Confirm the note on CAL03 Opex.Forecast Opex says thirteen branches and arrange release outside the close.
  8. 8Reconcile the affected pack outputs after recalculation; inspect saved views and UX references in Anaplan because they are not present in the exports.

The one new branch is marked. The other twelve branches and the zero fallback are untouched. 1 of 1 formula parses, and every name it uses is in the model.

Planual flags on CAL03 Opex.Forecast Opex

  • Departs from Planual 2.02-01, 2.02-0213 IF THEN ELSE in one formula
  • Departs from Planual 2.01-08, 2.01-09ITEM in a 5,017,824-cell line item
  • Departs from Planual 2.02-02, 2.02-18144 tokens
  • As per Planual 2.01-09, 2.02-12no hard-coded figure: what it uses is read from line items

Flags only. A departure does not reject a plan: you may have a reason. It flags the Planual rules it can see in an export: 18 rule numbers across 24 checks. It does not check the Planual.

Verified 5 cited · 1/1 quote found · 125 words

This one shows The model map

Give me an overview of the estate: what each model is for, who built it, and what a new builder must know.

Beyond the exports Read 6 owner notes; none of the 6 documents

Start a new builder with the calculation spine and the handover risks below. Connections are inferred from import names, except the assumptions feed from Caldergate FP&A to Workforce Planning, which the owner has retired.

What is each model for, and who built it?

  • Caldergate Data Hub: loads NetSuite, Salesforce and Workday; built by the first partner in 2019 (, ).
  • Caldergate FP&A: plans revenue, opex, headcount cost and cash; same partner and year (, ).
  • Workforce Planning: employee-level costing; second partner, 2021 (, ).
  • Board Reporting: board-dashboard KPI layer, refreshed after close; built in-house by Dan in 2023 (, ).

Where should a builder start?

  • In Caldergate FP&A, start with SYS01 Time Settings.Actual?, follow inputs through CAL02 Revenue and CAL03 Opex, then CAL07 P&L by Cost Centre to OUT02 Board Pack ().
  • In Workforce Planning, follow Data - Employees through Calcs - Cost and Calcs - Headcount by CC; request a fresh export before assessing calculation effort ().

What must not be missed?

  • Do not rename casually: the owner records saved-view breakage ().
  • Versions in OUT01 Management Pack and OUT02 Board Pack are deliberate reporting design, not automatic waste ().
  • Verify the working-assumption risks: fixed FX, duplicate Workday loads and an obsolete budget selection in the board pack ().
  • Exports omit saved views, UX usage, planning values and history. Formula dependencies alone cannot establish safe deletion.

The model map press a model or a feed

151retired21Caldergate Data Hub63 line items · 8M cellsWorkforce Planning55 line items · 6M cellsCaldergate FP&A278 line items · 130M cellsBoard Reporting30 line items · 138K cells151retired21Caldergate Data Hub63 line items · 8M cellsWorkforce Planning55 line items · 6M cellsCaldergate FP&A278 line items · 130M cellsBoard Reporting30 line items · 138K cells

inferred from import names retired by the ownerthe number is the count of import actions

Caldergate FP&A

Plans revenue, opex, headcount cost and cash and produces the management and board packs.

278 line items130M cellsbuilt 2019, first partner

Verified 10 cited · 241 words

This one shows The review: ranked findings, Planual-tagged, decisions already made

What should we fix first in FP&A, and what has already been decided?

Beyond the exports Read 3 of 6 documents and 6 owner notesPlanning systems steering meeting: notes, 2023CR-031: Legal fees driver in the opex forecastCR-044: Retire CAL05 Opex OLD

Fix CAL07 P&L by Cost Centre.EBITDA Margin first: its totals add percentages, so I put correctness ahead of the performance ranking. Then address DAT01 Actuals GL.Journal Cost Centre. CAL05 Opex OLD retirement is explicitly deferred, not approved for immediate deletion.

What changes the priority?

  • Its effort share is not a measured runtime saving.
  • Investigate CAL12 Driver Phasing.Insurance Phased before changing it: breaking its neighbours’ pattern is evidence to check, not proof of an error.
  • Confirm the current Treasury-approved assumption for CAL02 Revenue.Revenue USD alongside these fixes. The recorded stop-gap is not a permanent FX design.

What has already been decided?

  • Retirement blocked pending audit closure: CAL05 Opex OLD steering decision says: “Until then the cells and the calculation time are accepted as the cost of keeping it. Nothing is to be built on the module in the meantime.”
  • For CAL03 Opex.Forecast Opex, Finance Systems and FP&A recorded: “Branch approved in principle. Lookup module agreed in principle, out of scope.” This is not a scheduled build.
  • Do not treat the old budget selection as an accidental leftover: OUT02 Board Pack.Old Budget Revenue was retained for historical comparatives, with Dan to be consulted before removal (). That qualifies the unticketed-risk assumption in .

The review the first four of five cards

01

Stop repeating text-to-item lookups (FINDITEM) on every cell in Caldergate FP&A (1 formula)

ChangeEvidence confirmed

Test 1.4 · FINDITEM on a large line item

Planual 2.01-08, 2.01-09, 2.02-04, 2.02-05 +2

DAT01 Actuals GL.Journal Cost Centre

02

Fix the totals of percentages that are added up in Caldergate FP&A (1 line item)

ChangeEvidence confirmed

Test 4.16 · Percentages whose totals are added up

The tool's own test

CAL07 P&L by Cost Centre.EBITDA Margin

03

Consider replacing the long chain of IF tests in the line item 'Forecast Opex' in the module 'CAL03 Opex' with a lookup table

ChangeEvidence confirmed

Test 4.6 · Formulas with more than 10 IFs

Planual 2.01-08, 2.01-09, 2.02-01, 2.02-02 +5

Kept on purposeOwner note: Forecast Opex: why the mapping is in the formula

CAL03 Opex.Forecast Opex

04

Check the line items that break their neighbours' pattern in Caldergate FP&A (1 line item)

Investigate firstEvidence confirmed

Test 4.17 · The odd one out in a run of matching formulas

The tool's own test

CAL12 Driver Phasing.Insurance Phased

The cards come from tests run over the exports, in a fixed order. Where a note or a document already records a decision, the card says kept on purpose.

Verified 11 cited · 2/2 quotes found · 213 words

This one shows Reach of a change

What are the implications of changing SYS05 FX Rates?

Beyond the exports Read 6 owner notes; none of the 6 documents

Changing SYS05 FX Rates.Rate to GBP in Caldergate FP&A can change revenue, opex, margins, cash flow and both packs. Test the change in a development copy before publishing, and agree any inter-model import change with the receiving owner ().

What could change unexpectedly?

  • Historical and budget comparisons: SYS05 FX Rates.Rate to GBP is monthly and versioned. Changing earlier periods can flow into prior-year, cumulative and variance calculations.
  • No formula-level lock: SYS05 FX Rates.Rate Locked? has no formula consumers. Its name does not establish protection against rate changes; access controls and view behaviour are not exported.
  • Incomplete FX correction: CAL02 Revenue.Revenue USD uses translated GBP revenue but still multiplies by 1.27. Updating the rates does not remove that fixed conversion.
  • Manual reload risk: Import FX from Treasury file sits outside every process; its last recorded run was 2023-11-02.

Who needs to check the result?

  • Finance Systems should compare OUT01 Management Pack, OUT02 Board Pack and CAL05 Opex OLD before and after, covering the currencies, periods and versions changed.
  • Dan should check Board Reporting after refresh. That connection is inferred from import names; cross-model line-item mappings are unavailable.
  • Do not treat Workforce Planning as a live downstream dependency. The assumptions feed is retired; HR keys rates manually ().
  • The exports show dependencies, not data values or saved views, so they cannot establish the monetary movement or every report affected.
48line items · 4 direct
10modules
30,763,584cells in reach
3actions touch it
2other models, inferred

The reach step out a ring at a time

1234567CAL02CAL03CAL04CAL05CAL06CAL07CAL08CAL11OUT01OUT02SYS05 FX RatesTHE CHANGE

All seven rings

48 line items in 10 modules

  • CAL02 Revenuefrom ring 14
  • CAL03 Opexfrom ring 13
  • CAL04 Margnfrom ring 11
  • CAL05 Opex OLDfrom ring 13
  • CAL06 Department Summaryfrom ring 24
  • CAL07 P&L by Cost Centrefrom ring 28
  • CAL08 Cash Flowfrom ring 39
  • CAL11 Reporting Prepfrom ring 34
  • OUT01 Management Packfrom ring 46
  • OUT02 Board Packfrom ring 56

The counts are the answer's own. Stepping through the rings one by one is this page's; the app draws the rings and a steps grid.

Verified 12 cited · 239 words

This one shows Documents tied to modules and line items

What do the project documents say about CAL03 Opex?

Beyond the exports Read 3 of 6 documents and 6 owner notesCR-031: Legal fees driver in the opex forecastCR-044: Retire CAL05 Opex OLDCaldergate FP&A: design decision record v1.2

The documents describe CAL03 Opex in Caldergate FP&A as a deliberately controlled, driver-based forecast, not an accidental long formula. They later record a missing legal-fees mapping and agreement in principle to replace the embedded mapping with a restricted lookup. They also disagree on when CAL03 Opex replaced CAL05 Opex OLD, so the implementation date needs clarification.

Why was the mapping put in the formula?

  • The March 2019 design record says actual months read opex ledger accounts, forecast months read INP02 Opex Drivers, and CAL03 Opex.Opex switches between them.
  • “The account-to-driver mapping is written into the IF chain of CAL03 Opex.Forecast Opex because Finance Systems did not want planners, or anyone outside Finance Systems, to be able to edit a mapping table, and a change to the mapping is therefore a model change that goes through Finance Systems.”
  • Unmapped accounts intentionally forecast zero; the design accepts harder maintenance in return for that control.

What changed in the later documents?

  • CR-031, dated May 2024, records that legal-fees actuals reach the new account but its forecast stays zero despite driver entry.
  • “Moving the mapping out of the formula into a small lookup module by account, with write access limited to Finance Systems, is agreed in principle but is out of scope for CR-031, because it changes how every driver account forecasts and needs a full reconciliation that nobody has time for before the FY25 half-year.”

Which history needs clarification?

  • The March 2019 design record describes the replacement as part of v1.2; CR-044 dates it to 2021.

CAL03 Opex named in 8 sections of 3 documents

Caldergate FP&A: design decision record v1.2Design decision record · 2019-03

  • 4.3 Opex forecast logic
  • 4.8 P&L by cost centre and department summary

CR-031: Legal fees driver in the opex forecastChange request · 2024-05-14

  • Request
  • Reason
  • Proposed change

CR-044: Retire CAL05 Opex OLDChange request · 2025-02-11

  • Background
  • Why it is still there
  • Why Finance Systems want it removed

The link was made when each document was read in, not searched for when the question came.

Verified 6 cited · 2/2 quotes found · 270 words

This one shows It says when it does not know

Why is the margin module called CAL04 Margn?

Beyond the exports Read 1 of 6 documents and 6 owner notesCaldergate FP&A: design decision record v1.2

Not recorded. No document or note in this workspace explains why CAL04 Margn in Caldergate FP&A is spelled that way. The design record uses the same name, so it is not enough to conclude that it was a typo or a deliberate abbreviation.

What does the design record establish?

  • It identifies the module’s purpose: "Cost of goods is sellable units multiplied by landed cost."
  • It gives no naming rationale for CAL04 Margn. The original builder would need to confirm that.

Not recorded

No document or note in this workspace gives a reason. The answer says only what the estate itself shows. The architect does not guess.

Verified 2 cited · 1/1 quote found · 86 words

Recorded on the demo: the fictional Caldergate estate that ships with /architect. Nothing on this page calls a model. The green and outlined chips open their source; the blue names open in the app, not here.

Every answer is checked by code before you see it: the names, the figures, the quotes. How the check works.

The app, moving

Four short screen recordings. Nothing plays until you press Play.

Ask a question. A real question typed into the composer and answered while recording.
Open a citation. A source card opened to its passage in the drawer.
Walk a reach. The pointer moving out from the change one ring at a time, then the same reach as steps.
Concise, then more. A Concise plan: show diagram, explain on a step, expand to Full.

Your documents

The exports say what was built. Your documents say why.

Upload the design record, the change requests, the meeting notes, the handover note. From then on, answers quote them, and every quote is checked against the page it came from.

  1. 1 · You upload a document

    Design decision record · 2019-03

    Caldergate FP&A: design decision record v1.2

    Read section by section. This one has 26.

    PDF, Word, Markdown, text, CSV or a script. A scanned PDF isn't read: there's no OCR.

  2. 2 · It's tied to what it names

    4.3 Opex forecast logic names

    CAL03 OpexCAL03 Opex.Forecast OpexCAL03 Opex.OpexCAL05 Opex OLDINP02 Opex Drivers

    And the other way round: CAL03 Opex is named in 8 sections of 3 documents. The link is made when the document is read in.

  3. 3 · Answers quote it, and the quote is checked

    "The account-to-driver mapping is written into the IF chain of CAL03 Opex.Forecast Opex because Finance Systems did not want planners, or anyone outside Finance Systems, to be able to edit a mapping table, and a change to the mapping is therefore a model change that goes through Finance Systems."

    Verified2/2 quotes found, word for word

    A quote that isn't in the section it cites is flagged, never passed off as found.

All three steps are the demo's own: its design record, the links made from it, and the quote question 7 above took from it.

/architect · Documentsscreenshot
The Documents page: six project documents as cards, each with its type, date, summary, sections and the objects it names

Two ways in

Run it yourself, or ask me for a login.

Free · MIT

Run it yourself

You can run this on your own. It's quite lightweight software: a few commands from GitHub and it's open in your browser.

terminal
$ git clone https://github.com/klameer/anaplan-architect.git
$ cd anaplan-architect
$ python -m venv .venv
$ .venv/bin/pip install ".[llm,web,openai]"
$ .venv/bin/anaplan-architect demo --data ./data
$ .venv/bin/anaplan-architect serve --data ./data
# then open http://localhost:8765

Needs Python 3.10 or later and git. On Windows it's .venv\Scripts\ where this says .venv/bin/. The demo line is optional.

  • Or with Docker: the image builds and runs from the repo. The README has the command.
  • The two demo workspaces open without a model key. To ask your own questions, bring a key: Anthropic, Claude on Bedrock, Azure OpenAI, or any OpenAI-compatible endpoint.
  • Your exports and documents stay on the machine that runs it.
Get it on GitHub

By request

Or ask me for a login

I run a hosted test instance. A login is by request and at my discretion: not everyone who asks gets one. To ask, send me a message on LinkedIn. If you get one:

  • It's a test instance. Access can be withdrawn at any time, and the instance may be reset.
  • Don't upload anything you aren't allowed to share. Your employer's model exports are your employer's.
  • I run the server, and it holds your files unencrypted. Treat anything you upload as readable by me.
  • Each login has a spend cap.
Under the hoodHow it's built: the formula grammar, the tools and the loop, the validator, the lean context, tracing, Planual flags, the security review, and what it won't do.

/architect is an independent product. It isn't made with Anaplan, agreed with them, affiliated with them or endorsed by them. Anaplan is a trademark of its owner. Every answer, figure, screenshot and clip on this page is the fictional Caldergate demo: no real company, person or model is in it.