Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
English original · AI translation and compilation · AI deployment (FDE not disclosed)
Case Overview
Business Problem
Product knowledge is scattered across the website, API docs, help center, and undocumented product logic; customers need to quickly understand form states and workflows, but the system must avoid providing tax advice, unauthorized operations, or cross-region data processing.
Publicly disclosed AI solutions
Digital asset tax and accounting compliance platform Taxbit embeds Assist in its enterprise console, running in production in the US and EU since May 2026. The Agent only answers product knowledge, attaches accessible citations, and binds organization, email, and role in code; it currently does not read customer tax da…
Core Engineering Findings
Engineering Analysis by This LibraryIdentity should not be a parameter the model can rewrite
The trusted calling end already knows the real user, organization, and role; these values need not go through model reasoning.
Original disclosure · View basisTechnical Architecture
Public solution summaryThe request chain disclosed in the original is: the console passes in trusted identity and role; Guardrails first blocks or masks; the knowledge base retrieves and reranks from public docs, source-generated docs, and human-maintained content; the model verifies feature authorization and role before answering with citat…
View the complete architecture and reference data flowKey engineering trade-offs
Engineering Analysis by This LibraryBind subject to tool closures, and enforce citation visibility, permission checks, and session partitioning at the code and platform layers.
Increases tool instantiation, authorization matrix, and regional deployment complexity, but significantly narrows the permission surface for model errors or injection attacks.
In-depth Technical AnalysisOutcomes and Verification Boundaries
Production deploymentTaxbit internal production analysis states that more than 55% of users who ask questions ask again within 24 hours; average model cost is below $0.20 per session, about three-quarters of input tokens come from cache, and model cost dropped by more than half. Online evaluation samples 10% of active sessions. All of the above are the project team's figures, with no independent acceptance disclosed.
Original verified · Public cases · Benefits not independently accepted
Sources are AWS and Taxbit's own accounts. 55% next-day repeat questions is usage stickiness, not accuracy; below $0.20 is average model cost, not total cost of ownership; near-zero false positives and about 25% comparison did not disclose full sample sizes. Currently does not query customer tax data, and future struct…
Complete results criteria and applicable boundariesIn-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
Business Background and Process
Research AnalysisProduct knowledge is scattered across the website, API docs, help center, and undocumented product logic; customers need to quickly understand form states and workflows, but the system must avoid providing tax advice, unauthorized operations, or cross-region data processing.
- Role
- Compliance users at enterprise customers such as exchanges, payment service providers, and brokerages; Taxbit product support and tax domain experts; platform, security, compliance, and knowledge operations teams.
- Reproduction scope
- This repository's reproduction only covers public/synthetic product docs, simulated identities, and support tickets; it does not process real tax data, execute tax filing choices, or run Taxbit's production system.
- 1Logged-in users ask product or compliance workflow questions in the Taxbit console.
- 2The calling service attaches trusted email, organization, and role; Guardrails blocks or masks sensitive information before model invocation.
- 3The Agent over-recalls from the knowledge base, reranks, and selects context after limiting the number of chunks per document.
- 4Tools check feature authorization and role with the bound subject; the model cannot replace the checked identity.
- 5Answers come with user-openable sources; non-citable source-generated content only participates in grounding.
- 6Trajectories enter automated scoring, tax-advice classification, and human review; approved corrections are written back to the knowledge base as incremental updates.
Engineering Problems and Transferable Lessons
Key Engineering Insightweb-8dc1ca775a3702bbbdcddbfa-identity-bound-tools- Special Issues
- In multi-tenant compliance products, if prompt injection can change subject or organization parameters, a Q&A can escalate into cross-tenant unauthorized access.
- Why Ordinary Architecture Is Not Enough
- The trusted calling end already knows the real user, organization, and role; these values need not go through model reasoning.
- Key technical choices
- Bind subject to tool closures, and enforce citation visibility, permission checks, and session partitioning at the code and platform layers.
- Costs and trade-offs
- Increases tool instantiation, authorization matrix, and regional deployment complexity, but significantly narrows the permission surface for model errors or injection attacks.
- Failure conditions
- If actor_id is inferred from a shared service identity or allowed to be passed by the model, multiple users may fall into the same memory partition or query the wrong subject.
- Transferable experience
- Suitable for sensitive enterprise Agents in payroll, finance, healthcare, supply chain, and similar domains: let the model choose actions, but let the authentication system decide on whose behalf the action is executed.
Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:
Original disclosureSource verifiedweb-8dc1ca775a3702bbbdcddbfa-current-data-boundaryEngineering ProjectionNot yet executedweb-8dc1ca775a3702bbbdcddbfa-security-insightTechnical Architecture and Data Flow
Original text / solution listed separatelyOriginal architecture summary
The request chain disclosed in the original is: the console passes in trusted identity and role; Guardrails first blocks or masks; the knowledge base retrieves and reranks from public docs, source-generated docs, and human-maintained content; the model verifies feature authorization and role before answering with citations; session memory is isolated by memory/session/actor; OpenTelemetry traces enter online evaluation, internal quality judges, tax advice classifier, and human review. The Agent contains 8 narrow tools and currently has no customer tax data read permission.
Identity binding, tool count, knowledge sources, retrieval parameters, regional deployment, and evaluation chain all come from the original; the following business objects, reproduction steps, and acceptance goals are this repository's research design and do not represent Taxbit's internal fields or full implementation.
Suggested Architecture for Reproduction
The following is the research design and does not represent the complete implementation of the enterprise's internal system.
- 1Trusted identity injection
The console backend completes authentication and binds organization, role, and region as context that cannot be rewritten by the model to tools.
- 2Input safety screening
Perform sensitive information blocking or masking on the current user turn; if blocked, do not call the model.
- 3Scoped retrieval
Over-recall from authoritative corpus and rerank, limit chunks per document, preserve product version and regional scope.
- 4Authorization and answering
Tools check features and roles with the bound subject; answers distinguish product explanations from tax advice and only show user-openable citations.
- 5Continuous quality loop
Traces enter automated scoring, advice drift classification, and expert review; approved errata incrementally enter the human-maintained corpus.
Suggested Data and System Interfaces
| Business Object | Join key / criteria | Suggested Sources | Purpose in the process |
|---|---|---|---|
| Authenticated subject and permissions | user_id/email、organization_id、role、entitlement、region | Console authentication and authorization service | Bound to tools by the calling end, limiting tenant, role, feature, and region; the model is not allowed to rewrite the subject. |
| Product knowledge entries | document_id、source_type、product_version、region_scope、effective_at、content_hash | Public docs, source-generated docs, human-approved content | Provides product facts, permission thresholds, and regional applicability scope, supports incremental updates and citations. |
| Retrieval chunks and citations | chunk_id、document_id、heading、scope_prefix、embedding_version、public_url | Knowledge base and reranking service | Preserve document scope within token limits, distinguish sources usable for grounding from publicly citable sources. |
| Sessions and evaluation traces | memory_id、session_id、actor_id、trace_id、tool_path、judge_scores | Session memory, OpenTelemetry/CloudWatch, and review queue | Isolate tenant context, and link answers, tools, automated scoring, and expert corrections. |
Key design trade-offs
Research AnalysisWhy can't identity be a model-fillable tool parameter?
Suggested choice:The authenticated calling service binds identity and organization to tool closures.
Basis for judgment: Even if prompt injection induces the model to change parameters, the tool still performs permission checks only for the real caller.
Costs and boundaries: Tool instantiation and session management are more complex, but significantly narrow the cross-tenant unauthorized access surface.
How to use undocumented product facts from source code?
Suggested choice:Generate retrievable documents from source code to participate in grounding, but only public pages can become user citations.
Basis for judgment: Permission thresholds and routing logic often exist only in code; completely excluding them creates knowledge gaps; directly citing internal content exposes inaccessible sources.
Costs and boundaries: Requires code parsing, version association, and an approval mechanism, and grounding must be separated from public citations.
Why expand candidates first, then rerank and limit?
Suggested choice:Recall 75 candidates, rerank 12, max 2 chunks per document, finally take 5 chunks.
Basis for judgment: Authoritative pages may be ranked 20–50 in initial vector ranking; also need to avoid a single long document filling the context.
Costs and boundaries: Increases retrieval computation and tuning work; still need to evaluate candidate pool and reranker with the enterprise's own questions.
Engineering Failure Conditions
Exceptions and Degradation
Ignore subject claims in text, use only authentication service bound values; log and block unauthorized tool calls.
Does not output a definitive workflow, requires scope clarification or escalation to an expert; prioritizes fixing document metadata and context prefixes.
Classifier flags and refuses or escalates to compliance staff, retaining original traces for expert review.
Not written to the official corpus and links not displayed; incrementally published after expert approval, with versions and audit records retained.
When it is suitable for adoption, and how value is measured
Research Recommendations by This Library- Data and Organizational Prerequisites
- Requires a unified authentication service to provide stable primary keys for user, organization, and role; product features and documentation have version/region scope; tools can enforce least privilege by subject; and there must be desensitized historical questions, expert review, and continuous knowledge operations.
- Division of labor among AI, rules and humans
- The model is responsible for understanding questions, choosing read-only retrieval or ticket tools, and organizing citations; code is responsible for identity binding, tenant isolation, permissions, and citable source whitelist; Guardrails is responsible for sensitive information policy; experts review boundary issues and approve knowledge corrections.
- Conditions not recommended for adoption
- If identity can only be passed via natural language, cross-tenant data is not isolated, knowledge documents have no effective scope, or the organization wants the model to directly provide tax/legal advice, this pattern should not be adopted.
- Investment and Ongoing Costs
- One-time investment focuses on corpus cleanup, generating product facts from code, permission tool wrapping, regional deployment, and offline gold labels; ongoing costs include incremental document collection, expert corrections, trace sampling, model/retrieval regression, and compliance review.
- Value and evaluation criteria
- Should separately measure cited-answer rate, retrieval relevance, faithfulness, unauthorized-access blocking, tax advice drift, ticket transfer rate, expert correction rate, and unit session cost; repeat-question rate only represents usage stickiness.
- Suggested First Step
- Select 50–100 common product-state or permission questions, and verify identity closure, reference accessibility, and refusal in a read-only environment; first prohibit customer data queries and tax advice, then conduct dual review by product and compliance experts.
Research Appendix Complete evidence, metric criteria and research materials
Original disclosure and evidence boundaries
Original verifiedOriginal title: Taxbit Assist: A grounded, role-aware AI agent on Amazon Bedrock AgentCore
Original summary: Digital asset tax and accounting compliance platform Taxbit embeds Assist in its enterprise console, running in production in the US and EU since May 2026. The Agent only answers product knowledge, attaches accessible citations, and binds organization, email, and role in code; it currently does not read customer tax data, and write operations are limited to the caller's own support tickets. This article is an AI translation compilation; metrics come from Taxbit internal production analysis, with no independent acceptance found.
Taxbit Assist has been running in production in the US and EU since May 2026, with EU traffic using in-region inference.
Original location: Results and impact ↗The Agent currently does not read customer tax data and only answers from product knowledge; the only write operations are creating, viewing, updating, or closing the caller's own support tickets.
Original location: The agent runtime ↗Email, organization ID, and role are bound to the tool closure by a trusted calling service; the model cannot choose which identity to check.
Original location: The agent runtime · identity binding ↗Knowledge sources include public website/API/help center, routing and permission docs generated from product source code, and human-maintained content; typical collection retains only about 70 answerable pages out of 400+ URLs.
Original location: Grounding answers · Ingestion ↗Retrieval starts from 75 vector candidates, server-side reranking takes 12, max 2 chunks per document, finally 5 chunks enter the model.
Original location: Grounding answers · Retrieval ↗Online evaluation samples 10% of sessions from production traces; beyond automated scoring there are faithfulness/relevance judges, tax advice classifier, and expert review.
Original location: Measuring quality on live traffic ↗Internal analysis states more than 55% of users who ask questions ask again within 24 hours, average model cost below $0.20 per session.
Original location: Introduction and Results and impact ↗Context prefixes and chunk bodies are constrained by the 512-token embedding limit; production probes found that about 28% of chunks fall in the 385–512 token range, and tail truncation occurs without adjustment.
Original location: Grounding answers · Contextual chunking ↗Taxbit internal production analysis states that more than 55% of users who ask questions ask again within 24 hours; average model cost is below $0.20 per session, about three-quarters of input tokens come from cache, and model cost dropped by more than half. Online evaluation samples 10% of active sessions. All of the above are the project team's figures, with no independent acceptance disclosed.
Disclosure BoundariesSources are AWS and Taxbit's own accounts. 55% next-day repeat questions is usage stickiness, not accuracy; below $0.20 is average model cost, not total cost of ownership; near-zero false positives and about 25% comparison did not disclose full sample sizes. Currently does not query customer tax data, and future structured data Q&A cannot be written as a launched capability.
Delivery process
AI deployment (FDE not disclosed)The official AWS engineering article has the Taxbit team disclose its build and operation process, but does not mention Forward Deployed Engineers or a specific customer co-build team, so it is treated as deployed with delivery method undisclosed. Delivery method basis
Delivery process verification for this case has not yet been supplemented. Existing delivery method description: The official AWS engineering article has the Taxbit team disclose its build and operation process, but does not mention Forward Deployed Engineers or a specific customer co-build team, so it is treated as deployed with delivery method undisclosed.
Metrics and Measurement Definitions
Retain original criteria"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."
Proportion of asking users who ask again within 24 hours
Adoption/deployment scale>55 %
Original disclosureSource verifiedweb-8dc1ca775a3702bbbdcddbfa-reported-outcomes- Baseline
- Not disclosed in original
- Comparison Period
- Production run period, specific range not disclosed
- Measurement Scope
- Users asking Assist questions
- Limitations
- A stickiness metric, not representing answer accuracy or business benefit; user counts and sample sizes not disclosed.
Average model cost
Results reported by the source<0.20 USD/session
Original disclosureSource verifiedweb-8dc1ca775a3702bbbdcddbfa-reported-outcomes- Baseline
- Not disclosed in original
- Comparison Period
- Production run period, specific range not disclosed
- Measurement Scope
- Model invocation cost, excluding full system and operations cost
- Limitations
- Session length distribution, model mix, regional pricing, and full TCO not disclosed.
Share of input tokens served from cache
Results reported by the sourceabout 75 %
Original disclosureSource verifiedweb-8dc1ca775a3702bbbdcddbfa-reported-outcomes- Baseline
- Model cost without stable prompt caching, exact baseline not disclosed
- Comparison Period
- Production run period, specific range not disclosed
- Measurement Scope
- Input tokens and model cost
- Limitations
- The project party claims model cost dropped by more than half; no absolute comparison or traffic distribution disclosed.
Online automated evaluation sampling ratio
Adoption/deployment scale10 % sessions
Original disclosureSource verifiedweb-8dc1ca775a3702bbbdcddbfa-continuous-evaluation- Baseline
- Not disclosed in original
- Comparison Period
- Production online evaluation
- Measurement Scope
- Active sessions in CloudWatch traces
- Limitations
- Automated judge sampling ratio does not equal human acceptance coverage.
Research Verification Materials
Engineering Verification Status
Type, scope, and execution are recorded separatelyVerification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.
This section is an engineering reference design, and there is no end-to-end execution record in this library yet.
Test Plan · Not yet executed
- Verification scope
- This repository's reproduction only covers public/synthetic product docs, simulated identities, and support tickets; it does not process real tax data, execute tax filing choices, or run Taxbit's production system.
- Input Data
- Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
- Expected output
- Every answerable question has accessible citations; out-of-scope advice and unsupported questions are refused; no customer data reading exists.;The model cannot change the checked subject; cross-tenant, unauthorized, and unconfirmed writes are all blocked.;Every knowledge or prompt change can locate impact in gold sets and sampled traces, without replacing risk metrics with a single total score.
- Actual output
- Not yet executed, no actual output
- Execution Time
- Not yet executed; collection time is not used as a substitute
- Limitations and failure notes
- Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
Phased reproduction path
The complete solution has not yet been executedUse synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.
- 1
Read-only knowledge baseline
Build retrieval, citation, and refusal flows with public product docs, simulated roles, and historical questions.
Planned deliverables:Corpus inventory, version/region metadata, citation whitelist, simulated identities, and replay sets.
Suggested acceptance conditions:Every answerable question has accessible citations; out-of-scope advice and unsupported questions are refused; no customer data reading exists.
- 2
Identity and tool boundaries
Bind subject to read-only authorization checks and simulated ticket tools, inject prompt attacks and cross-organization parameters.
Planned deliverables:Tool contracts, permission matrix, attack samples, audit traces, and idempotent receipts.
Suggested acceptance conditions:The model cannot change the checked subject; cross-tenant, unauthorized, and unconfirmed writes are all blocked.
- 3
Continuous evaluation pilot
After offline replay, sample authorized pilot sessions, evaluating faithfulness, retrieval relevance, and advice boundaries separately.
Planned deliverables:Per-metric dashboards, expert review queue, approved errata, and regression records.
Suggested acceptance conditions:Every knowledge or prompt change can locate impact in gold sets and sampled traces, without replacing risk metrics with a single total score.
Evaluation and Failure Handling
Proposed Solution to Be VerifiedThe evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.
| Metrics | Measurement Method | Suggested Judgment Conditions |
|---|---|---|
| Authorization and tenant isolation | Construct similar questions across different organizations, roles, and regions, check the tool's actual subject, returned fields, and session partitioning. | The subject cannot be modified by the model; cross-tenant data is zero; unauthorized functions do not generate executable paths. |
| Retrieval relevance and answer faithfulness | Experts separately label the sources that should be retrieved and whether answers are supported by sources, avoiding merging the two into a single score. | Key facts have correctly scoped sources; retrieval errors and generation errors can be located separately. |
| Compliance boundary drift | Evaluate classification, refusal, and masking with product explanations, tax choices, mixed inducements, and sensitive identifier samples. | Tax advice and secret values are blocked per policy; legitimate form numbers are not broadly misflagged by overly strict filtering. |
| Business and cost effects | Compare support ticket transfer, first-contact resolution, expert corrections, repeat questions, latency, and full unit session cost. | Predefine the comparison period and business volume; do not treat the 55% repeat-question rate as answer accuracy. |
Questions to confirm in the next round
- What are the user base, question types, and concurrent product usage changes for the 55% who ask again the next day?
- For the classification evaluation samples with near-zero false positives and about 25% false positives, what are the sample size, definitions, and false-negative situation?
- Is there further disclosure on support ticket transfer volume, human review rate, citation failure rate, and cross-region deployment operations cost?
- How will future customer data queries constrain field-level permissions, aggregation definitions, empty results, and export capabilities?
Verification Records and Items to Be Confirmed
2026-11-07Verify production time and regions, identity and tool boundaries, RAG data sources and retrieval parameters, online evaluation, cost, and future capabilities.
The official AWS engineering article is fully readable and includes Taxbit team's own account; no independent customer acceptance materials were found.
- 55% is recorded as the next-day repeat-question rate, not accuracy.
- Below $0.20 is only model session cost, not full TCO.
- Future customer tax data Q&A is not launched; the current Agent has no read permission for that data.
- Online automated scoring and web verification do not constitute independent acceptance.
View all assertions · 7 items
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-production-scope
Complete assertion: Taxbit Assist has been running in production in the US and EU since May 2026, and uses in-region inference for EU traffic.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Disclosed by the project party; no independent acceptance or coverage data seen.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-identity-bound-tools
Complete assertion: User email, organization, and role are bound to tools by the trusted calling service; the model cannot choose the checked identity.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Full tool implementations or penetration test results not publicly disclosed.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-current-data-boundary
Complete assertion: The current Agent does not read customer tax data and only answers product knowledge; write operations are limited to the caller's own support tickets.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Future customer data Q&A remains a plan and cannot be presented as current production capability.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-retrieval-pipeline
Complete assertion: Retrieval process is 75 vector candidates, rerank 12, max 2 chunks per document, finally 5 chunks enter the model.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Parameters apply to this corpus and model; full comparison experiment set not disclosed.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-continuous-evaluation
Complete assertion: Production traces are used for online scoring, internal quality judges, tax advice classification, and expert correction loop.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Automated judges still rely on models; the original does not disclose full human consistency and long-term drift data.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Original disclosure · Source verified · web-8dc1ca775a3702bbbdcddbfa-reported-outcomes
Complete assertion: The project party claims that more than 55% of users who asked questions asked again within 24 hours, average model cost was below US$0.20 per session, and about three-quarters of input tokens came from cache.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-07
- Applicable boundaries
- Internal production analysis, no independent acceptance; repeat-question rate does not represent accuracy, model cost excludes all infrastructure and operations.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Engineering Projection · Not yet executed · web-8dc1ca775a3702bbbdcddbfa-security-insight
Complete assertion: Regulated Agents should fix identity, authorization, and citable sources outside the model, then let the model choose tools and organize answers within that boundary.
- Verification method
- No experimental validation yet
- Last Verified
- 2026-11-07
- Applicable boundaries
- This repository's engineering judgment, not yet reproduced in Taxbit's environment or an equivalent real compliance system.
- Related cases
- Taxbit Assist: binding identity, citations, and compliance boundaries to an in-product support Agent
Review record: web-8dc1ca775a3702bbbdcddbfa-audit · Full-library review records
Original research judgment and attribution
The core of this case is not tax Q&A itself, but making identity, authorization, citations, data residency, and online evaluation into mandatory boundaries outside the model, enabling knowledge Agents to enter regulated products.
Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.