AI-Engineer-Foundation / agent-protocol

Common interface for interacting with AI agents. The protocol is tech stack agnostic - you can use it with any framework for building agents.

Home Page:https://agentprotocol.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate JS SDK from OpenAPI spec

jakubno opened this issue · comments

Is your feature request related to a problem? Please describe.

We want to generate as much of the code as possible from the OpenAPI. This will help SDK to stay up to date with the protocol and in the same time it improves development speed and limits possible bugs in implementation.

Describe the solution you'd like

  • It should stay in TypeScript
  • Generated routes and types, types are bare minimum.
  • Add makefile with generate command generate, which will regenerate the code

Additional context

These could be relevant tools:

Feel free to come with something else