About the Architectural Knowledge Library
Where every directive, symbol, and material comes from — and our honest position on what's authoritative, what's a stand-in, and what we'd upgrade for commercial use.
What's in here
307 design directives sourced from authoritative publications across 10 organizations.
23 plan symbols per published CAD standards.
146 materials from manufacturer specifications and trade references.
All three parts are cross-linked: a directive points to the symbols it governs, a symbol points to the directives that apply to it, a material points to its applicable symbols and governing directives. See the unified search to traverse the graph.
Our licensing posture (read this part)
Almost an Architect is currently a test application. We source design directives from freely available editions of authoritative publications. That means:
- Government publications are current and public — Virginia 2021 USBC, HUD guides, Alexandria zoning, federal Fair Housing manuals, FEMA P-2325.
- Industry publications use the most recent freely- circulated edition, which is sometimes notthe current paid edition. NKBA Kitchen & Bath Planning Guidelines 2nd ed (2015) is on multiple cabinet-company websites; the current 4th ed (2022) is paid and adds support-spaces guidelines we don't encode.
- Older standards from Internet Archive are used as backup reference (e.g., 2018 IRC scan), not as the primary authority.
- Pre-1928 plan books are public domain (Sears, Aladdin) — used as reference for our catalog plan recreations.
For commercial / production use, we will purchase current paid editions and verify every directive against them. The total upgrade cost is $340 based on current shop pricing — see the detailed upgrade list below.
Every directive in the library carries source.organization, source.publication, source.edition, and source.sectionRef fields so the exact citation is always available. Where the source is freely accessible, the directive's detail page links to the PDF.
Our sources
We currently track 15 authoritative sources across 10 organizations:
- City of Alexandria, VA (1 source): Current (Municode-hosted)
- Federal Emergency Management Agency (1 source): May 2023 (FEMA P-2325)
- International Code Council (publisher) (1 source): 2018
- NKBA (official) (2 sources): 2023, 2022
- National Kitchen and Bath Association (1 source): 2nd ed (2015)
- North American Construction Company (Aladdin) (1 source): 1916
- Pacific Northwest National Lab / US DOE (1 source): Continuously updated
- Sears, Roebuck and Co. (historical) (1 source): 1925
- US Department of Housing and Urban Development (2 sources): Most recent free-PDF release, 1996 revised 1998
- Virginia DHCD (4 sources): 2021, 2021, 2021, 2021
Source-by-source breakdown
| Source | License | Priority | Upgrade |
|---|---|---|---|
2021 Virginia Construction Code (Part I of USBC) Virginia DHCD · 2021 | Government | primary | authoritative |
2021 Virginia Existing Building Code (Part II of USBC) Virginia DHCD · 2021 | Government | secondary | authoritative |
2021 Virginia Statewide Fire Prevention Code Virginia DHCD · 2021 | Government | secondary | authoritative |
2021 Virginia Property Maintenance Code Virginia DHCD · 2021 | Government | reference | authoritative |
2018 International Residential Code for One- and Two-Family Dwellings International Code Council (publisher) · 2018 | Freely circulated | secondary | $240 — 2024 IRC |
NKBA Kitchen & Bathroom Planning Guidelines with Access Standards, 2nd Edition National Kitchen and Bath Association · 2nd ed (2015) | Freely circulated | primary | $100 — NKBA Kitchen & Bath Planning Guidelines with Support Spaces and Accessibility, 4th edition (2022) |
NKBA 2023 Design Competition Guidelines (HSW Summary of 4th Edition) NKBA (official) · 2023 | Free redistribution | secondary | authoritative |
NKBA Certification Guidebook 2022 NKBA (official) · 2022 | Free redistribution | reference | authoritative |
Building Codes Toolkit (FEMA P-2325) Federal Emergency Management Agency · May 2023 (FEMA P-2325) | Government | secondary | authoritative |
HUD Residential Structural Design Guide US Department of Housing and Urban Development · Most recent free-PDF release | Government | primary | authoritative |
HUD Fair Housing Act Design Manual US Department of Housing and Urban Development · 1996 revised 1998 | Government | primary | authoritative |
Alexandria, VA Zoning Ordinance City of Alexandria, VA · Current (Municode-hosted) | Government | primary | authoritative |
Sears, Roebuck and Co. Modern Homes catalog, 1925 Sears, Roebuck and Co. (historical) · 1925 | Public domain | reference | authoritative |
Aladdin Homes catalog, 1916 North American Construction Company (Aladdin) · 1916 | Public domain | reference | authoritative |
Building America Solution Center (PNNL / DOE) Pacific Northwest National Lab / US DOE · Continuously updated | Government | reference | authoritative |
Jurisdiction
Alexandria, VA is our development jurisdiction for local zoning. The catalog plans, default cost estimates, and constraint solver use Virginia 2021 USBC as the residential code baseline.
Other jurisdictions can be added via the admin upload workflow: drop a local zoning ordinance PDF into lib/library/sources/documents/, register it in MANIFEST.ts, extract directives tagged with that jurisdiction. The directive infrastructure supports per-jurisdiction applicability filters.
Upgrade path: $340 to full commercial-grade
The complete commercial-grade source library — every paid edition of every source we currently use the free version of — costs approximately $340:
- $240 — 2024 IRCCurrently using: 2018 International Residential Code for One- and Two-Family Dwellings (2018) — Replace with current edition for commercial use.
- $100 — NKBA Kitchen & Bath Planning Guidelines with Support Spaces and Accessibility, 4th edition (2022)Currently using: NKBA Kitchen & Bathroom Planning Guidelines with Access Standards, 2nd Edition (2nd ed (2015)) — Adds support-spaces guidelines (mudroom, laundry, home office, gym) not in 2nd ed.
What we deliberately do NOT use — the reference-not-training principle
We apply a strict reference-not-training rule: we do not use restricted-license academic datasets for floor-plan analysis or model training. Those datasets ship under non-commercial licenses (CC BY-NC, research-only) which would conflict with our commercial direction. Instead, we read the published research that describesthose datasets' findings and cite the research.
Datasets we deliberately do NOT use:
- FloorPlanCAD — CC BY-NC, non-commercial only
- CubiCasa5K — CC BY-NC, non-commercial only
- RPLAN (Wu 2019) — research access only
- ResPlan — academic terms restrictive
- MLStructFP — research access only
- CubiGraph5K — inherits CubiCasa5K license
- MSD (Modified Swiss Dwellings) — research only
- LIFULL HOMES — institutional access only
This is enforced automatically: the test test:research-no-restricted-datascans the entire codebase on every commit and fails the build if any of these datasets' URLs, filenames, or training-loop imports appear.
FAQ
Are these your rules or are they sourced?
Every directive has a typed sourcefield with the issuing organization, publication, edition, and section reference. None are made up. Where the original source is freely accessible, the directive's detail page links to the source PDF.
Why an older NKBA edition?
The 2nd ed (2015) is the most-recent NKBA Planning Guidelines that circulates as a freely-downloadable PDF on professional websites. The current 4th ed (2022) is paid and adds support-spaces guidelines we'd like to encode. We list both editions on the upgrade path; we'll buy the 4th ed before commercializing.
Why Virginia code instead of the underlying IRC?
Our dev jurisdiction is Alexandria, VA. Virginia's 2021 USBC adopts the IRC by reference plus state-specific amendments — so it is BOTH a current IRC adoption AND a precise local-jurisdiction source. Other jurisdictions adopt different IRC editions (2018, 2021, 2024); per-jurisdiction directives can override the Virginia defaults when added.
How can I verify the licensing claims?
Run npm run test:research-no-restricted-data in the repo to confirm no restricted-dataset references. Run npm run library:download to fetch all source PDFs and verify their public availability. Every source has a manifest entry with the verifiable download URL.
Did you train on RPLAN / CubiCasa5K?
No. Neither is downloaded, used, or referenced in the codebase. Their research papers are read and cited; their datasets are not used.
Where to read more
- Research bibliography — every cited paper, book, code, and standard
- The library overview — directives, symbols, materials
- Unified search — query across all three parts