LAP

Your agents are guessing at APIs. Give them the actual Agent-Native spec. 1500+ API's Ready To-Use skills, Compile any API spec into a lean, agent-native forma

What is LAP?

Your agents are guessing at APIs. Give them the actual Agent-Native spec. 1500+ API's Ready To-Use skills, Compile any API spec into a lean, agent-native format. 10× smaller. OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman.

Overview of LAP

What it is

Lean API Platform (LAP) is an open-source tool that compiles API specifications into an agent-native format. It is designed for large language model (LLM) agents, providing them with verified, compressed specs that reduce token size and improve accuracy. The software supports 1500+ pre-compiled specs and can process multiple API description formats.

Key features

  • Compiles API specs into a lean, agent-native format, achieving up to 10× reduction in token size compared to raw OpenAPI.
  • Supports six input formats: OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman, and Smithy.
  • Provides a registry of 1500+ ready-to-use, pre-compiled API specs.
  • Includes a skill generation command that creates agent-ready skills from any spec.
  • Offers round-trip conversion back to OpenAPI.
  • Integrates with LangChain, Context Hub, and provides Python/TypeScript SDKs.

Use cases

Developers can use LAP to reduce token consumption and API call errors when building LLM agents. It is suitable for situations where an agent must interact with external APIs but lacks reliable documentation. The tool can be employed to compile in-house OpenAPI specs into a compact format or to install pre-compiled specs from the public registry. Typical applications include improving agent accuracy in API interactions, lowering cost and latency for agent calls, and enabling API skill management across IDEs like Claude Code, Cursor, and Codex.

Getting started

bash# Set up LAP in your IDEnpx @lap-platform/lapsh init # Claude Codenpx @lap-platform/lapsh init --target cursor # Cursornpx @lap-platform/lapsh init --target codex # Codex# Search the registry for an APInpx @lap-platform/lapsh search payment# Download a specnpx @lap-platform/lapsh get stripe -o stripe.lap# Install an API skillnpx @lap-platform/lapsh skill-install stripe# Or compile your own specnpx @lap-platform/lapsh compile api.yaml --lean

License and pricing

The project is open source and licensed under Apache-2.0.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/lap-platformlap.svg)](https://yunodb.com/tools/lap-platformlap?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/lap-platformlap?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/lap-platformlap.svg" alt="Featured on YunoDB" height="20"></a>