GAL (General Agent Loop & Executor)
GAL is a self-contained agent runtime for CLI, Desktop, browser, IM, and HTTP, with a kernel-enforced sandbox on Linux, macOS, and Windows. It runs without Python, Node, or Docker and includes sessions, tool execution, scheduled tasks, a local knowledge base, and an audit log.
About GAL (General Agent Loop & Executor)
GAL (General Agent Loop & Executor)
GAL is an LLM agent runtime that ships as self-contained Go binaries: the gal CLI/server and the galw native Desktop app. It runs on Linux, macOS, and Windows and isolates tool execution with an OS-level sandbox (Linux namespaces, macOS Seatbelt, Windows WRITE_RESTRICTED token) instead of per-tool permission prompts. The page describes a shared engine and session store across CLI, Desktop, and IM/HTTP surfaces, a /sudo command for one-turn privilege escalation, a SQLite audit log, a local document knowledge base with keyword search, support for OpenAI-compatible and Anthropic protocols with a 45+ provider preset catalog, sub-agents, MCP server and skill support, and scheduled timers. The site also includes a disclaimer that the authors accept no liability for data loss or system damage and advises starting with non-sensitive projects.
Key features
- Kernel-level sandbox on Linux, macOS, and Windows
- Self-contained binaries with no Python, Node, or Docker requirement
- CLI (gal chat) and native Desktop app (galw) sharing sessions, tools, and config
- IM and HTTP server mode (gal serve) with an OpenAI-compatible HTTP API
- /sudo for single-turn unrestricted access and /admin mode for managing GAL
- Safe mode with credential directory isolation and filtered cloud environment variables
- Audit log in SQLite at ~/.gal/audit/audit.db with 730-day retention
- Local knowledge base with BM25 keyword search, optional semantic retrieval, and OCR support for PDF, Office, HTML, Markdown, CSV, and plain text
- Bring-your-own model support for OpenAI-compatible APIs and native Anthropic protocol with a 45+ provider preset catalog
- Context compression and configurable limits (max_rounds, context_limit) in gal.yaml
- Sub-agents with isolated context and optional local model selection
- Scheduled one-shot, cron, and interval timers with pause and resume
- MCP server and SKILL.md skill integration
- Session constraints via /profile and per-session reasoning depth via /reasoning
- Session secret vault that redacts values from results and logs
- Multi-language interface in nine languages and eight colour themes
- Export of sessions as zip and single turns as styled HTML
- Pipe and one-shot modes for scripting and CI
Best suited for
- Developers working on local projects and source trees
- SRE and DevOps engineers diagnosing hosts with read-only defaults
- QA testers running reproducers and integration tests, including in CI pipelines
- Data analysts working with CSV files, SQL dumps, and notebooks
- Teams bridging Feishu, DingTalk, or Slack without a public endpoint
- Tool builders embedding an agent into their own product via HTTP API
- Non-technical users who want a desktop chat window
Pricing
Not stated on the website
Discussion
Used GAL (General Agent Loop & Executor)? Share what worked and what didn’t.
No comments yet. Start the conversation.