./agent-go

Chat less. Execute more.
A native Go agent that lives in your terminal.


Agent-Go is a command-line AI agent written in Go. It integrates with your shell to execute commands, manage files, and automate workflows. A rewrite of Agent-C, re-architected for speed and concurrency.

Install

curl -fsSL https://raw.githubusercontent.com/finettt/agent-go/main/install-agent-go.sh | bash

Usage

Interactive mode:

agent-go

Single shot:

agent-go "Create a directory and navigate into it"

Pipeline:

git diff | agent-go "review these changes"

Features

Config

Set via environment variables or ~/.config/agent-go/config.json:

export OPENAI_KEY="sk-..."
export OPENAI_MODEL="gpt-4-turbo"
export RAG_ENABLED=1
export AUTO_COMPRESS=1
github.com/finettt/agent-go ↗