sdk
No Decision Without a Record: Fail-Closed Evidence Completeness and Its Cost in an Agent Policy Decision Point
AI agents act through tool calls. A governance layer decides whether each call may run and keeps a tamper-evident record of the decision. Tamper evidence does not imply completeness: a hash chain that has lost its newest entries still verifies. We measure whether such a record stays complete when the system fails. The system studied is a policy decision point (PDP) that commits each decision to a per-tenant hash chain in PostgreSQL before it answers, and answers HTTP 503 instead when it cannot. We state five properties of the record and check them with a client-side oracle that compares every request with the chain. In 70 runs with 13 kinds of injected fault (crash, freeze, network partition, slowness, full storage; 155,946 requests), the oracle found no returned decision missing from the chain, none recorded twice and no record without a request. A control with asynchronous commit lost 7 acknowledged decisions in 5/5 runs while every chain still verified. The faults did leave records of decisions that never reached the client in time (287 unanswered, 4,548 late), so the chain lists decisions, not executions. Through the client library (SDK), under three of the faults, no call of a fail-closed enforcing role ran without a recorded ALLOW. The price is a per-tenant limit: the append holds a row lock and takes about 45% of a decision's server time at low load, and one tenant sustained a median of 58.5 decisions per second with a 99th-percentile latency of at most 500 ms. All measurements come from one laptop and describe this design on that machine, not a general capacity.
Option-GRPO: Hierarchical RL Against AI Slop in Code Generation for Unseen SDKs
Large language models increasingly produce AI slop in generated code: verbose, redundant, non-idiomatic implementations that pass functional checks but bloat codebases. The problem compounds on SDKs released after the model's training cutoff, where the model has neither idiomatic priors nor compositional understanding. We present Option-GRPO, a hierarchical reinforcement learning framework that adapts a code LLM to an unseen SDK from its source code alone, without human-written usage examples or test cases, and that explicitly optimizes for both functional correctness and code elegance. Our key insight is that SDK source code contains compositional structure that defines a hierarchy of reusable code patterns (code options) which simultaneously serve as the building blocks of a curriculum and the action space for efficient policy optimization. We show that code options induce a valid semi-Markov decision process, give conditional bounds under which shorter option description length implies more concise and, in expectation, more API-efficient programs, and analyze under stated assumptions how the option hierarchy improves credit assignment by a factor of $\sqrt{T/K}$. Using Group Relative Policy Optimization (GRPO) with execution-based rewards at each curriculum level, Option-GRPO discovers SDK idioms, composes them into patterns, and assembles patterns into complete programs. Experiments on 12 unseen SDKs with a 32B-parameter base model demonstrate 61.4% pass@1, outperforming flat GRPO by 8.7 points, ExploraCoder by 11.2 points, and ReCode by 6.3 points. Option-GRPO produces solutions that use 34.7% fewer API calls and are 27% shorter than flat-GRPO outputs while maintaining higher correctness, directly attacking the slop problem.
OpenRoIS: A Community-Driven Open-Source Middleware Implementing the Robotic Interaction Service (RoIS) Framework for Physical Robots, Virtual Avatars, and Digital Services
Villalobos, Sebastian Carrera, Arellano, Christopher Nolan, Hitzmann, Arne, Brito, Edilson Morais, Utsumi, Akira, Horikawa, Yukiko, Miyashita, Takahiro, Ishiguro, Hiroshi, Hafi, Lotfi El
Service applications for human-robot interaction are commonly written against the hardware-specific interfaces of one platform, so a change of hardware forces a rewrite. The Robotic Interaction Service (RoIS) Framework 2.0, standardized by the Object Management Group (OMG), addresses this fragmentation with a platform-independent model in which Service Applications drive Human-Robot Interaction (HRI) Engines through standardized interfaces and symbolic messages. A specification alone, however, does not provide the maintained implementation, Software Development Kits (SDKs), and adapters that adoption requires. This paper presents OpenRoIS, a community-driven open-source middleware that implements RoIS 2.0, and takes the position that an openly developed, paradigm-neutral implementation is what carries the standard into practice. OpenRoIS contributes a recursive engine for both the main and the sub HRI Engines, a single protocol in which the RoIS method catalog over JSON-RPC 2.0 and WebSocket is the only interface at every hop, a single-source type pipeline for three languages, client SDKs for JavaScript, Python, and Unity, a component SDK, a browser inspector, and a Model Context Protocol (MCP) server for AI agents. These interfaces let a Service Application, scripted or an AI agent, address physical robots, virtual avatars, and digital services alike, each behind an adapter. In the functional validation, an AI agent and the browser inspector drove two physical robots from different vendors, a Reachy Mini and a Kachaka, behind one gateway, where a single command makes one robot greet a visitor while the other drives to the entrance. All of it is openly developed under the Apache-2.0 license at https://openrois.org/.
Compatibility at a Cost: Systematic Discovery and Exploitation of MCP Clause-Compliance Vulnerabilities
Yang, Nanzi, Bai, Weiheng, Lu, Kangjie
The Model Context Protocol (MCP) is a recently proposed interoperability standard that unifies how AI agents connect with external tools and data sources. By defining a set of common client-server message exchange clauses, MCP replaces fragmented integrations with a standardized, plug-and-play framework. However, to be compatible with diverse AI agents, the MCP specification relaxes many behavioral constraints into optional clauses, leading to misuse-prone SDK implementation. We identify it as a new attack surface that allows adversaries to achieve multiple attacks (e.g, silent prompt injection, DoS, etc.), named as \emph{compatibility-abusing attacks}. In this work, we present the first systematic framework for analyzing this new attack surface across multi-language MCP SDKs. First, we construct a universal and language-agnostic intermediate representation (IR) generator that normalizes SDKs of different languages. Next, based on the new IR, we propose auditable static analysis with LLM-guided semantic reasoning for cross-language/clause compliance analysis. Third, by formalizing the attack semantics of the MCP clauses, we build three attack modalities and develop a modality-guided pipeline to uncover exploitable non-compliance issues.
Engineering FAIR Privacy-preserving Applications that Learn Histories of Disease
Duarte, Ines N., Bhawsar, Praphulla M. S., Mason, Lee K., Balasubramanian, Jeya Balaji, Russ, Daniel E., Oliveira, Arlindo L., Almeida, Jonas S.
A recent report on "Learning the natural history of human disease with generative transformers" created an opportunity to assess the engineering challenge of delivering user-facing Generative AI applications in privacy-sensitive domains. The application of these models, particularly for personalized healthcare tasks like predicting individual morbidity risk, is typically constrained by data privacy concerns. This project was accordingly designed as an in-browser model deployment exercise (an "App") testing the architectural boundaries of client-side inference generation (no downloads or installations). We relied exclusively on the documentation provided in the reference report to develop the model, specifically testing the "R" component of the FAIR data principles: Findability, Accessibility, Interoperability, and Reusability. The successful model deployment, leveraging ONNX and a custom JavaScript SDK, establishes a secure, high-performance architectural blueprint for the future of private generative AI in medicine.
DIAP: A Decentralized Agent Identity Protocol with Zero-Knowledge Proofs and a Hybrid P2P Stack
Liu, Yuanjie, Xing, Wenpeng, Zhou, Ye, Chang, Gaowei, Lin, Changting, Han, Meng
The absence of a fully decentralized, verifiable, and privacy-preserving communication protocol for autonomous agents remains a core challenge in decentralized computing. Existing systems often rely on centralized intermediaries, which reintroduce trust bottlenecks, or lack decentralized identity-resolution mechanisms, limiting persistence and cross-network interoperability. We propose the Decentralized Interstellar Agent Protocol (DIAP), a novel framework for agent identity and communication that enables persistent, verifiable, and trustless interoperability in fully decentralized environments. DIAP binds an agent's identity to an immutable IPFS or IPNS content identifier and uses zero-knowledge proofs (ZKP) to dynamically and statelessly prove ownership, removing the need for record updates. We present a Rust SDK that integrates Noir (for zero-knowledge proofs), DID-Key, IPFS, and a hybrid peer-to-peer stack combining Libp2p GossipSub for discovery and Iroh for high-performance, QUIC based data exchange. DIAP introduces a zero-dependency ZKP deployment model through a universal proof manager and compile-time build script that embeds a precompiled Noir circuit, eliminating the need for external ZKP toolchains. This enables instant, verifiable, and privacy-preserving identity proofs. This work establishes a practical, high-performance foundation for next-generation autonomous agent ecosystems and agent-to-agent (A to A) economies.
Democratizing Tabular Data Access with an Open$\unicode{x2013}$Source Synthetic$\unicode{x2013}$Data SDK
Krchova, Ivona, Vieyra, Mariana Vargas, Scriminaci, Mario, Sidorenko, Andrey
Abstract--Machine learning development critically depends on access to high-quality data. However, increasing restrictions due to privacy, proprietary interests, and ethical concerns have created significant barriers to data accessibility. Synthetic data offers a viable solution by enabling safe, broad data usage without compromising sensitive information. This paper presents the MOSTL Y AI Synthetic Data Software Development Kit (SDK), an open-source toolkit designed specifically for synthesizing high-quality tabular data. The SDK integrates robust features such as differential privacy guarantees, fairness-aware data generation, and automated quality assurance into a flexible and accessible Python interface. Leveraging the T abularARGN autoregressive framework, the SDK supports diverse data types and complex multi-table and sequential datasets, delivering competitive performance with notable improvements in speed and usability. Currently deployed both as a cloud service and locally installable software, the SDK has seen rapid adoption, highlighting its practicality in addressing real-world data bottlenecks and promoting widespread data democratization. HE development of Machine Learning applications requires broad access to training data. This necessity has become more critical in recent years with the advent of Deep Learning, which requires large-scale datasets to effectively train models.
The OpenHands Software Agent SDK: A Composable and Extensible Foundation for Production Agents
Wang, Xingyao, Rosenberg, Simon, Michelini, Juan, Smith, Calvin, Tran, Hoang, Nyst, Engel, Malhotra, Rohit, Zhou, Xuhui, Chen, Valerie, Brennan, Robert, Neubig, Graham
Agents are now used widely in the process of software development, but building production-ready software engineering agents is a complex task. Deploying software agents effectively requires flexibility in implementation and experimentation, reliable and secure execution, and interfaces for users to interact with agents. In this paper, we present the OpenHands Software Agent SDK, a toolkit for implementing software development agents that satisfy these desiderata. This toolkit is a complete architectural redesign of the agent components of the popular OpenHands framework for software development agents, which has 64k+ GitHub stars. To achieve flexibility, we design a simple interface for implementing agents that requires only a few lines of code in the default case, but is easily extensible to more complex, full-featured agents with features such as custom tools, memory management, and more. For security and reliability, it delivers seamless local-to-remote execution portability, integrated REST/WebSocket services. For interaction with human users, it can connect directly to a variety of interfaces, such as visual workspaces (VS Code, VNC, browser), command-line interfaces, and APIs. Compared with existing SDKs from OpenAI, Claude, and Google, OpenHands uniquely integrates native sandboxed execution, lifecycle control, model-agnostic multi-LLM routing, and built-in security analysis. Empirical results on SWE-Bench Verified and GAIA benchmarks demonstrate strong performance. Put together, these elements allow the OpenHands Software Agent SDK to provide a practical foundation for prototyping, unlocking new classes of custom applications, and reliably deploying agents at scale.
aoip.ai: An Open-Source P2P SDK
Konan, Joseph, Agnihotri, Shikhar, Hsieh, Chia-Chun
This white paper introduces aoip.ai, a groundbreaking open-source SDK incorporating peer-to-peer technology and advanced AI integration to transform VoIP and IoT applications. It addresses key market challenges by enhancing data security, elevating communication quality, and providing greater flexibility for developers and users. Developed in collaboration with Carnegie Mellon University, aoip.ai sets a new standard for decentralized and democratized communication solutions.
feather -- a Python SDK to share and deploy models
At its core, feather was a tool that allowed model developers to build shareable user interfaces for their models in under 20 lines of code. Using the Python SDK, developers specified visual components that users would interact with. (e.g. a FileUpload component to allow users to upload a file). Our service then provided 1) a URL that allowed others to access and use the model visually via a user interface; 2) an API endpoint to allow programmatic requests to a model. In this paper, we discuss feather's motivations and the value we intended to offer AI researchers and developers. For example, the SDK can support multi-step models and can be extended to run automatic evaluation against held out datasets. We additionally provide comprehensive technical and implementation details. N.B. feather is presently a dormant project. We have open sourced our code for research purposes: https://github.com/feather-ai/