Chio/Docs

Credit & Underwriting

Not every tool invocation is paid upfront. chio's credit system allows agents with established reputation and proper certification to operate on credit, backed by underwriting decisions, collateral bonds, and a full capital accounting ledger. This guide covers the end-to-end credit lifecycle from facility creation through bonded execution to liability markets. The CLI surface includes chio trust facility issue, chio trust bond issue, chio trust bond simulate, chio trust underwriting-decision evaluate, and chio trust underwriting-decision issue.


Credit Facilities

A credit facility is a pre-approved line of credit granted to an agent or operator. Facilities are generated by the underwriting system based on the applicant's reputation score, certifications, and runtime assurance level. Terms are captured in CreditFacilityTerms:

rust
pub struct CreditFacilityTerms {
    pub credit_limit: Money,
    pub utilization_ceiling_bps: u32,       // max % of limit usable at once
    pub reserve_ratio_bps: u32,             // collateral reserve requirement
    pub concentration_cap_bps: u32,         // max exposure to single provider
    pub ttl_seconds: u64,                   // facility lifetime
    pub capital_source: CapitalSource,      // where backing capital comes from
}

When an agent applies for credit, the underwriting system evaluates the application and returns one of three dispositions:

  • Denied: the application does not meet minimum underwriting criteria.
  • ManualReview: the application is borderline and requires human review before a facility can be granted.
  • FacilityGranted: a credit facility is created with the terms specified by the underwriting decision.

Utilization ceiling vs. credit limit

The credit_limit is the total facility size. The utilization_ceiling_bps controls how much of that limit can be drawn at any given time. A facility with a $10,000 limit and 8,000 bps (80%) ceiling allows a maximum of $8,000 in concurrent outstanding draws.

Credit Bonds

A credit bond is the collateral backing for an active credit facility. Bonds lock capital that can be seized if the agent defaults on its obligations.

rust
pub struct CreditBondTerms {
    pub facility_id: String,
    pub credit_limit: Money,
    pub collateral_amount: Money,
    pub reserve_requirement_amount: Money,
    pub outstanding_exposure_amount: Money,
    pub reserve_ratio_bps: u32,
    pub coverage_ratio_bps: u32,
}

Bonds pass through a lifecycle of states:

StateMeaning
ActiveBond is live and backing the credit facility
SupersededReplaced by a new bond (e.g., after facility amendment)
ReleasedCollateral returned after facility closure with no outstanding exposure
ImpairedCollateral partially or fully seized due to default or policy violation
ExpiredBond TTL elapsed without renewal

Bond disposition actions control transitions between states:

  • Lock: lock additional collateral into the bond
  • Hold: place a hold on bond collateral pending investigation
  • Release: release collateral back to the bond holder
  • Impair: seize collateral due to default or violation

Underwriting Decisions

The underwriting system evaluates credit applications using a combination of reputation history, certification status, and risk classification. Every decision is recorded with full reasoning for auditability.

rendering…
Underwriting pipeline: reputation + certs feed risk classification, producing a disposition.

Risk Classification

Each applicant is assigned a risk classification that determines the scrutiny applied to their credit application:

LevelMeaning
BaselineStandard risk. Normal underwriting criteria apply.
GuardedSlightly elevated risk. Additional scrutiny, lower ceilings.
ElevatedHigh risk. Reduced limits, mandatory bond, frequent re-evaluation.
CriticalSevere risk. Credit generally denied; requires exceptional justification.

Decision Outcomes

After risk classification, the underwriter produces one of four decision outcomes:

  • Approve: grant the requested facility with computed terms
  • ReduceCeiling: approve with a lower utilization ceiling than requested
  • StepUp: require additional collateral or certification before approval
  • Deny: reject the application with reason codes

Decision Policy Defaults

The default underwriting policy uses these thresholds:

ParameterDefault
Minimum receipts1
Minimum history30 days
Minimum reputation score to approve0.6
Maximum reputation score to deny0.25

Scores between thresholds

Agents with reputation scores between 0.25 and 0.6 fall into the manual review zone. Operators can customize these thresholds in their underwriting policy configuration.

Reason Codes

When a decision is not a clean approval, the underwriter attaches reason codes explaining why. There are 13 defined reason codes:

rust
pub enum UnderwritingReasonCode {
    ProbationaryHistory,           // insufficient operational history
    LowReputation,                 // composite reputation below threshold
    ImportedTrustDependency,       // reliance on external trust source
    MissingCertification,          // required cert not present
    FailedCertification,           // certification check failed
    RevokedCertification,          // certification was revoked
    MissingRuntimeAssurance,       // no runtime assurance attestation
    WeakRuntimeAssurance,          // assurance tier below minimum
    PendingSettlementExposure,     // unsettled financial exposure
    FailedSettlementExposure,      // prior settlement failure
    MeteredBillingMismatch,        // billing discrepancy detected
    DelegatedCallChain,            // delegation chain risk factor
    SharedEvidenceProofRequired,   // additional proof needed
}

Bonded Execution

Bonded execution is the mechanism that allows autonomous agents to operate independently while providing economic guarantees to counterparties. The level of autonomy an agent has is governed by its autonomy tier and control policy.

Autonomy Tiers

TierDescription
DirectHuman operator approves every invocation. No autonomous action.
DelegatedAgent operates within pre-approved parameters. Escalates when outside bounds.
AutonomousAgent operates independently within its bonded limits. No per-invocation approval.

Control Policy

Every bonded agent has a control policy that constrains its autonomy:

rust
pub struct AgentControlPolicy {
    pub kill_switch: bool,                     // immediately halt all agent activity
    pub maximum_autonomy_tier: AutonomyTier,   // highest tier this agent can reach
    pub require_locked_reserve: bool,          // must have active bond before operating
}

The kill_switch is an emergency stop that immediately halts all agent activity regardless of bonds or approvals. When require_locked_reserve is set, the agent cannot execute any tool invocations unless it has an active bond with sufficient collateral.

Execution Decisions

When a bonded agent requests a tool invocation, the system evaluates the request against the agent's bond, control policy, and current exposure to produce an execution decision:

  • Approved: invocation proceeds immediately against the agent's bond
  • RequiresBond: agent must post additional collateral before the invocation can proceed
  • Denied: invocation rejected due to kill switch, insufficient bond, or policy violation

Capital Book

The capital book is the ledger of all capital movements within the credit system. Every event (Commit, Hold, Draw, Disburse, Release, Repay, Impair) is recorded.

Event Kinds

EventDescription
CommitCapital committed to a facility or bond
HoldCapital placed on hold pending a specific invocation
DrawCapital drawn from a facility to fund an invocation
DisburseCapital disbursed to a provider after settlement
ReleaseHeld or committed capital released back to the source
RepayOutstanding draw repaid to the facility
ImpairCapital written off due to default

Capital Roles

Each capital movement involves a counterparty with a defined role:

  • OperatorTreasury: the operator's own capital pool, used for self-funded facilities
  • ExternalCapitalProvider: third-party capital provider who funds facilities for a return
  • AgentCounterparty: the agent or entity on the other side of the capital movement

Execution instructions for capital movements can require multi-sig authority chains, ensuring that high-value disbursals or impairments require approval from multiple authorized parties.

Multi-sig for impairments

Impairing a bond (seizing collateral) is a severe action. By default, impairment events require multi-sig approval from at least two authorized signers in the operator's authority chain.

Liability Market

The liability market provides insurance-like coverage for tool execution risks. Providers underwrite specific risk classes and agents can purchase coverage to protect against operational failures.

Provider Types

ProviderDescription
AdmittedCarrierLicensed insurance carrier operating in regulated markets
SurplusLineNon-admitted carrier for risks standard markets won't cover
CaptiveSelf-insurance entity owned by the insured organization
RiskPoolDecentralized pool of capital from multiple participants sharing risk

Coverage Classes

Coverage is organized into five classes, each addressing a different risk category:

  • ToolExecution: covers losses from tool invocation failures or incorrect results
  • DataBreach: covers costs arising from unauthorized data exposure during tool use
  • FinancialLoss: covers direct financial losses from agent actions
  • ProfessionalLiability: covers claims from errors in professional-grade agent outputs
  • RegulatoryResponse: covers costs of regulatory investigations or compliance actions

Coverage Lifecycle

Coverage follows a standard insurance lifecycle:

bash
Quote -> Bind -> [Active Coverage Period] -> Claim -> Adjudication -> Payout
  • Quote: provider prices the coverage based on the agent's risk profile and requested class
  • Bind: agent accepts the quote, premium is collected, coverage begins
  • Claim: agent or operator files a claim against the coverage after a covered event
  • Adjudication: provider evaluates the claim against receipts and policy terms
  • Payout: approved claims are settled through the standard settlement rails

Open Market

The open market uses economic bonds to incentivize honest participation in the chio ecosystem. Participants post bonds that can be slashed if they violate market rules.

Bond Classes

ClassPurpose
PublicationBond posted when publishing a tool or service listing. Slashed for fraudulent descriptions.
ListingBond posted when listing availability. Slashed for service unavailability.
DisputeBond posted when filing a dispute. Slashed if the dispute is frivolous.

Penalty Actions

When a market rule is violated, the system can apply penalty actions against the violator's bond:

  • HoldBond: freeze the bond pending investigation. Capital cannot be withdrawn but is not yet seized.
  • SlashBond: seize part or all of the bond as a penalty. Slashed capital is distributed to the affected counterparty.
  • ReverseSlash: reverse a previous slash if the original decision is overturned on appeal.

Economic incentive design

The bond-and-slash mechanism creates a credible economic commitment. Participants who behave honestly retain their bonds and earn reputation. Participants who cheat lose their bonds. The goal is to make honest participation the economically rational strategy.

Summary

ConceptDescription
Credit FacilityPre-approved credit line with utilization ceiling, reserve ratio, and concentration cap
Credit BondCollateral backing a facility, with Active/Superseded/Released/Impaired/Expired lifecycle
UnderwritingRisk classification (Baseline to Critical) and decision outcomes (Approve, ReduceCeiling, StepUp, Deny)
Bonded ExecutionAutonomy tiers (Direct, Delegated, Autonomous) with kill switch and reserve controls
Capital BookFull ledger of Commit, Hold, Draw, Disburse, Release, Repay, Impair events
Liability MarketInsurance coverage (ToolExecution, DataBreach, FinancialLoss, ProfessionalLiability, RegulatoryResponse)
Open MarketPublication/Listing/Dispute bonds with HoldBond, SlashBond, and ReverseSlash penalties

Next Steps

  • Settlement · how settled capital actually moves across rails
  • CLI Reference · commands for managing facilities, bonds, and underwriting
  • Agent Passport · the reputation system that feeds underwriting decisions
Credit & Underwriting · Chio Docs