Skip to content
ndStill is in development. These docs describe the v2 API as designed; the SDKs and the hosted MCP server are previews and not generally available.
Docs

How ndStill fits together

Owners, funding sources, agents, policies, mandates, credentials and events, and how a payment moves through them.

ndStill is the place where agent payments are decided. It holds no opinion about which rail an agent uses: it sits in front of all of them, applies one set of rules, and keeps one record. This page is the model everything else in the docs builds on.

The model in one picture#

Text
Owner (a person or a company, verified)
 ├─ Funding sources
 │    ├─ ndStill accounts       money held for the owner at a partner bank or custodian
 │    └─ Connected accounts     card programs, Ramp, banks, wallets, OpenAI, Anthropic, …
 ├─ Agents                      identity: keys, purpose, status, parent → child tree
 │    ├─ Policy                 budgets, limits, allow-lists, approvals, time windows
 │    ├─ Mandates               signed human instructions ("flights to SF under $600 by Friday")
 │    └─ Credentials            scoped ways to pay, minted per decision
 └─ Events
      request → decision → (approval) → payment → receipt → settlement → ledger entry
      every step signed and chained into one evidence record

Spending moves down this tree. Oversight moves up it: a budget on a team or an agent tree binds every agent under it, and a freeze on an owner stops everything.

Owners and orgs#

An owner is the verified person or business behind the agents. In the API it is an org (org_…), of kind individual or business. Members of a business org have roles (owner, admin, approver, finance, developer, viewer), and teams (team_…) group agents for showback and policy scope.

Agents can never change their own policy, mandates, limits or freeze state. Those powers belong to people in the org, and every privileged action is recorded.

Funding sources#

A funding source (fs_…) is anything an agent can spend from. There are two families:

  • ndStill accounts. Money held in the owner's name at ndStill's partner bank (and with a regulated custodian for USDC). Banking services are provided by the partner bank; ndStill is not a bank. These are for owners who want ndStill to give agents money, or who have no provider of their own.
  • Connected accounts. What the owner already uses: a card program on Stripe Issuing, Lithic or Increase; a spend platform such as Ramp or Brex; a bank API such as Mercury or Column; a USDC wallet; an AI provider key; a checkout account. ndStill connects with the owner's credentials and controls them as deeply as each provider allows.

How deeply depends on the provider. Each connection shows its control level (Authorize, Issue, or Observe & stop) and its measured time to stop. See Control levels and stop time.

An agent may use only the funding sources it has been given access to, with one marked as its default. This replaces the prototype's per-agent account list.

Agents#

An agent (agt_…) is an identity, not an account. It has a name, a purpose, a status (active, frozen or retired), signing keys, and optionally a parent. Agents have budgets and limits, not balances: the money stays in the funding source until a payment is approved.

Agents can form trees. An orchestrator can have sub-agents, and a budget on the root binds the whole tree. See Agents and agent trees.

Each agent can also have a passport: its public signing key, published in a directory, so sellers and card networks can recognize a verified agent with a known owner.

Policy, mandates and credentials#

Three things decide what an agent may pay:

What decides a payment
What it isWho sets it
PolicyStanding rules: budgets per window, per-payment limits, allow and block lists, time windows, approval lines, risk thresholds and CEL conditions. Versioned, and inherited from org → team → tree → agent.People, in the console or as YAML in git
MandateOne signed instruction for a specific purchase or series: who to pay, an amount band, an expiry, a number of uses.The person the agent works for, with a passkey
CredentialA scoped way to pay, minted for one approved decision: a single-use card, an agent token, a checkout token, a wallet permission, a bank payment order.ndStill, never the agent

The agent never holds a raw card number or a master key. It gets a credential bound to the decision, the counterparty, the amount and an expiry. Read Mandates and the policy cookbook.

How a payment moves#

Take a travel agent asked to "book a flight to San Francisco next Friday, under $600".

  1. Mandate

    The person signs the instruction in the app: airlines only, $0 to $600, expires Friday.
  2. Request

    The agent calls pay with the seller, $540 and a purpose.
  3. Decision

    ndStill runs the 11-stage pipeline: identity, go-live, freeze, funding source, counterparty, mandate match, policy rules, risk, budget, approval threshold, sign and record.
  4. Approval

    $540 is above the owner's $300 approval line, so the payment is held and the owner approves it on their phone.
  5. Credential

    The airline accepts Visa agent tokens, so ndStill requests one bound to this merchant, $540 and a one-hour expiry.
  6. Authorization

    The card authorization comes back to ndStill, matches the approved reservation, and is approved.
  7. Receipt and settlement

    Both sides get a signed receipt. Settlement posts the reserved budget at the final amount, and the ledger entry lands in Books.

The same flow applies on other rails. For a paid API, the credential step becomes an HTTP 402 challenge and the wallet signs only after the decision. For AI tokens, each model call goes through the ndStill AI proxy and stops at the cap. See the rail guides.

One budget across rails#

When a payment is approved, ndStill reserves the amount against every budget in scope at once: the agent's day, week and month, each ancestor in its tree, its team, the org, and the funding source's allowance. Either all reservations succeed or none do. That is how one budget holds across cards, tokens, stablecoins and bank transfers without races. Settlement posts the reservation at the final amount; a decline, expiry or reversal releases it. See Budgets and reservations.

What ndStill is not#

ndStill does not replace your bank, card issuer or wallet provider, and it does not take custody of funds in connected accounts. Funds in ndStill accounts sit with the partner bank or custodian in the owner's name. ndStill decides, records and stops; the rails move the money.

Key terms#

Key terms
TermMeaning
Owner, orgThe verified person or company behind the agents. An org holds agents, teams, members, policies and funding sources.
Funding sourceAnything an agent can spend from: an ndStill account, a connected card program, spend platform, bank, wallet or AI provider.
ConnectionA provider the org has linked, with its control level and measured stop time.
AgentAn identity with keys, a purpose, a status and a policy. It holds no money.
Agent treeA parent agent and its children, with budgets, policies and freezes that apply to the whole tree.
PolicyThe rules: budgets, limits, allow and block lists, time windows, approvals, risk and CEL conditions. Inherited org → team → tree → agent.
MandateA signed human instruction a payment must fit, or it's held.
CredentialA scoped way to pay minted for one decision: a single-use card, an agent token, a checkout token, a wallet permission.
Payment intentAn agent's pay() request (pi_…).
DecisionThe pipeline's signed outcome for a payment (dec_…): approve, hold or decline, with the trace.
ApprovalA held payment waiting for a person (apr_…).
FreezeThe kill switch, on any scope, on every rail.
EvidenceThe signed, hash-chained record of every step, anchored hourly.
API keyA secret an agent or a backend sends as a Bearer token: live (nds_live_…) or test (nds_test_…), optionally bound to one agent.

Coming from the first prototype#

The first ndStill prototype linked one bank rail per org and checked transfers with nine gates. The v2 design generalizes it:

Prototypev2
Org bank connection and org accountsFunding sources: ndStill accounts and any connected provider
Agent account access with a default/agents/{id}/funding-access with a default funding source
Nine gates on POST /v1/transfersEleven stages on every payment, on every rail
Per-agent capsPolicies inherited org → team → tree → agent, plus mandates
Pending approvalHeld, with routing, assurance levels and passkey signatures
Append-only audit logSigned, hash-chained evidence anchored to a public timestamp