Lap-Platform/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.

What it solves

LLM agents often hallucinate API endpoints, parameters, and authentication flows because raw API documentation (like OpenAPI) is too verbose and structured for humans rather than models. This leads to low accuracy in API calls and high token costs due to the massive size of the documentation.

How it works

LAP acts as a compiler that transforms standard API specifications into a compressed, "agent-native" format. It uses a five-stage compression pipeline:

  1. Structural removal: Strips YAML scaffolding.
  2. Directive grammar: Replaces nested structures with flat, single-line declarations using @directives.
  3. Type compression: Shortens type declarations (e.g., type: string, format: uuid becomes str(uuid)).
  4. Redundancy elimination: Extracts shared fields via @common_fields and @type.
  5. Lean mode: Removes descriptions where LLMs can infer meaning from parameter names.

Who it’s for

Developers building AI agents and those using agent-integrated IDEs (like Claude Code, Cursor, and Codex) who want to improve their agent's API interaction accuracy while reducing latency and token costs.

Highlights

  • Significant Compression: Achieves a median 5.2x compression on OpenAPI specs, reducing costs by 35% and increasing speed by 29%.
  • Multi-Format Support: Compiles from OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman, and Smithy.
  • Agent Skills: Includes a CLI (lapsh) to search a registry of 1,500+ pre-compiled specs and install them as skills directly into AI agents.
  • Zero Information Loss: Preserves all endpoints, parameters, and type constraints while providing typed contracts to prevent hallucinations.
  • Round-trip Capability: Can convert .lap files back into OpenAPI format.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project