Settings

Theme

Show HN: An OpenAI API compatible server that uses GitHub Copilot SDK for LLMs

github.com

2 points by ashtadmir 9 days ago · 1 comment · 1 min read

Reader

I've been playing around with the new official GitHub Copilot SDK and realized it's a goldmine for building programmatic bridges to their models.

I built this server in Go to act as a OpenAI-compatible proxy. It essentially lets you treat your GitHub Copilot subscription as a standard OpenAI backend for any tool that supports it. I have tested it against OpenWebUI and Langchain.

Key Highlights:

- Official SDK: Built using the new Github Copilot SDK. It’s much more robust than the reverse-engineered solutions floating around and does not use unpublished APIs.

- Tool Calling Support: It maps OpenAI function definitions to Copilot's agentic tools. You can use your own tools/functions through the Copilot without copilot needing access to the said tools just the definitions is enough.

The goal was to create a reliable "bridge" so I can use my subscription models in my preferred interfaces.

chewz 9 days ago

Very nice :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection