aviary

package module
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Aviary: the AI Agent Nest

Aviary logo

Release Tests License

Aviary is a full AI assistant platform. Connect your AI models to Slack, Signal, Discord, and more. Have conversations, set up scheduled tasks, and let your agents work for you, all managed from a CLI or a web-based control panel.

Website | Docs: Getting Started · Configuration · CLI Reference · MCP Tools


Install

macOS / Linux
Homebrew
brew tap lsegal/aviary https://github.com/lsegal/aviary
brew install aviary

This tap works with Homebrew on macOS and Linux.

Manual (cURL)
curl -fsSL https://github.com/lsegal/aviary/releases/latest/download/install.sh | sh

The install script is published with every release. It downloads the latest release binary for your OS and architecture, verifies it against the release's checksums.txt, installs it to ~/.local/bin/, adds that directory to your PATH, and then runs aviary install-skills to install Aviary's gh-* skills (this step needs Node.js for npx). Re-running it upgrades in place. Pass --skip-skills (curl -fsSL https://github.com/lsegal/aviary/releases/latest/download/install.sh | sh -s -- --skip-skills) or set AVIARY_SKIP_SKILLS=1 to skip the skills, and --version <tag> or AVIARY_VERSION to install a specific release.

Windows
Scoop
scoop bucket add aviary https://github.com/lsegal/aviary
scoop install aviary/aviary

Scoop installs Aviary into Scoop's managed package directory and shims aviary.exe onto your PATH.

Manual (PowerShell)
irm https://github.com/lsegal/aviary/releases/latest/download/install.ps1 | iex

The install script is published with every release. It downloads and verifies the latest release binary, installs it to ~/.local/bin/, adds that directory to your PATH, and then runs aviary install-skills. Set $env:AVIARY_SKIP_SKILLS = 1 to skip the skills, or $env:AVIARY_VERSION to install a specific release.

Docker
mkdir -p ~/.config/aviary
docker run --rm -it \
  -p 16677:16677 \
  -p 1455:1455 \
  -p 45289:45289 \
  -v ~/.config/aviary:/home/bot/.config/aviary \
  ghcr.io/lsegal/aviary:latest

The image runs aviary serve by default. With the bind mount above, Aviary stores its config, TLS certs, and login token in your host ~/.config/aviary/ directory.

The Docker image also includes a working Chrome/Chromium browser, so browser tasks run in headless mode out of the box without extra setup.

Voice message transcription also works out of the box in Docker: the image bundles whisper.cpp's whisper-cli, ffmpeg, and the whisper base.en model, so nothing is installed or downloaded at runtime.

Tip: -p 1455:1455 is only needed for OpenAI Codex OAuth, and -p 45289:45289 is only needed for Gemini OAuth. If you are using API keys or other providers, you can omit those extra port mappings.

Binary Release

Download the latest release for your platform from the Releases page, place the binary in your $PATH, and make it executable.

Go Install
go install github.com/lsegal/aviary/cmd/aviary@latest

Quick Start

# Start the server
aviary serve

# Set up a provider credential and create your first agent
aviary configure

# Chat with an agent
aviary agent run assistant "Hello!"

Open the web control panel at https://localhost:16677 and log in with the token from ~/.config/aviary/token.

Using Docker, run one-off CLI commands against the same mounted config directory by overriding the container command:

docker run --rm -it \
  -v ~/.config/aviary:/home/bot/.config/aviary \
  ghcr.io/lsegal/aviary:latest \
  aviary configure

For a full walkthrough see the Getting Started guide.


Documentation

Getting Started Install, first agent, first chat
Configuration aviary.yaml walkthrough — providers, agents, channels, tasks
Scheduled Tasks Cron and file-watch tasks
Code Loop Watch GitHub issues and fix them with CLI providers
Control Panel Web UI overview
CLI Reference All commands and flags
Config Reference Full aviary.yaml schema
MCP Tools All available MCP tools

Contributing

See CONTRIBUTING.md.

Documentation

Overview

Package aviary embeds the files that ship from the repository root.

Index

Constants

View Source
const CodingSkillsRoot = ".agents/skills"

CodingSkillsRoot is where the skills Aviary ships sit in this repository and inside CodingSkills. skills.sh installs them from the same path.

Variables

View Source
var CodingSkillNames = []string{"gh-fix", "gh-discuss", "gh-create", "gh-safe-merge"}

CodingSkillNames are the skills Aviary ships for providers, in display order.

View Source
var CodingSkills embed.FS

CodingSkills is the text of the skills Aviary ships that this binary was built with. Installed copies are compared against it to find outdated ones.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
aviary command
Package main is the entry point for the aviary CLI.
Package main is the entry point for the aviary CLI.
aviary/cmd
Package cmd implements the aviary CLI subcommands.
Package cmd implements the aviary CLI subcommands.
internal
agent
Package agent manages agent lifecycle, sessions, and LLM prompting.
Package agent manages agent lifecycle, sessions, and LLM prompting.
auth
Package auth manages credential storage for Aviary.
Package auth manages credential storage for Aviary.
browser
Package browser provides browser automation via Chrome DevTools Protocol.
Package browser provides browser automation via Chrome DevTools Protocol.
buildinfo
Package buildinfo holds build-time metadata injected by release builds.
Package buildinfo holds build-time metadata injected by release builds.
channels
Package channels implements messaging channel integrations.
Package channels implements messaging channel integrations.
cliagent
Package cliagent runs agent turns through a coding-agent CLI (Claude Code, Codex, or any CLI provider definition that resumes its sessions) instead of a model API.
Package cliagent runs agent turns through a coding-agent CLI (Claude Code, Codex, or any CLI provider definition that resumes its sessions) instead of a model API.
clidefs
Package clidefs describes the coding-agent CLIs aviary can dispatch work to as data rather than as code.
Package clidefs describes the coding-agent CLIs aviary can dispatch work to as data rather than as code.
clidoctor
Package clidoctor is aviary's one probe for providers reached through a CLI.
Package clidoctor is aviary's one probe for providers reached through a CLI.
codingskills
Package codingskills installs and tracks the skills Aviary ships for providers (gh-fix, gh-discuss, gh-create and gh-safe-merge).
Package codingskills installs and tracks the skills Aviary ships for providers (gh-fix, gh-discuss, gh-create and gh-safe-merge).
commandpolicy
Package commandpolicy evaluates allow/deny command rules for agents.
Package commandpolicy evaluates allow/deny command rules for agents.
config
Package config handles loading, validation, and watching of aviary.yaml.
Package config handles loading, validation, and watching of aviary.yaml.
cronutil
Package cronutil centralizes Aviary's accepted cron parsing rules.
Package cronutil centralizes Aviary's accepted cron parsing rules.
domain
Package domain defines the core domain entities for Aviary.
Package domain defines the core domain entities for Aviary.
filesystem
Package filesystem resolves paths and enforces filesystem allowlists.
Package filesystem resolves paths and enforces filesystem allowlists.
llm
Package llm provides adapters for language model providers.
Package llm provides adapters for language model providers.
logging
Package logging provides structured logging utilities for Aviary.
Package logging provides structured logging utilities for Aviary.
mcp
Package mcp implements the MCP server and client dispatch for Aviary.
Package mcp implements the MCP server and client dispatch for Aviary.
memory
Package memory manages per-agent memory notes stored as markdown files.
Package memory manages per-agent memory notes stored as markdown files.
models
Package models exposes the embedded catalog of supported model identifiers.
Package models exposes the embedded catalog of supported model identifiers.
process
Package process starts the subprocesses Aviary owns, such as CLI providers and the ngrok tunnel, and makes sure none of them outlives Aviary.
Package process starts the subprocesses Aviary owns, such as CLI providers and the ngrok tunnel, and makes sure none of them outlives Aviary.
projects
Package projects is the Code Loop engine: it watches GitHub repositories, project boards and Discussions boards for ready issues and runs CLI jobs on them through the gh-fix and gh-discuss skills.
Package projects is the Code Loop engine: it watches GitHub repositories, project boards and Discussions boards for ready issues and runs CLI jobs on them through the gh-fix and gh-discuss skills.
projects/browser
Package browser drives the headless Chrome that browser mode reads GitHub through.
Package browser drives the headless Chrome that browser mode reads GitHub through.
projects/core
Package core holds the types aviary's halves exchange: the issues and comments a source produces, the state a run reads back from GitHub, and the target syntax that names where either comes from.
Package core holds the types aviary's halves exchange: the issues and comments a source produces, the state a run reads back from GitHub, and the target syntax that names where either comes from.
projects/ngrok
Package ngrok starts and supervises the ngrok tunnel that carries GitHub webhook deliveries to the Code Loop engine.
Package ngrok starts and supervises the ngrok tunnel that carries GitHub webhook deliveries to the Code Loop engine.
saferestart
Package saferestart coordinates restarts and upgrades with the subsystems that run long jobs, so a restart stops those jobs at a checkpoint, saves their sessions, and lets each one resume afterwards.
Package saferestart coordinates restarts and upgrades with the subsystems that run long jobs, so a restart stops those jobs at a checkpoint, saves their sessions, and lets each one resume afterwards.
schedule
Package schedule computes when a scheduled task fires.
Package schedule computes when a scheduled task fires.
scheduler
Package scheduler drives task execution via cron, file-watch, and job queue.
Package scheduler drives task execution via cron, file-watch, and job queue.
scriptruntime
Package scriptruntime executes sandboxed embedded scripts.
Package scriptruntime executes sandboxed embedded scripts.
server
Package server implements the Aviary HTTPS server.
Package server implements the Aviary HTTPS server.
sessiontarget
Package sessiontarget manages persisted session delivery targets.
Package sessiontarget manages persisted session delivery targets.
store
Package store manages Aviary's file-based data directory.
Package store manages Aviary's file-based data directory.
testenv
Package testenv provides process-wide helpers for isolating Go tests from the user's real Aviary config and data directories.
Package testenv provides process-wide helpers for isolating Go tests from the user's real Aviary config and data directories.
transcribe
Package transcribe turns recorded speech into text.
Package transcribe turns recorded speech into text.
transcript
Package transcript defines the normalized per-job event schema Code Loop records for every CLI run, and the mappers that turn each CLI's machine-readable event stream into it.
Package transcript defines the normalized per-job event schema Code Loop records for every CLI run, and the mappers that turn each CLI's machine-readable event stream into it.
update
Package update implements Aviary version checks and binary upgrades.
Package update implements Aviary version checks and binary upgrades.
version
Package version is aviary's one version parser.
Package version is aviary's one version parser.
wake
Package wake reports when the machine resumes from sleep, so subsystems that keep timers or connections can recover from a gap they did not run through.
Package wake reports when the machine resumes from sleep, so subsystems that keep timers or connections can recover from a gap they did not run through.
Package skills provides discovery and loading for builtin and installed skills.
Package skills provides discovery and loading for builtin and installed skills.
support
templates
Package templates exposes embedded filesystem templates used to initialize runtime artifacts.
Package templates exposes embedded filesystem templates used to initialize runtime artifacts.

Jump to

Keyboard shortcuts

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