Kite 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 7쪽 중 5쪽

the ephemeral session key. Step 6: Verification and Execution The service verifies the token and checks it against Kite’s registry and policies. If the token is valid, policies and quotas pass, and the token falls within its time window, the service executes the request and returns a successful response. 4.1.3 JWT Token Structure When a session key is authorized and created, a corresponding JWT token encapsulates all necessary authorization information: { "agent_did": "did:kite:alice.eth/chatgpt/assistant-v1", "apps ": ["chatGPT" , "cursor"], "timestamps": { "created_at " : 1704067200, "expires_at " : 1704070800 }, "proof_chain " : "session->agent->user", "optional": { "user " : "did:kite:alice.eth" , "reputation_score " : 850, "allowed_actions": ["read" , "write" , "pay"] } } Once created, subsequent calls to any service in the network contain both the JWT token and the session public key used for encryption. This dual credential system ensures both authorization and authenticity. 4.2 Agent Reputation and Trust Accumulation Existing blockchains treat all accounts as equals. A newly created address possesses identical capabilities to one with years of legitimate history. This egalitarian approach fails catastrophically for agent systems where behavioral history should determine authorization scope. 4.2.1 Trust Dynamics for Agent Systems Agent systems require sophisticated trust dynamics that traditional blockchains cannot provide: Progressive Authorization : New agents must start with minimal permissions, perhaps $10 daily limits and restricted service access. Each successful operation contributes to reputation scores, automatically expanding capabilities. Behavioral Adjustment : Successful operations should increase authorization over time. A reliable agent might see limits increase from $10 to $100 to $1,000 as trust accumulates. Conversely, violations should trigger automatic constraint tightening, reducing limits or requiring additional verification. Trust Portability : Trust must transfer across services. An agent with established reputation on one platform should bootstrap trust on new platforms without starting from zero. Verification Economics : Without native reputation, every agent interaction starts from zero trust, forcing expensive verification for routine operations. This overhead makes micropayments economically impossible. 4.2.2 Proof Chain Architecture Kite provides a complete proof chain from session to agent to user to reputation, all verified by credited authorities. This chain enables instant trust verification without repeated authentication. Service providers and users leverage this proof chain to make authorization decisions based on verifiable history rather than blind trust. For example, a user might grant: • Read access to agents with reputation > 100 • Write access to agents with reputation > 500 • Payment authority to agents with reputation > 750 • Unlimited access to agents with reputation > 900 This graduated trust model enables safe progressive autonomy while maintaining security. Fig. 6: Illustration of Kite’s Proof Chain Architecture for Traceability and Accountability 4.3 Agent Communication Flow Human transactions occur in isolation. Agent operations require continuous communication and coordination. This fundamental difference demands native support for persistent connections, multi party coordination, and verifiable message exchange. 4.3.1 Agent to Agent Messaging (A2A) Encrypted channels enable negotiation, discovery, and coordination without exposing strategies or private information. The A2A protocol provides structured communication through Agent Cards that serve as the source of truth for capabilities and endpoints. Agent Card Structure : AgentCard { agent_did: "did:kite:alice.eth/gpt/trader" , capabilities: ["streaming" , "push_notifications"], security_schemes: ["JWT" , "session_key"], endpoints: { primary: "wss://agent.example.com", fallback: "https://agent.example.com/api" }, auth_methods: ["oauth" , "did_auth"], session_scheme: "JWT + session_public_key" } Peers fetch Agent Cards to learn capabilities and support security schemes. The card declares endpoint URLs, authentication methods, and method availability. Most critically, it includes the Agent DID and session security scheme so any A2A compatible peer understands how to validate session scoped credentials. 4.3.2 Service Level Agreements Fig. 7: SLA of Kite AI Programmable contracts enforce response times, availability guarantees, and performance metrics with automatic penalties. Unlike traditional SLAs based on legal enforcement, these execute automatically through smart contracts: • Response Time : Service must respond within 100ms or face automatic penalties • Availability : 99.9% uptime with pro rata refunds for downtime • Accuracy : Error rates below 0.1% or reputation slashing • Throughput : Guaranteed 1,000 requests per second minimum These programmable SLAs transform vague promises into code as law guarantees. Those SLA metrics:latency, uptime, accuracy, throughput,are measured off–chain by service telemetry and monitoring. To make them enforceable on–chain, an oracle submits signed attestations (or zk/TEE proofs) that translate the off–chain readings into on–chain facts. Contracts then evaluate those oracle reports to trigger refunds, penalties, or reputation slashing. 4.3.3 Reputation Networks Persistent identity and performance tracking enables trust building across multiple interactions and services. Every interaction contributes to global reputation: • Successful payments increase scores • Fast responses boost reputation • Failed deliveries decrease trust • SLA violations trigger penalties Reputation becomes portable across the entire network, solving the cold start problem where new relationships begin from zero trust. 4.4 Agent Payment Flow Traditional payment rails were built for humans; Kite reimagines them for agents. In Kite’s system, agents open lightweight state channels with services, where each interaction carries a cryptographically signed micro–voucher. A single channel close nets all balances on–chain, amortizing fees across millions of calls. This architecture enables genuine micropayments; around $0.000001 per message; alongside continuous, per–second or per–token streaming payments. Smart accounts and session keys enforce automatic quotas and instant revocation. The result is real–time, usage–based pricing that behaves like network packets rather than monthly billing cycles. 4.4.1 Channel Opening The smart account deposits a limit (e.g., $50) into the channel contract, recording: { merchant_did: "did:kite:service.ai/api" , session_did: "did:kite:alice.eth/gpt/session-xyz" , expiry: 1704070800, challenge_window: 3600 // 1 hour dispute period } This deposit acts as a bond for honest behavior. Both parties collectively sign a state update to initialize the channel’s state. After initialization, they can transact quickly and freely off chain without blockchain overhead. 4.4.2 Pay Per Interaction (Off Chain) Each message or API call carries a voucher signed by the session key: { channel_id: "0xchan... " , cumulative_amount: "10.523 " , // Running total in USDC nonce: 4567, // Monotonic counter timestamp: 1704068000, signature: "0xsig... " } The channel tracks old state and new state, requiring all participants to agree on state changes. The merchant accepts work if the voucher validates and falls within quota and TTL. Streaming uses many small increments. Policies including spend caps, allowlists, and rolling windows are enforced locally by the Kite sidecar before voucher production. 4.4.3 Channel Settlement Channels close through either cooperative or disputed paths: Cooperative Close (Happy Path) : Parties co–sign the final state and submit once. Unused funds immediately return to the user. Gas costs are minimal. Settlement is instant. Disputed Close : Either party posts their latest signed state to the blockchain. The counterparty can challenge within the window by presenting a newer state, ensuring only the most recent update settles. If either party misbehaves, the other can trigger the on chain contract to close the channel and distribute funds. Common dispute scenarios include: • Participants going offline and failing to propose state transitions • Participants refusing to co–sign valid state updates • Participants attempting finalization with outdated states • Participants proposing invalid state transitions This dispute mechanism provides trustlessness, ensuring honest parties can exit deposits at any point regardless of counterparty behavior. The blockchain serves as the ultimate arbiter, guaranteeing that honest behavior is always rewarded and malicious behavior always punished. 4.4.4 Economic Transformation This payment architecture enables an economic model impossible with traditional infrastructure: Granular Pricing : Services price at the level of individual API calls, inference tokens, or compute milliseconds. A conversation might cost $0.02 in language model inference, $0.001 in embedding generation, and $0.0001 in storage. Real Time Economics : Prices adjust dynamically based on load, priority, and resource availability. Peak hours might cost more. Premium models command higher rates. Urgent requests pay priority fees. Automatic Budgets : Agents operate within cryptographically enforced spending limits. When budgets approach limits, agents automatically throttle or halt operations. Instant Settlement : No waiting for monthly bills or reconciliation. Every interaction settles immediately. Services receive payment instantly. Users see real time spending. Shifting from billing cycles to packet–level economics unlocks models legacy rails can’t support: every message settles as a payment, every payment is programmable, and every program is verifiable on–chain. This is the economic base layer for autonomous agents. 5. Comparison With Existing Approaches While various projects attempt to address pieces of the agent payment puzzle, Kite provides the first complete infrastructure designed from first principles for autonomous agent operations. Understanding how we surpass existing approaches illuminates why partial solutions cannot enable the agent economy. 5.1 Beyond Tempo: From Payments-First to Agent-Native Tempo represents the current state–of–the–art in blockchain payment optimization, yet it remains fundamentally limited by human–centric design assumptions. While Tempo achieves improvements in payment efficiency, Kite delivers the agent–native infrastructure required for autonomous operations. Where Tempo Stops, Kite Begins : Tempo optimizes for human–initiated payments with stablecoin fees and dedicated lanes. This solves important problems but misses the fundamental requirements of agent systems. Kite goes dramatically further: Hierarchical Identity Architecture : While Tempo treats all actors equally, Kite implements three–tier identity (user → agent → session) with cryptographic delegation. This isn’t a feature addition; it’s a fundamental reimagining of how authority flows in autonomous systems. Programmable Constraint Enforcement : Tempo assumes humans evaluate each transaction. Kite recognizes that agents will hallucinate, err, and occasionally malfunction. Our smart contract constraints provide mathematical guarantees that agents cannot exceed defined boundaries, regardless of model state or compromise. Native Agent Transaction Types : Tempo processes payments. Kite embeds computation requests, API calls, and data queries directly in transactions. Every message becomes a billable event with cryptographic proof of authorization and delivery. Protocol-Level Integration : While Tempo remains isolated, Kite provides native compatibility with AP2, A2A, MCP, OAuth 2.1, and emerging agent standards. Agents operate across ecosystems without adaptation. Tempo improved blockchain payments. Kite created agent–native infrastructure. The difference is fundamental, not incremental. 5.2 Native Interoperability vs Fragmented Standards Agent Commerce Kit (ACK), Google’s AP2, and ERC–8004 define useful standards, Kite provides the execution layer to make these visions operational. Kite doesn’t just comply with these standards; we provide the infrastructure that makes them work. 5.2.1 Making ACK Operational ACK defines principles for agent commerce. Kite implements them: • Agent Passport : Not just identity but complete credential management with selective disclosure • Programmable Payment Lanes : Not just payments but agent–native transaction types • Intent-Based Authorization : Not just policies but cryptographically enforced constraints We transform ACK’s specifications into working infrastructure. 5.2.2 Extending Google’s AP2 AP2 introduces intent mandates for agent payments. Kite surpasses this with: • Three–tier identity hierarchy providing granular delegation • State channels enabling micropayment streaming AP2 cannot achieve • SLA contracts creating enforceable service guarantees beyond simple mandates 5.2.3 Implementing ERC-8004’s Vision ERC–8004 proposes registries for identity, reputation, and validation. Kite delivers: • Agent passports with verifiable credentials exceeding identity requirements • Behavioral reputation accumulated across all interactions • Cryptographic proof chains providing indisputable validation 5.3 The Complete Solution Other projects solve fragments of the problem. Tempo improves payments but ignores agents. SkyFire enables agents but creates systemic risk. Standards define interfaces but lack implementation. Kite provides the complete stack: from blockchain optimized for agent patterns to identity systems designed for delegation, from programmable constraints that prevent hallucination losses to state channels enabling micropayment streaming, from native protocol compatibility to cryptographic security guarantees. We didn’t build a better payment system. We built the infrastructure for the agent economy. 6. Use Cases The convergence of agent autonomy and programmable payments enables business models impossible with traditional infrastructure. These use cases demonstrate the transformative potential when every interaction becomes a transaction. 6.1 Gaming: True Microtransactions at Global Scale Current reality: Buying a $0.50 skin or $1 extra life involves credit card rails charging $0.30 plus 2.9% fees, multi–day settlement, and foreign exchange markups. Small transactions become economically impossible. With Kite’s Agent-Native Rails : Players confirm purchases with one–click instant PYUSD payments. No card tokenization, no banking intermediaries, just cryptographic value transfer. A gamer in Brazil buys from a U.S. studio without foreign exchange markup or payment failures. Game agents bundle multiple in–app purchases intelligently, enforce parental spending limits automatically, and apply loyalty credits programmatically. Parents set "maximum $20 monthly on games" and the blockchain enforces this limit absolutely. Game developers receive instant settlement, enabling real–time revenue sharing with creators. This unlocks sub–dollar items that were previously economically unviable. Games can price items at their true value rather than bundling to meet payment minimums. The entire gaming economy becomes more liquid, transparent, and accessible. 6.2 IoT: Machine-to-Machine Bandwidth Markets Current reality: IoT devices rely on monthly telco billing with flat plans or expensive roaming charges. A drone needing 5 minutes of bandwidth pays for a month of service. With Kite’s Agentic Payments : Devices open per–second PYUSD payment channels to ISPs or satellite providers. Each packet consumed triggers a streaming micropayment. Sessions close automatically with instant reconciliation. A car downloads a map update for $0.02. A sensor uploads telemetry for $0.001. A drone streams video for $0.50 per minute. Global clearing through stablecoin rails removes carrier foreign exchange and roaming complexity. Devices connect to any available network worldwide, paying exactly for consumption. This enables granular, pay–as–you–go bandwidth markets where machines pay only for what they use, making IoT deployment dramatically cheaper and more scalable. 6.3 Creator Economy: Direct Fan-to-Creator Revenue Current reality: Creator revenue flows through ad networks and platforms taking 30% cuts. Minimum payouts of $5 to $10 create barriers. Settlement takes weeks. With Kite’s Stablecoin-Native Payments : Fans send sub–cent PYUSD tips in real time. A viewer might pay $0.01 every 10 seconds while watching a stream, creating continuous revenue flow. Agents aggregate micro–tips into transparent, programmable splits: 70% creator, 20% platform, 10% moderator. No minimums, no waiting periods, just instant value transfer. Creators receive payments globally without banking relationships. A musician in Nigeria reaches fans in Japan without international wire fees. This redefines the fan–to–creator relationship, creating direct, continuous revenue streams instead of aggregated monthly payouts. 6.4 API Economy: Every Call Becomes a Transaction Current reality: API billing uses monthly invoices or prepaid credits. Opaque pricing, manual reconciliation, and credit risk create friction. With Kite’s Agent-to-Agent Billing : Each API call meters in real time with fractions of cents streamed per inference or request. An LLM endpoint charges $0.00001 per token. A weather API charges $0.0001 per query. A GPU cluster charges $0.01 per second of compute. Agents open state channels, sign micro–vouchers per call, and settle once per session. Throughput remains high while fees approach zero. Usage becomes cryptographically auditable: providers prove what was consumed, clients enforce quotas automatically. This model turns every API call into an autonomous, self–clearing financial transaction. No invoices, no collections, no credit risk. Just instant value exchange at machine speed. 6.5 E-Commerce: Programmable Checkout and Escrow Current reality: E–commerce involves credit card authorizations, delayed settlement, and expensive chargebacks. Buyers have little recourse. Sellers face fraud risk. With Kite’s Agentic Escrow : Shopping agents lock PYUSD into on–chain escrow instead of direct merchant payment. Funds release only when verifiers (delivery oracles, SLA agents) confirm conditions: "delivered," "service completed," or timeout without dispute. Partial captures let merchants settle only shipped items. Refunds and voids execute programmatically and instantly. Platform fees split automatically on capture. This creates chargeback–free, programmable checkout where agents enforce business rules and users get verifiable recourse. 6.6 Personal Finance: Autonomous Money Management Current reality: Financial management requires sharing bank passwords with apps or manual transaction entry. Automation is limited and risky. With Kite’s Controlled Delegation : Users deploy AI agents to manage budgets, pay bills, and invest small amounts. Instead of bank passwords, agents hold controlled on–chain credentials with spending limits. The agent pays utility bills directly to service agents, streams micro–deposits into savings, and dollar–cost–averages into ETFs with $1 daily stablecoin transfers. Every action ("Paid $50 to ElectricityCo," "Bought $20 of ETF XYZ") logs on–chain with cryptographic proof. Users audit instantly. Tax preparation becomes automatic. Agents become trustworthy money managers with programmable guardrails and micropayment capabilities banks cannot match. 6.7 Knowledge Markets: Decentralized Expertise Current reality: Knowledge queries go to single APIs with opaque pricing and un
프로젝트로 돌아가기