gait

command module
v0.0.0-...-ef24e85 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 15 Imported by: 0

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 an HCL config file from ~/.gait/gait.hcl, ~/.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
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