apexe

Run existing tools
under explicit rules.

APExe gives people and agents a governed way to run covered CLI commands and expose HTTP APIs. It uses reviewed tool contracts, access rules, approvals, and invocation records.

From existing tool to governed execution
Existing CLI or HTTP APIAn installed command or an imported OpenAPI operation
APExeTyped input, configured access, approval, and path rules
Caller and resultRun locally or connect an MCP or A2A client

What APExe governs

Browse capability details
  • Prepare reviewed coverage

    Match tools on the machine against reviewed rules and generate typed bindings. Inspect the inventory before granting access.

  • Decide before execution

    Use the configured ACL, approval gates, and path policy. Inspect the execution plan with a dry run.

  • Expose tools where needed

    Run tools locally or expose supported CLI and OpenAPI operations through MCP or A2A. Deployment configuration controls access.

Preview a covered CLI call

This example assumes the setup process has prepared a binding for your installed ls command. Use the listed schema and review the ACL before calling a tool.

Open the quickstart guide
  1. Install and set up

    The installer verifies and installs the release binary, then starts setup for rules, shims, and supported agent hosts.

    Shell
    curl -fsSL https://raw.githubusercontent.com/apstack/apexe/main/scripts/install.sh | sh
  2. Inspect the prepared bindings

    Find cli.ls and confirm the input schema. Review the generated ACL at ~/.apexe/acl.yaml.

    Shell
    apexe list --verbose
  3. Preview with a dry run

    Review the decision and intended invocation. A dry run does not start ls.

    Shell
    apexe exec cli.ls --input '{"file":["."]}' --dry-run

Documentation

Browse all docs

Detailed capabilities and configuration

Choose a topic

Initialize Reviewed Coverage

apexe init acquires reviewed rules from cli-permissions or your own Git source, and generates typed bindings plus a starter ACL for the tools this machine actually has. Policy is authored by apexe acl init and acl sync, never by a scan, so an allow is always one you reviewed.