go-ask

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 1 Imported by: 0

README

go-ask

One-shot agentic CLI for investigating your repo. Asks questions, get answers.

What it does

$ ask "where is the function x?"
[response with code reference]

$ ask "what is the last version of the x library?"
[response with web search results]

$ ask "what is new in this reposity?"
[response with git diff]

$ some-comand | ask "how fix it?"
[response with output of the command]

The LLM investigates your repo using read-only tools, then answers. Works with any OpenAI-compatible provider

Install

go install github.com/devlusoft/go-ask@latest

Configure

~/.config/go-ask/config.json

{
  "api_key": "<your-api-key>",
  "base_url": "<your-api-base-url>",
  "model": "<your-model>"
}

Or via env vars: ASK_API_KEY, ASK_BASE_URL, ASK_MODEL.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
tty
ui

Jump to

Keyboard shortcuts

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