Skip to content
Setu সেতু Docs
Englishবাংলা中文

Getting started

  • What is Setu
  • Roles and sign-in
  • Creating your account
  • Simulated sandbox
  • Two-minute tour

Buyer guide

  • Buyer verification requirements
  • The dashboard
  • Creating an order
  • Deal detail and milestones
  • Funding the escrow
  • Releasing payments and approvals
  • Cash flow, alerts and what-if
  • Financing comparison and applying
  • Order analysis
  • Landed cost calculator, monthly summary and supplier scorecard
  • Documents and the hidden-text reveal
  • Suppliers and KYB badges
  • USD vs CNY payment and FX rate lock
  • Chat assistant
  • Check a suspicious email
  • Credit records and signed receipts
  • Settings, language and team members

Supplier guide

  • Supplier verification requirements (中文)
  • Supplier portal overview
  • Confirm the payment milestones
  • Upload documents
  • Payments received
  • Change your payout account
  • Why a document needs attention
  • Your company team

Admin guide

  • Admin console overview
  • Audit log and chain verification
  • Exporting the operation log
  • Risk decisions and policy
  • Document registry and duplicate detection
  • Privacy dashboard
  • Security and injection events
  • Admin: reviewing verifications
  • Knowledge base re-index
  • Evaluation harness and results
  • Demo sandboxes and reset

Judge guide

  • Five-minute guide
  • Guided demo
  • Playgrounds and scam simulator
  • Verify the audit log
  • How each requirement is met

Security & trust

  • Why code decides, not the AI
  • Permission tiers 0 to 3
  • Privacy masking
  • Documents and emails are data, not instructions
  • The signed, hash-chained audit log
  • What is simulated and what is real
  • Why Setu asks for these details

FAQ

  • Frequently asked questions

Glossary

  • Glossary

Loading…

  1. Documentation
  2. ›
  3. Security & trust
  4. ›
  5. Why code decides, not the AI

Why code decides, not the AI

The AI explains in plain language. Deterministic code calculates every number and makes every decision.

BuyerSupplierAdminJudgeLast updated 2026-10-20

What it is

Setu uses one rule above all others: the AI explains, code executes. A language model (the AI behind the chat) can read results and put them into plain words. It never calculates a cost, sets a risk level or moves money.

No model was trained for Setu. It calls ready-made models, and every call goes through one gateway in the code.

Who uses it

Buyer Supplier Admin Judge This page is for everyone who wants to know why they can trust the numbers on screen.

What code does and what the AI does

QuestionWho answersWhy
What is the landed cost of this order?Deterministic codeSame inputs always give the same answer.
What is my margin or cash gap?Deterministic codeMoney uses exact decimal arithmetic, never floating point.
What is the exchange rate used?Deterministic codeRates come from stored rate tables.
Is this supplier verified (KYB)?Deterministic codeFixed checks with fixed weights.
How risky is this document?Deterministic codeThe fraud score comes from cross-checks and detectors.
Which approval does this payment need?Deterministic codeThe tier engine applies the rules in risk.yaml.
Explain this in simple Bangla.The AIWording only, using facts the code returned.

Landed cost

Landed cost is the full price of an imported good once it is in your warehouse. It adds freight, duty, tax and clearing charges to the supplier price.

What this means in practice

  • The AI only gets read-only tools. In code, the highest tier it can run on its own is Tier 0.
  • If the AI wants something done, it can only queue a request. A person then decides.
  • Result cards in the chat show the values the tools returned. The AI writes the explanation around them.
  • The AI cannot raise or lower a tier. Tiers are computed from database facts, and prompts, documents or the browser cannot change them.
  • Every action, by a person, the AI or the system, is written to a signed audit log.

Related security notes

Security

The permission rules are enforced in the backend, not in a prompt. Even a perfectly worded attack message cannot make the AI release a payment. See Permission tiers and Injection defence.

Related pages

  • Permission tiers
  • Documents and emails are data
  • What is simulated
  • Glossary
← PreviousHow each requirement is metNext →Permission tiers 0 to 3

Was this page helpful?

← Documentation

On this page

  • What it is
  • Who uses it
  • What code does and what the AI does
  • What this means in practice
  • Related security notes
  • Related pages