Everything you need to install, configure, and start using Glue in your projects.
Glue reads your provider keys from environment variables. Set the one for your preferred provider:
| Command / Flag | Description | Example |
|---|---|---|
glue | Start an interactive session in the current directory | glue |
glue "prompt" | Start with an initial prompt | glue "add auth endpoint" |
--model, -m | Select LLM provider and model | glue -m gpt-5 |
--worktree, -w | Run in a specific git worktree | glue -w feat/auth |
--new-worktree | Create a new worktree and start a session | glue --new-worktree feat/api |
--approve-all | Auto-approve all tool calls (use with caution) | glue --approve-all |
--resume, -r | Resume the last session in this directory | glue -r |
--list | List all active sessions | glue --list |
Glue works out of the box, but you can customize behavior with a .glue/ directory in your project root.
.glue/config.json — Main configuration.glue/mcp.json — MCP server definitions.glue/rules.md — Custom instructions for the agentConfig is hierarchical. Global settings live in ~/.glue/, project-level in .glue/. Project config overrides global.