Audience: Federal teams using AI coding agents
Purpose: Get AI coding agents running safely inside isolated sandboxes, connected to USAi (the GSA-hosted LLM gateway atapi.gsa.usai.gov)
In one sentence: this quickstart gets you running an AI coding agent connected to USAi in under 5 minutes, using acq, a CLI tool provided here.
acq is the entry point. It runs your agent inside an isolated sandbox and
configures the environment for federal usage. To provide that isolation, it uses msb
(microsandbox), a lightweight, open-source microVM runtime.
acq is designed to support multiple isolation backends. A Docker Sandboxes (
sbx) backend is also supported. See docs/howto/sbx.md for sbx setup and docs/BACKEND_GUIDE.md for how the two backends compare.
Your journey: This repository is part of a three-repo ecosystem.
| Repo | Purpose | When to Use |
|---|---|---|
| Quickstart (you are here) | Get running | First day setup, sandboxing + USAi config |
| Playbook | Do it right | Repo setup, standards, best practices |
| Patterns | Share & learn | Community patterns, lessons learned |
Once you complete this Quickstart to get your environment working, use the Playbook to set up your projects properly, and visit Patterns to share what you learn.
AI coding agents can read files, write code, and execute commands. That makes them potent agents of chaos if they're compromised. Running them in sandboxes provides:
- Isolation — Agent shouldn't be able to access the full host system; they should be limited both the filesystem and network access
- Secret protection — Secrets are injected into outgoing requests, so the actual secret is never available to the agent for exfiltration
- Reproducibility — Agents should have a consistent configuration tailored to their operating context every time they run
- Audit trail — Hard boundaries for what the agent can do, potentially logging violations
For the full comparison of the two backends and their tradeoffs, see docs/BACKEND_GUIDE.md.
You'll do three things: open a terminal, install acq, and run it.
You do not need to be a developer, and you do not need administrator
rights on your Mac.
- macOS: press ⌘-Space, type "Terminal", press Return. (Or find it in Applications → Utilities.)
You'll type (or paste) the commands below into this window.
Not on an Apple Silicon Mac? The sandbox needs hardware virtualization (macOS on Apple Silicon, Windows 11 with the Windows Hypervisor Platform, or Linux with
/dev/kvm). See supported hosts and other platforms.
Paste this one line and press Return:
curl -fsSL https://raw.githubusercontent.com/GSA-TTS/agentic-coding-quickstart/main/install.sh | shThat's it — you don't have to choose how to install. The installer:
- picks the best method already on your Mac — Homebrew if you have it, then npm if you have it, otherwise a self-contained download — so you get automatic upgrades/uninstall if you already use a package manager, and a working setup either way,
- puts the
acqcommand on your computer so you can run it from any folder, - offers to install msb (the sandbox
acqruns your agent inside), and - asks before changing anything about your setup — it never edits your configuration without your OK, and it never needs administrator rights.
Prompted to install "Command Line Tools"? (click to expand)
acq needs Apple's Command Line Tools (they provide git, which acq uses).
If they aren't installed yet, the installer starts them for you and waits
while they install — you'll see a window titled "Install Command Line
Developer Tools." Click Install and accept the license. No administrator
rights are required.
Can't find the window? It sometimes opens minimized in your Dock rather than in front of you — look there. The installer keeps waiting until the tools finish, then continues on its own.
Prefer to look before you run it? (recommended) (click to expand)
You never have to pipe a script straight into your shell. Download it, read it, then run it:
curl -fsSL -o install-acq.sh https://raw.githubusercontent.com/GSA-TTS/agentic-coding-quickstart/main/install.sh
less install-acq.sh # read it
sh install-acq.sh --dry-run # show what it WOULD do, changing nothing
sh install-acq.sh # actually installYou can also force a specific method with --method brew|npm|clone.
Already use Homebrew or Node, or prefer to run from a clone? The one-line installer detects and uses whichever package manager you have. For the direct commands, a manual clone install, or testing a tagged release, see Installing acq.
Point acq at the folder you want the agent to work in (an existing project, or
a new empty folder you just made):
acq run opencode ~/my-projectThat's it — you're now running an AI coding agent with USAi access and restricted filesystem and network access. Repeat Step 3 for each project.
Note
The first run takes a minute or two. acq boots a microVM, installs the
coding agent, and fetches its configuration kits, showing progress as it goes.
Later runs against the same project are much faster.
On first run, acq sets you up interactively — nothing to configure beforehand:
- USAi key —
acqprompts you to paste a key and validates it. Create one at the USAi key console (keys expire every 7 days). - GitHub token — when your project contains GitHub repos,
acqoffers to walk you through creating a repo-scoped token. You can decline and add one later. - Git signing —
acqwarns if your commits won't sign/verify correctly, and tells you how to fix it.
acq injects secrets into the sandbox at runtime — the real values never enter
the guest.
The two things a first-timer most often hits are below. For everything else (expired USAi keys, DNS resolution, unverified commits, stale branches, wrong providers, auth/TLS failures, and more), see docs/KNOWN_FAILURE_MODES.md.
"no such file or directory: ./acq" (click to expand)
This means acq isn't where you're typing the command. Two fixes:
- Recommended: install
acqwith the one-line installer in Step 2. Then runacq(no./) from any folder. - If you cloned manually:
./acqonly works from inside theagentic-coding-quickstartfolder — that's where theacqfile lives.cdback into it first (cd ~/agentic-coding-quickstart, or wherever you cloned it), then run./acq run opencode ~/my-project.
"No developer tools were found" / git won't run (click to expand)
The first time your Mac uses git, it installs the Command Line Tools. If you
see xcode-select: note: No developer tools were found, requesting install,
run:
xcode-select --installA pop-up window titled "Install Command Line Developer Tools" appears — click Install and accept the license. If you can't find the window, look in your Dock — it sometimes opens minimized there rather than in front of you. When it finishes, re-run your command. (No administrator rights are required.)
- How it works, customizing, extra kits, optional integrations (web UI, editors): docs/CONCEPTS.md
- Deeper
acqhow-to, backend selection, manual install: docs/howto/acq.md - Choosing between the msb and sbx backends: docs/BACKEND_GUIDE.md
- Working across multiple repos: Multiple Workspaces
- Set up your project properly — Use the Playbook
- Share what you learn — Contribute to the Patterns repo
- Help improve these docs — Found something unclear? Open an issue or submit a PR
Once in a while, refresh your setup to pick up updates (via your package manager,
or git fetch && git pull in a clone), and
rotate your USAi key when it expires
(every 7 days).
The playbook also provides reusable agent skills — step-by-step procedures
for common tasks, following the agentskills.io
standard. When you launch a sandbox with acq, the agentic-coding-playbook kit
symlinks these into ~/.agents/skills so your agent discovers them automatically
— no separate checkout needed.
| Source | Skills | Examples |
|---|---|---|
| Playbook | Federal compliance, security | federal-security-controls-lookup, ato-package, code-review, cloudgov-deploy |
| Patterns | Development workflows | accessibility-review, uswds-prototype, test-generation, secure-code-review |
- Troubleshooting: docs/KNOWN_FAILURE_MODES.md
- Agent behavior: AGENTS.md
- Contributing: CONTRIBUTING.md
- Questions: Open a GitHub issue
- Platform issues: support@usai.gov
Data Classification: Internal/Non-sensitive — the Quickstart is a local development environment for building Low/Moderate-impact code and projects, not an authorized production/hosted environment (no PII, no CUI).