Skip to content

HelgeSverre/glue

Repository files navigation

Glue

A small coding agent for the terminal.

license MIT dart 3.12+ platform macos linux windows status alpha getglue.dev


Edits files, runs shell, keeps resumable sessions — the usual things. The web tooling is a bit more developed than in most coding agents: browser automation, fetch with OCR fallback, search. That's because I use Glue for scraping and automation about as much as for coding. Runs on your host or in a Docker sandbox.

Packages

Directory Description
cli/ Glue CLI and TUI — the main application (Dart)
website/ Unified marketing + docs site (VitePress) — served at getglue.dev
docs/ Canonical reference material (models.yaml, plans, design docs)
agents/ Brand guide, architecture notes, and agent prototype material
backlog/ Backlog.md task and milestone tracking

Quick start

Requires Dart SDK ≥ 3.12 and just.

cd cli
just install    # compile AOT binary → ~/.local/bin/glue

See cli/README.md for run-from-source and additional install options.

Set an API key and launch:

export ANTHROPIC_API_KEY=sk-...
glue

Other providers work out of the box: OpenAI, Mistral, GitHub Copilot (OAuth device flow), and Ollama (local).

Non-interactive use:

glue -m claude-sonnet-4-6 -p "summarize this repo"   # choose model + print
glue --resume                                        # open session picker
glue --resume 1740654600000-abc "continue here"     # resume by ID and send a prompt
glue --continue                                      # resume most recent session
glue doctor                                          # config and install health check
glue completions install                             # shell completions (zsh/bash/fish/pwsh)

See getglue.dev for the full feature tour, provider setup, and examples.

Development

The root justfile wraps the cli/ and website/ modules.

just              # list all recipes
just build        # monorepo build (CLI binary + site)
just test         # monorepo tests (CLI)
just check        # monorepo quality gate (CLI + site)
just clean        # monorepo cleanup

just cli::build   # CLI only: AOT binary
just cli::test    # CLI only: unit tests
just cli::check   # CLI only: gen-check + analyze + test
just cli::e2e     # e2e suite (requires Ollama + qwen3:1.7b)

just site-dev     # serve getglue.dev locally
just site-build   # build the unified site
just site-check   # site quality gate

See CONTRIBUTING.md and cli/README.md for deeper development guidance.

About

An AI coding agent built in Dart — multi-provider, multi-model, with built-in tools, subagents, browser automation, and observability.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors