Let Armature build your agent-facing interface.

Armature turns your GitHub repo or OpenAPI file into an agent-facing interface with searchable docs, a typed API facade, and secure task execution.

01Why this interface

Most MCP servers give the agent a long list of tools to call one at a time. For anything beyond a single lookup, the agent has to choose a tool, wait for the result to come back through the conversation, reason about it, and choose again, and that loop repeats at every step. It is slow, and the agent often takes a wrong turn before it reaches the answer.

Armature takes the approach known as code mode. Instead of a menu of tools, the agent gets a typed API to program against: it writes one short TypeScript task that carries out the whole job and runs it in a secure sandbox, which only calls back into your MCP for the operations you choose to expose.

Pros
01
One small surface

The agent works through a single interface for discovery and execution, instead of choosing between dozens of separate tools.

02
Multi-step work in one task

Lookups, filters, joins, and retries run inside one program, so the agent only returns to the model once it has a finished result.

03
Fast, inexpensive runs

Each task runs in a sandbox built for fast startup and low memory, so runs stay short and cheap.

04
Secrets stay server-side

Product credentials live in server-side bindings, never in the task code an agent writes.

Armature code path

One task program routes through Armature.

02Inputs

The lowest-friction path is the Armature GitHub App. Install it once, choose the repository and OpenAPI path, and interface builds become automatic from pull request to production. Armature starts from feature parity with the API, then lets you remove capabilities from the agent-facing surface before they ship.

Recommended

GitHub App

Armature watches the OpenAPI file in your repo, generates the interface on PRs, compares changes, and keeps the hosted MCP in sync after merge.

  • One-time install, no custom CI glue.
  • Automatic PR checks for parse and generation failures.
  • Preview builds before an API change reaches production.
  • Feature parity by default, with explicit capability controls.
Fallback

OpenAPI file

Upload or paste an OpenAPI JSON/YAML file, or post it from CI with curl to an Armature upload endpoint. Armature generates the same code-mode bundle and hosted MCP from that document.

  • Good for first builds and private specs.
  • No repository access required.
  • CI-friendly when you already publish an OpenAPI artifact.

03Generated surface

From the OpenAPI document, Armature generates an operation map, a typed virtual SDK, searchable documentation, and an agent-native search layer tuned to find the right operations, examples, and allowed capabilities quickly. The generated interface can match the API at launch, then exclude operations, resources, or whole capability groups that should stay out of the agent path.

// Generated SDK shape
const account = await product.accounts.getAccount({ accountId });
const tickets = await product.support.listTickets({ accountId, status: "open" });
return { account, openTicketCount: tickets.length };

The generated docs explain namespaces, methods, arguments, response shapes, examples, timestamps, pagination, and auth assumptions. The runtime preserves the API's real errors, so agents learn from the behavior they will see in production.

04GitHub app flow

Install the Armature GitHub App, point it at an OpenAPI file, and every PR gets an automated interface preview: parse checks, generation checks, and a surface diff before the hosted MCP updates.

05Why Armature builds it

Armature builds and hosts the interface so your team gets the most performant agent-facing interface possible. You get a production-ready agent endpoint without owning the runtime work. It includes fast execution, separate preview and production environments, GitHub automation, and Armature reporting from day one.

Performance Fewer model round trips.

Task programs can complete multi-step work inside the secure sandbox, then return a concise result.

Control Production and preview stay separate.

GitHub automation keeps interface changes reviewable before they reach the hosted MCP.

Have an OpenAPI file?

We can generate a first agent-facing interface and run it against a realistic agent workflow.

Back to docs