SDK — Overview
The stellar-agent-guard-sdk repository provides the TypeScript integration bridge between AI agent frameworks (LangChain, ElizaOS) and Stellar Agent Guard smart accounts.
🎯 What it Does
- Pre-flight Policy Interception: Simulates agent contract calls against the on-chain Soroban RPC before broadcast, preventing policy-violating transactions from ever hitting the network or spending fees.
- Zero-Broadcast Cost Pre-checking: Calculates inclusion and resource fees directly from simulation responses, enforcing spend ceilings before signing.
- Agent Transaction Assembly & Signing: Merges required contract footprint keys and signs custom account auth entries with the agent's keypair.
- Dual-Stream Telemetry: Monitors both uncommitted refusal events (
event_auth_checkedfrom simulation diagnostics) and committed ledger events. - Framework Middleware: Plug-and-play middleware adapters for LangChain tools and ElizaOS action validators.
📦 Package Distribution
- npm Package:
stellar-agent-guard-sdk - Current Published Release:
0.1.0(npm install stellar-agent-guard-sdk) - Git Repository:
aigbagbobila/stellar-agent-guard-sdk
