Skip to content

Make your legacy APIs agent-ready.

Bring the REST, SOAP / WSDL, gRPC, GraphQL, or OData contract you already have. Review what an agent may call. Get a skill, a CLI, an MCP server, and client SDKs that all agree, plus a Gemini Enterprise connector kit when you are ready to connect.
  1. Import your API. Supply a contract and its supporting files.
  2. Review the operations. Inspect names, typed inputs, and behavior. Approve the operations agents may call.
  3. Try a request. Preview a call, then test the generated tools against a mock.
  4. Use the output. Choose the interface your agent or application needs.

The console follows the same flow. Run pnpm anvil console . --open after building. Start with Import API, then Review. Use API operations for request previews and Request builder for CLI and MCP drafts. Interfaces shows generated files and setup steps.

The Anvil console's review queue: a refund mutation open with its effect, risk, idempotency, confirmation requirement, and the claims behind each

An API operation is one call imported from a specification. A bundle contains the API’s contracts, generated files, and review state. An interface is how an agent or application calls those operations.

Business actions is an optional, separate workflow for tasks that bind one or more API operations. It currently requires a project JSON with action definitions, source snapshots, and evaluation tasks.

The payments example works locally without credentials. It includes a refund operation with confirmation and idempotency requirements you can inspect and test.

After installing from source:

Terminal window
pnpm anvil compile examples/payments/openapi.yaml \
--manifest examples/payments/anvil.yaml \
--service payments --out generated/payments
pnpm anvil status generated/payments
pnpm anvil inspect generated/payments

Run the full local quickstart to exercise the policy and test the generated MCP server against a mock.

OutputConsumerShared contract
Typed CLIDeveloper or coding harnessApproved operations and validated arguments
MCP serverMCP clientThe same operation and runtime policy
Four client SDKsTypeScript, Python, Go, Java applicationGenerated operation methods and gates
Skill and hooksCoding harnessOperation guidance and supported early refusals
Mocks and assurance recordsCI or reviewerExecutable checks tied to the bundle hash
Gemini Enterprise connector kitGemini Enterprise appMCP integration with explicit authentication and registration setup
Deployment inputsOperatorConfiguration and release plans

The Gemini Enterprise kit is generated separately after reviewing the bundle. Follow Connect Gemini Enterprise to generate, deploy, and register the connector.

The CLI and MCP runtime require installed or linked Anvil packages. The SDK trees can be vendored independently. SDK details.

InputFirst stepWhat it produces
API descriptionanvil agentifyCandidate bundle, assessment, and capability proposals
Gateway exportanvil estate inventoryGateway-aware inventory with provenance
Legacy deployment configurationanvil legacy inventoryOffline evidence and technical candidates
Existing MCP serveranvil adoptReview artifacts and an adoption plan

agentify stops for review. It does not infer approval or deploy. Legacy inventory does not generate or run a bridge. Parser support also differs from wire support: native gRPC requires a JSON transcoder; unsupported streaming and SOAP bindings are refused. Source support.

The model prevents interfaces from disagreeing

Section titled “The model prevents interfaces from disagreeing”

AIR, the Anvil Intermediate Representation, records schema, effect, risk, authentication, approval, confirmation, idempotency, retry, and evidence requirements. Every generated surface reads that model.

ConditionResult
Operation is unapprovedIt is absent from callable surfaces
Required confirmation is missingThe call fails before execution
Idempotency is unprovenAutomatic mutation retry is disabled
A harness hook is absentRuntime policy still applies
Bundle bytes changePrevious assurance evidence becomes stale
publish succeedsAn operator plan exists; deployment has not occurred

The compiler cannot recover a missing business guarantee from an HTTP method. Supply supported semantics in the reviewed manifest.

GoalGuide
Compile and exercise one bundle locallyQuickstart
Resolve uncertain operationsEnrich and approve
Process a gateway exportGateway import
Inventory middleware without an API descriptionLegacy inventory
Require fresh evidence before releaseCI integration
Understand a refusal or incomplete bundleTroubleshooting

Anvil is a source-installed toolchain for reviewed integrations. A small, single-client API wrapper may require less setup. Its value grows when several interfaces must preserve the same operation semantics.