executor

NameLast commit messageLast commit date
.agents[codex] Fix paid organization creation limit (#829)5 months ago
.astroformat & format auto script7 months ago
.changeset[codex] Fix OpenAPI multi-key auth inputs (#1151)4 months ago
.claudeMake the add-connection modal self-contained so abandoned OAuth can't wedge it (#1126)4 months ago
.codex[codex] Track worktree environment setup (#827)5 months ago
.githubFix supervised/local regressions (#1020)4 months ago
.skillsAdopt the standard Changesets changelog flow (#925)5 months ago
.vscodeexecutor v1.5: integrations and connections rework5 months ago
appsMake toolkits a first-class route4 months ago
assetsfavicon6 months ago
e2eSurface code syntax errors descriptively instead of an opaque internal error4 months ago
examplesVersion Packages4 months ago
notesExpand agent-facing Executor configuration tools (#841)5 months ago
packagesSurface all sandbox runtime conditions descriptively, not just syntax errors4 months ago
patchesUnified provider architecture (#877)5 months ago
scriptsRemove all git submodules; develop the forks as standalone repos (#1010)4 months ago
testsExtract Google provider plugin (#1057)4 months ago
.dockerignoreUnified provider architecture (#877)5 months ago
.gitignoreAgent evidence workflow: principles docs, e2e dev CLI, typed emulator client (#977)4 months ago
.oxfmtrc.jsonRemove all git submodules; develop the forks as standalone repos (#1010)4 months ago
.oxlintrc.jsoncRemove all git submodules; develop the forks as standalone repos (#1010)4 months ago
.prettierignorefix(ci): typecheck and format fixes (#176)7 months ago
AGENTS.mddocs: remove em-dashes from docs pages; ban them in AGENTS.md4 months ago
autumn.config.tsadjust pricing (#1107)4 months ago
bun.lockHarden scoped toolkit MCP sessions4 months ago
CLAUDE.mdDefault subagents to Sonnet with an explicit model4 months ago
knip.config.tsExtract Google provider plugin (#1057)4 months ago
LICENSEadd MIT license7 months ago
opencode.jsonchore: fix data storage (#262)6 months ago
package.jsonTurnkey fresh-worktree dev env: atomic per-checkout e2e ports, bootstrap, leak reaper (#973)4 months ago
README.mdFix supervised/local regressions (#1020)4 months ago
RELEASING.mdAdopt the standard Changesets changelog flow (#925)5 months ago
RUNNING.mdRemove all git submodules; develop the forks as standalone repos (#1010)4 months ago
skills-lock.jsonUpdate stack skill docs5 months ago
tsconfig.jsonTighten input schema boundaries6 months ago
turbo.jsonFix vite-plugin exports so fresh clones can bun dev without prebuilding (#749)6 months ago
vision.mdinit vision7 months ago
vitest.config.tsReplace repository contents with v4 snapshot7 months ago
warden.toml[codex] Use effect-atom optimistic resources (#531)6 months ago
README.md

executor

https://github.com/user-attachments/assets/11225f83-e848-42ba-99b2-a993bcc88dad

The integration layer for AI agents. One catalog for every tool, shared across every agent you use.

Ask DeepWiki

Quick start

npm install -g executor
executor install
executor web

This installs the local background service and opens the web UI. From there, add your first source and start using tools.

Use as an MCP server

Point any MCP-compatible agent (Cursor, Claude Code, OpenCode, etc.) at Executor to share your tool catalog, auth, and policies across all of them.


executor mcp

Example mcp.json for Claude Code / Cursor:

{
  "mcpServers": {
    "executor": {
      "command": "executor",
      "args": ["mcp"]
    }
  }
}

Use with Pi

Pi does not include a built-in MCP client. To use Executor from Pi, install the community bridge:

pi install git:github.com/gvkhosla/pi-executor-mcp@v0.2.0

Reload Pi, then verify the bridge:

/reload
/executor-status

After that, ask Pi to search, inspect, and call tools through Executor.

Add a source

If you can represent it with a JSON schema, it can be an integration. Executor has first-party support for OpenAPI, GraphQL, MCP, and Google Discovery — but the plugin system is open to any source type.

Via the web UI

Run executor web, go to Add Source, paste a URL, and Executor will detect the type, index the tools, and handle auth.

Via the CLI

executor call executor openapi addSource '{
  "spec": "https://petstore3.swagger.io/api/v3/openapi.json",
  "namespace": "petstore",
  "baseUrl": "https://petstore3.swagger.io/api/v3"
}'

Use baseUrl when the OpenAPI document has relative servers entries (for example "/api/v3").

Use tools

Agents discover and call tools through a typed TypeScript runtime:

// discover by intent
const matches = await tools.discover({ query: "github issues", limit: 5 });

// inspect the schema
const detail = await tools.describe.tool({
  path: matches.bestPath,
  includeSchemas: true,
});

// call with type safety
const issues = await tools.github.issues.list({
  owner: "vercel",
  repo: "next.js",
});

Use tools via the CLI:

executor tools search "send email"
executor call --help
executor call github --help
executor call github issues --help
executor call cloudflare --help --match dns --limit 20
executor call github issues create '{"owner":"octocat","repo":"Hello-World","title":"Hi"}'
executor call gmail send '{"to":"alice@example.com","subject":"Hi"}'

executor call, executor resume, and executor tools ... commands auto-start a local daemon if needed. If the default port is busy, the CLI will pick an available local port and track it automatically.

If an execution pauses for auth or approval, resume it:

executor resume --execution-id exec_123

CLI reference

executor install                    # install/start the durable background service
executor web                        # open the running web UI
executor web --foreground           # start a temporary foreground runtime + web UI
executor daemon run                 # start persistent local daemon in background
executor daemon status              # show daemon status
executor daemon stop                # stop daemon
executor daemon restart             # restart daemon
executor mcp                        # start MCP endpoint
executor call <path...> '{"k":"v"}' # invoke a tool by path segments
executor call <path...> --help      # browse namespaces/resources/methods
executor call <path...> --help --match "<text>" --limit <n> # narrow huge namespaces
executor resume --execution-id <id> # resume paused execution
executor tools search "<query>"     # search tools by intent
executor tools sources              # list configured sources + tool counts
executor tools describe <path>      # show tool TypeScript/JSON schema

Developing locally

bun install
bun dev

The dev server starts at http://127.0.0.1:4788.

Tests

bun run test       # unit + integration suites
bun run test:e2e   # full-stack e2e: boots the cloud and self-host apps and drives them

The browser e2e scenarios need Playwright's Chromium once per machine: bunx playwright install chromium.

Community

Join the Discord: https://discord.gg/eF29HBHwM6

Learn more

Visit executor.sh to learn more.

Attribution

  • Thank you to Crystian for providing the npm package name executor.

References

As part of my coding process, I give my agent access to references to other codebases to understand patterns and how other people have implemented systems.

A non exhaustive list of references are:

It's encouraged also that you can use this codebase as a reference to understand how it's implemented