100 official CBP specification PDFs, 10,000+ data elements, and every CATAIR chapter — ingested, structured, and grounded. Ask it anything. Generate filer-grade Python on demand. Every answer quotes the source verbatim.
Grounded in the same specs your broker has been photocopying for 30 years — just faster, and never wrong about a record position.
No retraining. No fine-tuning. Just disciplined retrieval over a typed knowledge graph — and hard rules that forbid paraphrasing.
Module, Record, DataElement, CodeTable, ErrorCode, BusinessRule, Workflow — extracted and linked. The knowledge becomes a typed graph, not a bag of embeddings.
source:page inline or return "not found in sources." The builder-agent can quote exact field layouts into generated Pydantic models.
catair_get_record(slug) returns every DataElement with position, length, and validator hints. A Claude-Code subagent generates the serializer, the parser, the Pydantic model, and the tests against Appendix examples.
A real extraction from eBond Create/Update (CB/CX) V1.9. Byte-exact — pulled from the CBP PDF, page 23. Every row maps to a Pydantic field.
| Data Element | Position | Class | Desig | Description |
|---|---|---|---|---|
| Control Identifier | 1–2 | 2AN | M | Must always equal "10" |
| Bond Designation Type Code | 3 | 1AN | M | B = new basic · A = additional · V = void · C = adjust · U = substitute · E = supersede · T = terminate · R = rider |
| Bond Type Code | 4 | 1N | M | Numeric bond type from CBP 301 taxonomy |
| Bond Activity Code | 5–7 | 3AN | C | Required when Bond Type > 0; indicates the activity under which the bond secures |
| Bond Amount | 8–17 | 10N | C | Whole dollars; right-justified, zero-filled; total bond value |
| Entry Filer Code | 18–20 | 3AN | M | Three-character filer code assigned by CBP |
| Entry Number | 21–29 | 9AN | M | Seven-digit serial + one check digit, modulus 11 |
| Importer of Record Number | 30–41 | 12AN | M | IRS EIN · SSN · CBP-assigned number per Appendix 2 |
Walk through the Ops UI — the operator surface where brokers stage filings, watch audit chains, and diff compliance outputs. Live demo environment, no signup. Or request a tenant for your brokerage.