Back to Home
· product · apexe
apexe
CLI-to-Agent bridge for existing tools
apexe is a high-performance bridge that wraps existing CLI tools into governed apcore modules. It enables AI agents to interact with legacy command-line applications through a structured, schema-enforced interface. By defining clear input and output contracts, apexe ensures that agent interactions with the local system are predictable, validatable, and secure. It features an approval system for sensitive commands, automated schema extraction from CLI help menus, and seamless integration with the broader apcore ecosystem including MCP and A2A protocols.
· 01
Features
01Legacy CLI Wrapping: Turn any executable into an AI-perceivable module
02Governed Execution: Fine-grained control over which commands and arguments are allowed
03Schema Enforcement: Automatically validate CLI inputs and outputs against JSON schemas
04Agent Compatibility: Expose CLI tools as MCP servers or OpenAI tools via apcore-mcp
05Approval Gate: TTY-aware HITL prompts for sensitive command execution
06STDIN/STDOUT Handling: Seamlessly pipe data between AI agents and local processes
07Discovery: Automatically discover and register wrapped CLI tools
08Audit Logging: Record all agent-initiated CLI executions for security and compliance
· 02
Get Started
Rust · Implementation
High-performance Rust implementation of the apexe bridge.
Install
$ cargo add apexeQuick Start
rust.rsuse apexe::Wrapper;
let wrapper = Wrapper::new("ls")
.id("system.list_files")
.description("List directory contents")
.arg("--color", "always")
.build();
// Register with APCore and expose to AI agents· related