gaia AI技能包 是 AI Skill Hub 本期精选AI工具之一。综合评分 6.3 分,整体质量稳定。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
gaia AI技能包是可安装AI技能包。安装后AI可调用专属能力,适合开发者和运营人员。
gaia AI技能包 是一款基于 Go 开发的开源工具,专注于 installable、ai、bubbletea 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
gaia AI技能包是可安装AI技能包。安装后AI可调用专属能力,适合开发者和运营人员。
gaia AI技能包 是一款基于 Go 开发的开源工具,专注于 installable、ai、bubbletea 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:go install(推荐) go install github.com/vonglasow/gaia@latest # 方式二:从源码编译 git clone https://github.com/vonglasow/gaia cd gaia go build -o gaia . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/vonglasow/gaia/releases
# 查看帮助 gaia --help # 基本运行 gaia [options] <input> # 详细使用说明请查阅文档 # https://github.com/vonglasow/gaia
# gaia 配置说明 # 查看配置选项 gaia --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export GAIA_CONFIG="/path/to/config.yml"
Gaia is a command-line interface (CLI) tool that provides a convenient way to interact with language models through a local or remote API. It features a beautiful terminal UI, configuration management, automatic role detection, response caching, and support for different interaction modes.
gaia tool git commit) or operator mode (gaia investigate), context and confirmation prompts use a rich terminal UI in a real terminal — styled boxes, keyboard shortcuts, text wrapping to window widthgit clone https://github.com/vonglasow/gaia.git
cd gaia
go build
$ gaia ask "What is the meaning of life?"
The meaning of life is a philosophical question that has been debated for centuries...
$ cat CVE-2021-4034.py | gaia ask "Analyze and explain this code"
This code is a Python script that exploits the CVE-2021-4034 vulnerability in Python...
$ git diff --staged | gaia ask "generate commit message"
feat: add user authentication system
Implement JWT-based authentication with login and registration endpoints.
Add password hashing using bcrypt and session management.
$ git diff | gaia ask "create branch name"
feature/user-authentication
```bash $ gaia tool git commit
Gaia stores its configuration in ~/.config/gaia/config.yaml. The configuration file is automatically created on first run with sensible defaults.
model: The language model to use (default: "mistral" for Ollama, "gpt-4o-mini" for OpenAI, "mistral-medium-latest" for Mistral)host: API host (default: "localhost" for Ollama, "api.openai.com" for OpenAI, "api.mistral.ai" for Mistral)port: API port (default: 11434 for Ollama, 443 for OpenAI and Mistral)cache.enabled: Enable/disable response caching (default: true)cache.dir: Cache directory path (default: ~/.config/gaia/cache)Tools allow you to execute external commands with AI-generated content. Example configuration:
tools:
git:
commit:
context_command: "git diff --staged"
role: "commit"
execute_command: "git commit -F {file}"
branch:
context_command: "git diff"
role: "branch"
execute_command: "git checkout -b {response}"
Tool configuration fields: - context_command: Command to run to gather context (optional) - role: Role to use for AI generation - execute_command: Command to execute with AI response (use {file} for multi-line, {response} for single-line)
The operator mode (gaia investigate) uses the following options (all under operator.):
operator.max_steps: Maximum number of steps per run (default: 10)operator.confirm_medium_risk: Ask for confirmation before running medium-risk commands (default: true)operator.dry_run: If true, never execute commands; only show what would be run (default: false)operator.denylist: List of forbidden command patterns (e.g. ["rm -rf", "sudo", "mkfs"]). Commands containing these are blocked.operator.allowlist: Optional. If set, only commands that start with or contain one of these patterns are allowed (prefix or substring, case-insensitive; not regex). Example: ["df", "du", "find"].operator.output_max_bytes: Maximum length of command output per step (default: 4096); longer output is truncated.operator.command_timeout_seconds: Timeout in seconds for each shell command (default: 30).operator.treat_exit_code_1_as_success: When true (default), commands that exit with code 1 are treated as success and their output is returned (e.g. git diff with no changes). When false, exit code 1 is reported as an error. Useful if you want strict failure detection for all commands.Example in config.yaml:
operator:
max_steps: 10
confirm_medium_risk: true
denylist:
- "rm -rf"
- "sudo"
- "mkfs"
allowlist: [] # leave empty to allow any command not on denylist
command_timeout_seconds: 30
treat_exit_code_1_as_success: true # default: git diff with no changes (exit 1) is not an error
```bash
gaia config list
gaia config get model gaia config get auto_role.enabled
gaia config set model llama2 gaia config set host 127.0.0.1 gaia config set port 8080 gaia config set auto_role.mode heuristic
gaia config path
gaia config create
gaia ask --role describe "ls -la" gaia ask --role shell "list files in current directory" gaia ask --role code "Hello world in Python" gaia ask --role commit "generate commit message" gaia ask --role branch "create branch name"
gaia ask --role my_custom_role "custom prompt"
```bash gaia --config /path/to/custom/config.yaml ask "Hello!"
gaia ask "What is the meaning of life?"
Gaia 是一个简单易用的命令行界面工具,提供美观的终端 UI 和进度条,支持交互式 TUI 提示(Bubble Tea)和广泛的配置选项。
Gaia 的功能包括:简单易用的命令行界面、美观的终端 UI 和进度条、交互式 TUI 提示(Bubble Tea)和广泛的配置选项。
Gaia 的环境依赖包括:Go 1.26 或更高版本、一个兼容的语言模型 API(例如 Ollama)或 OpenAI 或 Mistral 的 API 密钥。
Gaia 的安装步骤包括:从源码安装、使用 Docker 安装、使用 pip 安装等。
Gaia 的使用教程包括:基本问题查询、代码分析和 Git 提交消息生成等。
Gaia 的配置文件位于 ~/.config/gaia/config.yaml,自动创建在首次运行时。配置选项包括:语言模型、API 主机和端口、缓存设置等。
Gaia 支持多个 API 提供商,包括 Ollama、OpenAI 和 Mistral。
Gaia 的 FAQ 包括:基本问题查询、代码分析和 Git 提交消息生成等。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ GPL 3.0 — 强 Copyleft,衍生作品须开源,含专利保护条款,不可闭源使用。
经综合评估,gaia AI技能包 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | gaia |
| 原始描述 | 开源AI工具:Gaia is a command-line interface (CLI) tool for interacting with language models。⭐12 · Go |
| Topics | installableaibubbleteaclicobracommandsgo |
| GitHub | https://github.com/vonglasow/gaia |
| License | GPL-3.0 |
| 语言 | Go |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:GPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。