bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 7쪽 중 4쪽
very major agent protocol while maintaining their unique capabilities.
3.3.4 Programmable Micropayment Channels
Direct money transfers work for occasional payments but fail catastrophically for agent patterns. Agents make thousands of tiny, frequent calls—messages, API requests, inference queries. Traditional payments would cost more in fees than value transferred. State channels transform this impossible economy into a profitable reality.
A state channel enables two parties to transact off chain with just two on chain transactions: open to lock funds and close to settle. Between these anchors, parties can exchange thousands of signed updates instantly. This yields high throughput, low latency, and fees amortized across up to millions of interactions. AI inference requiring sub hundred millisecond latency at $1 per million requests becomes economically viable only through programmable micropayment channels.
3.3.4.1 Channel Variants for Every Pattern
Kite implements multiple channel types optimized for different interaction patterns:
Unidirectional channels
flow value from user to merchant for simple metering. Perfect for API consumption, data feeds, and inference requests where value flows one direction.
Bidirectional channels
enable refunds, credits, and two way value exchange. Services can pay agents for data, agents can receive rebates, errors trigger automatic refunds.
Programmable escrow channels
embed custom logic in state transitions. EVM developers write arbitrary rules: conditional releases, multi party splits, time locked vesting. The channel becomes a mini smart contract.
Virtual channels
route value through intermediaries without new on chain contracts. Agent A pays Agent C through hub B, enabling network effects without setup overhead.
Privacy preserving channels
keep interactions confidential. Only channel opens and closes appear on chain. Thousands of micropayments remain private between participants, protecting competitive intelligence and usage patterns.
Net effect: every message becomes a payment with sub–cent precision, instant finality, and minimal on chain footprint. Perfect for agent pay per use and streaming economics.
3.3.4.2 How State Channel Limitations Become Advantages in Agent Economy
State channels carry known limitations from their Ethereum origins. But agent use patterns transform these bugs into features.
Open/Close Channel Overhead
Traditional users rarely open and close channels, making setup costs prohibitive. But agents send hundreds of inferences to the same service over minutes. Setup costs amortize perfectly across concentrated bursts of activity. The "overhead" becomes negligible.
Liveness Assumption
Channels assume participants stay online to contest disputes. Human users go offline unpredictably,but professional services with reputation at stake won’t risk fraud for micropayments. It is therefore in the best interests of these services to maintain high availability.
Griefing Attacks
Malicious participants have the ability to force expensive dispute responses. But in Kite, agents and services maintain reputation scores. Griefing is therefore economically irrational, as it destroys reputation for minimal gain.
Predefined Participant Sets
Channel membership cannot change without closing the channel on chain. But agent interactions naturally have fixed participants, so the inability to change participants on an active channel only serves to secure agent payments further. User, agent, service—the relationships are determined and fixed at task initiation.
Parallel Transaction Processing
Channels process updates sequentially, working best for turn based applications. Agent interactions are inherently turn based: request, response, request. The limitation perfectly matches the use case.
3.3.5 Comparative Analysis: Cost and Latency Advantages
The architectural innovations within Kite, specifically Programmable Micropayment Channels and the Dedicated Stablecoin Payment Lane in the future, present a paradigm shift away from the economic and performance limitations of traditional blockchain payment systems. This section provides a comparative analysis focusing on two critical metrics: cost and latency.
3.3.5.1 Programmable Micropayment Channels
Micropayment channels fundamentally transform the economics of blockchain transactions by decoupling on–chain settlement from off–chain state progression. This separation enables scalability and cost efficiency that traditional Layer–1 architectures cannot achieve.
Cost Analysis Qualitative Advantage:
Conventional Layer–1 blockchains impose a per-transaction cost model—every payment, regardless of value, must be individually broadcast and confirmed on–chain, incurring a full transaction fee (gas). For high–frequency or low–value transactions, this model quickly becomes prohibitive, as fees often exceed the value being transferred.
Kite’s architecture replaces this with an
amortized cost model
. Channels incur on–chain fees only twice: once when the channel is opened and once when it is closed. All intermediate interactions occur off–chain as cryptographically signed state updates with near–zero computational overhead. This structure collapses the cost curve, allowing millions of micro–interactions to be settled economically under a single pair of on–chain transactions.
Quantitative Estimation Conventional On-Chain Transactions
•
Cost per payment:
Volatile and congestion–dependent, typically ranging between $0.10 and $50.00+.
•
Implication:
Sub–dollar payments become uneconomical; transaction fees often exceed principal value, rendering micropayments impractical on most Layer–1 networks.
Kite Micropayment Channel
•
On-Chain Cost:
Fixed, one–time cost to open and close a channel (approximately $0.01 on an optimized network).
•
Off-Chain Cost:
Effectively $0 per transfer, limited only by minimal local signing computation.
•
Amortized Cost per Payment:
For one million off–chain payments per channel, the effective cost per transaction becomes: $0.01 / 1,000,000 = $0.00000001
• This model enables economically viable, real–time micropayments and streaming interactions, previously unattainable under traditional blockchain economics.
Latency Analysis
Micropayment channels not only reduce cost but also redefine the temporal dynamics of transaction finality. Traditional blockchains are bound by block confirmation latency and probabilistic finality. A transaction is considered settled only after inclusion in a block and sufficient subsequent confirmations to prevent reorganization. This process, dictated by global consensus protocols, introduces unavoidable delays measured in seconds or even minutes.
In contrast, Kite’s off–chain channels achieve deterministic and near–instantaneous settlement. State updates are peer–to–peer messages validated through cryptographic signatures rather than networkwide consensus. Each update’s correctness is self–evident, bounded only by network round–trip time between participants. The result is a transactional experience that operates at machine speed rather than blockchain cadence.
Estimation System
Latency Characteristics
Typical Finality
Traditional Blockchains
Dependent on confirmation depth; inherently probabilistic.
2 seconds – several minutes
Kite Micropayment Channels
Peer–to–peer signature validation; deterministic finality between parties.
less than 100 milliseconds
Such sub–100 millisecond responsiveness enables interactive, streaming, and real–time economic models, allowing autonomous agents to transact continuously without perceptible delay.
More details on state channel and the latency analysis can be found in
Link to paper
.
3.4 Security with Programmable Trust
The promise of autonomous agents collapses without cryptographic security guarantees. Users cannot delegate real authority if agent compromise means unbounded loss. Services cannot accept agent requests without verifiable authorization. Regulators cannot approve agent operations without auditable compliance. Kite’s security architecture provides mathematical certainty where traditional systems offer only promises.
3.4.1 Core Cryptographic Components
The Kite protocol achieves unbreakable security through three interlocking cryptographic primitives that create a complete chain of authorization from user intent to agent action.
3.4.1.1 Standing Intent: The Root of Authority
The Standing Intent (SI) represents the user’s cryptographically signed declaration of what an agent may do. This isn’t a policy document or configuration file; it’s a mathematical proof of authorization that cannot be forged or exceeded.
SI = sign_user (
iss: user_address, // Issuer: the authorizing user
sub: agent_did, // Subject: the authorized agent
caps: { // Capabilities: hard limits
max_tx: 100, // Maximum per transaction
max_daily: 1000 // Maximum daily aggregate
},
exp: timestamp // Expiration: automatic revocation
)
The Standing Intent signed with the user’s private key becomes the immutable root of trust. Every subsequent operation must trace back to a valid SI. The capabilities define mathematical boundaries that cannot be exceeded regardless of agent behavior, model hallucination, or service compromise. The expiration ensures forgotten authorizations cannot persist indefinitely.
3.4.1.2 Delegation Token: Agent Authorization
The Delegation Token (DT) enables agents to authorize specific sessions for particular operations without exposing their permanent credentials:
DT = sign_agent(
iss: agent_did, // Issuer: the delegating agent
sub: session_pubkey, // Subject: the session key
intent_hash: H(SI), // Link: hash of Standing Intent
operation: op_details, // Scope: specific operation
exp: now + 60s // Expiration: short lived
)
The delegation token cryptographically proves the agent authorized this session for this operation within the Standing Intent’s boundaries. The hash linkage ensures the agent cannot exceed user defined limits. The short expiration minimizes exposure from compromised sessions. The operation scope prevents session reuse for unauthorized actions.
3.4.1.3 Session Signature: Execution Proof
The Session Signature (SS) provides the final cryptographic proof for transaction execution:
SS = sign_session(
tx_details, // Complete transaction data
nonce, // Replay prevention
challenge // Freshness proof
)
Services verify all three signatures before accepting operations. The Standing Intent proves user authorization. The Delegation Token proves agent delegation. The Session Signature proves current execution. This triple verification makes unauthorized actions cryptographically impossible rather than merely prohibited, assuming blockchain safety guarantees are met.
3.4.2 Provable Security Properties
The protocol provides mathematical guarantees about system behavior under adversarial conditions, transforming security from trust based to proof based.
Theorem 1: Bounded Loss
Theorem 1
(Multi–provider bound)
.
Let a Standing Intent SI be issued with capabilities C (including per–transaction and per–day limits) and duration D (days). Assume N authorized providers. At provider i, the daily cap is Ci.max_daily and the SI expires after Di ≤ D days. Then the maximum extractable value under complete agent compromise satisfies
If a global mechanism also caps aggregate daily spend by C.max_daily_global, then
Proof sketch. Each transaction must carry a valid, non–expired SI. Provider–side enforcement guarantees that no transaction exceeds Ci.max_tx and that the day’s aggregate at provider i does not exceed Ci.max_daily. Since SI at provider i expires after Di days, total extraction at provider i is bounded by Ci.max_daily Di. Summing over i = 1, . . . , N yields the first inequality. If a global mechanism additionally enforces the per–day aggregate cap C.max_daily_global, then over D days the total is at most C.max_daily_global D. Taking the minimum of these independent bounds gives the second inequality.
Corollary 1
(Single–provider)
.
For N = 1 with daily cap C.max_daily and duration D,
Interpretation.
This yields precise risk quantification. For example, an authorization with a $100 daily cap for D = 30 days implies worst–case exposure of at most $3,000, even under full agent compromise.
Theorem 2: Unforgeability
Theorem 2.
Without access to the user’s private key, an adversary cannot create a valid SI for unauthorized agents.
Proof sketch. Standing Intent validity requires signature verification against the user’s public key (e.g., ECDSA or EdDSA). Under the standard EUF–CMA assumption, an adversary without the private key cannot produce a valid signature on a new SI with non–negligible probability; observing prior intents, transcripts, or compromised agents does not enable minting new authorizations.
Additional Security Properties
The additional security properties include:
Forward Secrecy
. Compromising a session key reveals only that session’s operations; past and future sessions remain secure due to independent key generation.
Principle of Least Privilege
. Each layer of delegation reduces authority: sessions have less power than agents, agents less than users. Authority only flows downward.
Automatic Expiration
. All authorizations include expiration timestamps. Forgotten delegations cannot persist indefinitely; time becomes an automatic revocation mechanism.
Non-Repudiation
. Cryptographic signatures provide undeniable proof of authorization. Users cannot deny authorizing agents, agents cannot deny authorizing sessions, and sessions cannot deny executing transactions.
3.4.3 Revocation Mechanism
Authorization without revocation is incomplete security. The protocol implements a comprehensive revocation system with multiple enforcement layers ensuring compromised or misbehaving agents cannot continue operating.
3.4.3.1 Immediate Local Revocation
Users broadcast revocation messages to Kite Hub, which instantly propagates to all registered providers. This peer to peer propagation ensures near instantaneous revocation without waiting for blockchain confirmation. Services receiving revocation notices immediately reject all requests from revoked agents.
The revocation message contains:
• Agent identifier being revoked
• Revocation timestamp
• User signature proving authority
• Optional reason code for analytics
Network effects amplify revocation speed. Popular services with many connections propagate faster. Critical services prioritize revocation messages. The entire network typically learns of revocations within seconds.
3.4.3.2 Cryptographic Revocation
Users sign revocation certificates that providers verify against:
RC = sign_user (
action: "revoke",
agent: agent_did,
standing_intent: SI_hash,
timestamp: now,
permanent: true/false
)
Services check revocation certificates before accepting requests. Cached certificates persist across restarts. Permanent revocations cannot be reversed, providing strong security guarantees.
3.4.3.3 Economic Revocation
Slashing conditions in agent bonds create economic incentives against continued operation post revocation:
Agent Bonds
: Agents stake tokens as collateral for good behavior. Bonds are proportional to authorization limits, creating aligned incentives.
Slashing Triggers
: Operating after revocation triggers automatic slashing. The protocol detects post revocation transactions and burns staked bonds.
Reputation Impact
: Slashed agents suffer permanent reputation damage. Future authorizations require higher bonds. Services may refuse slashed agents entirely.
Distribution
: Slashed funds are distributed to affected parties. Users recover losses from misbehaving agents. Services receive compensation for processing invalid requests.
This economic layer ensures that even if cryptographic and network revocations fail, agents have strong financial incentives to respect revocations. The cost of ignoring revocation exceeds any potential gain from continued operation.
3.4.3.4 Graceful Degradation in Adversarial Conditions
The revocation system degrades gracefully under various failure modes:
Network Partition
: Local revocation continues within network segments. Cryptographic certificates provide eventual consistency.
Hub Failure
: Peer to peer propagation continues without central coordination. Services share revocation information directly.
Blockchain Congestion
: Off chain revocation mechanisms operate independently. On chain slashing provides eventual enforcement.
Service Offline
: Cached revocations persist. Services enforce revocations immediately upon restart.
This multi layer approach ensures revocation remains effective even under adversarial conditions or system failures. Users maintain ultimate control over their agents regardless of infrastructure state.
4. Agent Flows
The lifecycle of agent interactions encompasses three critical phases: authorization establishment, continuous communication, and value exchange through payments. Each phase builds on cryptographic foundations while maintaining intuitive developer experiences and user control.
4.1 Agent Authorization Flow
Authorization transforms human identity into agent capability through a carefully orchestrated flow that bridges traditional web authentication with blockchain settlement.
4.1.1 The Authorization Challenge
The flow begins when an agent attempts to access a service without valid credentials. The service returns a 401 Unauthorized response, indicating required authentication methods. This triggers the authorization sequence that converts one time human authentication into persistent agent capability.
Fig. 5: Illustration of Agent Authorization Flow
Key insight: Gmail/OAuth proves the user’s web identity (represented as did:kite_chain_id:claude:scott for example, bundling Claude App with Scott’s Gmail ID). The Kite session token transforms this one time proof into a time bounded, policy guarded capability the agent can use safely without repeatedly exposing the user’s primary credentials.
4.1.2 Authorization Actors and Sequence
Four actors participate in the authorization flow:
•
Agent
(e.g., Claude): The AI system requesting service access
•
Service
(MCP server or service agent): The resource being accessed
•
Web Credential Provider
(Gmail): The identity verification source
•
Kite Platform and Chain
: The authorization and settlement layer The authorization sequence proceeds through six critical steps:
Step 1: Initial Request Failure
The agent calls a service without a valid token or with an expired one. The service replies with 401 Unauthorized, initiating the authorization process.
Step 2: Discovery Phase
The service indicates it requires web credentials and points the agent to Gmail or other supported providers. The agent retrieves the authorization server metadata through standard discovery mechanisms.
Step 3: OAuth Authentication
Standard OAuth 2.1 flow executes with Gmail. The user signs in and provides consent. The agent performs the token request and receives an access token bound to the agent application, user’s Gmail identity, and redirect details. This creates cryptographic proof that a real human authorized this specific agent.
Step 4: Session Token Registration
After obtaining web credentials, the agent generates a local session key and registers a session token with Kite Platform and Chain. This registration binds:
• Agent and application identity
• Scopes and allowed operations
• Quotas and time to live (TTL)
• Proof chain back to user authorization
The session private key never leaves the local environment. A DID session registration call ensures the session is registered, linked, and recognizable by other services across the network.
Step 5: Service Retry
The agent retries the original service call, now presenting the session token signed by프로젝트로 돌아가기