Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 4.11 KB

README.md

File metadata and controls

65 lines (53 loc) · 4.11 KB

apexe Documentation

Governed execution for CLI tools and HTTP APIs. apexe runs CLI commands locally and exposes CLI and OpenAPI operations through MCP and A2A, with shared schema validation, configured access rules and audit records.

Start here according to the job you are trying to complete.

I want to use apexe

These guides are for operators, developers and teams running CLI tools locally or exposing CLI and HTTP operations to AI agents. They lead with the outcome, the commands to run, and the boundaries you must review.

Goal Guide
Install, prepare rules, shims and a detected agent in one step Quick Start
Connect Claude Code, Codex, pi or OpenCode in four steps (Skill fallback) Agent quick integration
Use apexe sh as the host shell, PATH shims or a Claude Code hook Shell Integration
Resolve Skill discovery, routing, native coverage or ACL problems Agent troubleshooting
Initialize CLI coverage, review its ACL, and choose local execution or MCP/A2A Quick Start
Execute CLI commands with module JSON, reviewed native argv or PATH shims Local execution example
Check source drift, explicit dry-runs and earned case evidence Verification guide and runnable example
Import an HTTP API and call it through MCP/A2A OpenAPI guide and runnable example
Find every command, configuration key, transport, and troubleshooting step User Manual
Understand what apexe protects and what still needs a sandbox or host policy Threat Model
Follow a runnable terminal walkthrough with ACL enforcement Basic example
Use verified POSIX command facts from cli-permissions cli-permissions example
Inspect the always-on filesystem boundary Path guard example
Read release upgrades and migrations Changelog

The normal user path is:

CLI agent: setup → review bindings/ACL → install Skill → declare route → native exec
Optional CLI integration: env shims or MCP/A2A protocol serving
API: review OpenAPI source and ACL → serve or a2a with --openapi --acl

Local exec/shims load the default ACL when present. Servers require --acl for access control. Native argv/shims require reviewed grammar; HTTP import is a server feature.

apexe is not a sandbox. Read the threat model and run exposed tools inside the OS, container, VM, account, and network boundary appropriate to your use case. The opt-in sandbox delegation is implemented in 0.15.0 for modules listed in sandbox.modules; see sandbox.md.

I want to embed, extend, or maintain apexe

These documents are for Rust developers and project maintainers. They describe implementation choices, public library APIs, parser and overlay authoring, and historical design records. They are not required to configure or operate the apexe command-line application.

Goal Guide
Validate a Skill revision with real agent calls and controlled ACL refusals Agent Skill maintainer verification
Find the library API, repository layout, and contributor references Developer Guide
Embed apexe in a Rust application Programmatic example
Exercise ACL rules with an explicit apcore identity ACL library example
Author or maintain a verified CLI overlay Authoring Tool Overlays
Consume the overlay corpus from another implementation Overlay Consumers
Inspect the current module map Feature Manifest
Read architecture records and feature specifications Developer Guide