Skip to content
@yagi-agent

yagi

yagi - AI agent

yagi logo

yagi-agent

An AI agent ecosystem built around yagi


A CLI chat client for multiple LLM providers with a plugin system powered by Yaegi. Tools are written as plain Go source files and loaded at runtime — no recompilation needed.

  • Multi-provider support — OpenAI, Gemini, Anthropic, Groq, DeepSeek, and 16+ providers
  • Dynamic plugin system — Drop Go files into ~/.config/yagi/tools/ to add tools
  • Memory system — Learn and recall information across conversations
  • Skills system — Load specialized prompts for different tasks
  • Session resumption — Save conversation history per directory and resume with -resume
  • Interactive & one-shot modes — Use interactively or pipe commands
go install github.com/yagi-agent/yagi@latest

# Interactive mode
yagi

# One-shot
git diff | yagi "Summarize this diff"

A GitHub Action for AI-powered pull request reviews using yagi. Automatically posts code review comments when a PR is created or updated.

  • Supports multiple LLM providers (OpenAI, Anthropic, Gemini, etc.)
  • Customizable review prompts
  • Optional custom avatar (yagi-chan) via GitHub App setup
  • Integrates with yagi-profiles for identity and tool configuration
- uses: yagi-agent/actions-yagi@v1
  env:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

A Vim / Neovim plugin for AI assistance using yagi.

  • Multiple commands: :YagiExplain, :YagiRefactor, :YagiFix, :YagiComment, and more
  • Send visual selections as context
  • Default key mappings under <Leader>y
Plug 'yagi-agent/vim-yagi'

A Discord bot powered by yagi. Directly imports yagi's engine package as a Go library — no subprocess required.

  • Per-user sessions — Conversation history with automatic expiry and persistence
  • Per-user memory — Learn and recall information per Discord user
  • Mention & prefix triggers — Responds to @yagi mentions or ! prefixed messages
  • Multi-provider support — Uses yagi's provider system (OpenAI, Anthropic, Gemini, etc.)
go build -o yagi-discord-bot
DISCORD_BOT_TOKEN="your-token" ./yagi-discord-bot -model openai/gpt-4.1-nano

A shared repository of identities (personas), skills, and tools for yagi. Also referenced by actions-yagi.

Directory Contents
IDENTITY.md / IDENTITY_EN.md Yagi-chan persona definitions (Japanese / English)
skills/ Skill prompts: code-review, debug, explain, refactor, test
tools/ Shared tools: fetch_url, list_files, read_file, write_file

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

Pinned Loading

  1. yagi yagi Public

    A CLI chat client for multiple LLM providers with a plugin system powered

    Go 41 4

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…