whatisgithub

What is byto?

trfhgx/byto — explained in plain English

Analysis updated 2026-05-18

16GoAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

Byto is a Go gateway that lets OpenAI-compatible chat apps talk to Google's Vertex AI Gemini models without rewriting the app.

Mindmap

mindmap
  root((byto gateway))
    What it does
      Bridges OpenAI apps
      Talks to Vertex Gemini
      No app rewrite needed
    Key features
      Chat completions endpoint
      Async chat jobs
      Model catalog refresh
      Structured request logs
    Tech stack
      Go
      Vertex AI
      Docker and Cloud Run
    Use cases
      Roleplay chatbots
      Production traffic testing
      Free tier experiments

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Point an existing OpenAI-compatible chatbot at Byto to run it on Google's Gemini models instead of OpenAI.

USE CASE 2

Deploy Byto on Cloud Run to give a chat app a production ready connection to Vertex AI.

USE CASE 3

Use Byto's live traffic logs to debug token usage, errors, and provider responses without touching app code.

USE CASE 4

Run Byto locally with Docker to experiment with Vertex AI's free tier for a personal chat project.

What is it built with?

GoVertex AIGeminiDockerCloud Runk6

How does it compare?

trfhgx/byto1296018244/grok-manager787a68/hubproxy
Stars161616
LanguageGoGoGo
Setup difficultymoderatemoderatemoderate
Complexity4/53/53/5
Audiencedeveloperops devopsops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a Google Cloud project with Vertex AI access and Go 1.22 or newer, or Docker to run the packaged service.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

Byto is a small Go service that sits between chat applications and Google's Gemini models. Many chat tools and apps only know how to talk to OpenAI's API format, and Byto translates those requests into calls that Google's Vertex AI can understand, so you can point an existing OpenAI-compatible app at Byto instead of rewriting it to speak Vertex AI directly. People use it for roleplay chatbots and other chat experiences, and developers also use it to test and run AI applications against live production traffic, including experiments on Vertex AI's free tier. Byto handles the Google Cloud side of things in one place: managing access, tracking which models are available, streaming responses, caching, and reasoning controls. It can run as a single small service on your own machine, inside Docker, or on Google Cloud Run. Once running, Byto exposes familiar OpenAI-style endpoints such as chat completions, model listing, and a health check, plus some of its own, including endpoints for async chat jobs and Vertex specific caching. It keeps structured logs of requests, provider responses, token usage, and errors so you can see what is happening with live traffic without changing your application's prompts. There is no default model: if a request does not specify one, Byto returns an error rather than guessing. Which models are allowed comes from a bundled configuration file, aliases, or an environment setting that permits any Gemini model, and Byto checks each candidate model against Vertex on startup to confirm it actually works before enabling it. To get started, you can download a prebuilt binary from GitHub Releases for macOS, Linux, or Windows, or clone the repository and build it from source using Go, with setup scripts provided for Mac and Linux (Bash) and Windows (PowerShell). A Google Cloud project with Vertex AI access is required. Docker Compose is also supported for a one command startup. The project includes automated tests, including live checks against real Google Cloud accounts, and load tests built with k6. Byto is released under the MIT License.

Copy-paste prompts

Prompt 1
Walk me through cloning this repository and running the setup script for macOS or Linux.
Prompt 2
Explain how Byto decides which Gemini models are allowed and enabled at startup.
Prompt 3
Show me how to send a chat completion request to a running Byto instance with curl.
Prompt 4
Help me deploy Byto to Google Cloud Run using the provided Docker setup.
Prompt 5
Explain the difference between the async chat jobs endpoints and the regular chat completions endpoint.

Frequently asked questions

What is byto?

Byto is a Go gateway that lets OpenAI-compatible chat apps talk to Google's Vertex AI Gemini models without rewriting the app.

What language is byto written in?

Mainly Go. The stack also includes Go, Vertex AI, Gemini.

What license does byto use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is byto to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is byto for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.