gait

command module
v0.0.0-...-3507f49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gait

A simple tool for interacting with LLMs.

Providers

gait supports the following model providers:

Provider Flag Type
Anthropic -anthropic cloud
Google -google cloud
Hugging Face -huggingface cloud
llama.cpp -llamacpp local
Ollama -ollama local
OpenAI -openai cloud
OpenRouter -openrouter cloud

Cloud providers read their API key from config (api_key) or from an environment variable (ANTHROPIC_API_KEY, GEMINI_API_KEY, HF_TOKEN, OPENAI_API_KEY, OPENROUTER_API_KEY).

Configuration

gait reads the first HCL config file found from ./gait.hcl, ~/.gait/gait.hcl, or ~/.gait.hcl (use -config to point at a specific file, or -no-config to skip it).

provider = "anthropic"          # default provider

provider "anthropic" {
    model   = "claude-opus-4-1"
    api_key = "sk-ant-..."
}

provider "ollama" {
    model    = "llama3.2:3b"
}

Examples:

gait -anthropic -model claude-sonnet-4-6
gait -ollama -model qwen2.5 -baseurl http://localhost:11545/v1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package llmreg provides a registry of LLM providers and models from models.dev.
Package llmreg provides a registry of LLM providers and models from models.dev.
The apply_patch tool, identical to the apply_patch tool in OpenAI Codex.
The apply_patch tool, identical to the apply_patch tool in OpenAI Codex.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址