An AI Procurement Assistant That Never Approves Its Own Purchase
A supplier attachment says to ignore the spending limit and use a new bank account. To a purchasing officer, that is a reason to investigate. To an unrestricted agent, it could become an instruction. Approval authority must live outside the model.
How can an AI procurement assistant preserve purchasing authority?
Retrieve only the purchase request, supplier records and contract terms the requester may access. Use AI to summarize evidence and identify missing information, while deterministic rules choose the required approvers. A separate server-side approval service verifies authority against the exact request revision before any ERP write. Supplier documents remain untrusted input. The assistant can prepare a recommendation, but cannot approve purchases, alter supplier banking details or grant itself new permissions.
Technical details
Evidence can cross the boundary. Authority cannot.
Read access, reasoning, approval state and ERP execution use separate permissions. A resumed agent run does not establish purchasing authorization.
READ AND PREPAREBigQueryScoped historical spend context
Provide scoped historical spend context, not transactional approval authority.
Vertex AIEvidence summary and missing information
Summarize permitted purchasing evidence.
LangGraphCoordinate recommendation and review states
Coordinate proposal and human-review states.
Supplier documents are untrusted input. None of these steps grants purchasing authority.
▥SERVER-SIDE AUTHORIZATIONCloud RunRetrieval, policy and authorization services
Host retrieval and authorization services.
Approval stateActor + exact request revision + current policy. Durable transactional storage is separate from BigQuery.
EXECUTE ONLY AFTER APPROVALERP APIsScoped execution identity and stored receipt
Read authoritative requests and write only after verified authorization.
Authorized purchaser Model output is not approval
Changed supplier, amount or terms invalidate the existing authorization.
Simplified implementation architecture. Open a technology to inspect its responsibility.
Approval revisions and execution identity
An interrupted agent run is not authorization. Persist audit events for source versions, model output, rule evaluation, approver identity and execution receipt. Use stable request keys and query ERP receipts after ambiguous timeouts. Monitor stalled approvals, failed authorization attempts and repeated execution attempts; rotate scoped credentials.
Attempt the purchase without a valid authorization
Test malicious documents, cross-business-unit retrieval, self-approval, expired roles, changed requests and timeouts after ERP acceptance. Pilot read-only recommendations before enabling any approved write path. Keep a manual purchasing route and validate audit recovery.
purchasing authority review
Preparation and purchasing authority belong to different actors
The assistant can gather contract terms and point out a missing delivery date. The purchasing officer still needs to authorize the request that will reach the ERP. A supplier attachment cannot change that division of responsibility.
Permitted preparation
Build an evidence bundle with bounded tools
A request event starts a LangGraph run on Cloud Run. Server-side filters enforce business unit and supplier permissions before retrieval. Read-only tools return approved contract excerpts and current ERP references; BigQuery provides historical context with visible freshness.
Validate the recommendation independently
Vertex AI prepares missing-field questions and a comparison with citations. Treat supplier files as data, isolate extracted text from instructions and allowlist tool arguments. Validate supplier status, budget fields and approval thresholds in code. The model cannot invent an approver or execute a purchase.
Verified human authority
Bind authorization to the exact request
A durable transactional store, for approval state, persists request revision, approval state and authorized actor. Verify approver role and separation of duties server-side. Any change to amount, supplier or terms invalidates approval. Only a separate execution identity can submit the approved payload to the ERP.
Approval is a verified decision about an exact request revision. It is not a convenient place to pause a model and assume the next click grants authority.
Readiness, decision time and permission failures
Purchasing needs complete requests and defensible decisions. Review time saved beside recommendation corrections and blocked execution attempts. No approval speed or purchasing savings are claimed.
Decision readiness
Request completeness
Requests with all required fields at first review divided by submitted requests.
Approval turnaround
Complete request submission to authorized decision, excluding and separately reporting missing-information time.
Recommendation evidence
Recommendation correction rate
Reviewed recommendations needing evidence or policy corrections divided by reviewed recommendations.
Authority enforcement
Unauthorized execution attempts
Blocked requests failing approval or revision checks, investigated individually before rollout expands.
Interactive demo
See the boundary the purchasing agent cannot cross
The evidence dossier and approval authority occupy separate lanes. Inspect a supplier instruction to see why document text cannot authorize an ERP write.
Local interactive demo
Purchasing permission test
Fictional records
PR-401 / revision1
AuthorizationNot current
PREPARE
Recommendation
Gather permitted request and contract evidence.
AUTHORIZE
Purchasing decision
Approval binds the exact request revision.
EXECUTE
ERP handoff
A separate service verifies current approval.
Switch identities to test the boundary. The assistant cannot approve its own recommendation.
No. The assistant has no approval authority. Any permitted automatic policy path would need an independently authorized design and is outside this scenario.
Why is a LangGraph pause insufficient?
Resuming a graph does not prove the actor has purchasing authority. The execution service must verify actor, request revision and policy independently.
Can supplier documents change the tool permissions?
No. Tool permissions and allowed operations are configured server-side. Document text cannot authorize new access or purchase execution.
Where is the final purchasing record?
The ERP remains authoritative for submitted purchases. The workflow retains the proposal, approval and ERP receipt for traceability.
Draw the boundary around your purchasing authority
Work through one request that changed after approval. We can map who may recommend, who may authorize and which changes must invalidate the decision before anything reaches the ERP.