Show HN: Mixing Deterministic Codegen with LLM Codegen for Client SDKs

7 pmkelly4444 1 8/26/2025, 12:36:20 PM github.com ↗
Hi HN, I’m Patrick. Elias, Kevin, and I are building Sideko (https://sideko.dev), a new type of code generator for building and maintaining API client SDKs from OpenAPI specs.

Our approach differs significantly from traditional SDK generators in that we use structured pattern matching queries to create and update the code. Other SDK generators use templates, which overwrite custom changes and produce code that looks machine generated.

We’ve mixed in LLM codegen by creating this workflow: Run deterministic codegen to establish the SDK structure. Let LLMs enhance specific components where adaptability adds value and include agent rules files that enforce consistency and correctness with type checking and integration tests against mock servers. The system will retain the LLM edits, while the rest of the SDK is automatically maintained by the deterministic generator (keeping it in sync with the API). LLMs can edit most the files (see python rules and typescript rules).

You can try it out from your terminal: Install: npm install -g @sideko/cli Login: sideko login Initialize: sideko sdk init Prompt: “Add a new function that…”

Check out the repo for more details: https://github.com/Sideko-Inc/sideko We’d love to hear your thoughts!

Comments (1)

eliasposen · 51m ago
Hi all! My name is Elias, co-founder at Sideko. Excited to share this new release with you all, try it out and join our Slack channel to share your generations or chat with us about customizations, enhancements, and more!