On this page
Create your first agent
This walkthrough ends with a named agent answering one small request. Configure a model before sending that request, then use the same agent from the terminal or browser.
Prerequisites
You need a terminal and access to a supported model provider. For a local provider, its model server must be reachable. You do not need a template, project workspace, or external event integration for this first task.
Step 1: Install Holon
Option A: Homebrew (recommended)
brew tap holon-run/tap
brew install holon
Option B: Direct binary download
Download the binary for your operating system and architecture from
GitHub Releases, make it
executable if needed, and place it on your PATH.
Option C: Build from source
If you are changing Holon itself, follow the local build workflow.
Verify the install
holon --help
If the command is missing, fix your PATH before continuing.
Step 2: Configure a model
holon onboard
holon config doctor
The wizard selects a provider, configures credentials, and chooses a model. Follow the onboarding walkthrough if you need help with the prompts. Resolve missing credentials or an unavailable model before proceeding; never paste credentials into an agent conversation.
Step 3: Start the runtime
holon daemon start
holon daemon status
Verify the daemon is running
Check that status reports the expected running daemon. The daemon hosts agents and their work while clients connect and disconnect.
Step 4: Create a named agent
Choose an unused ID; this example uses first-helper:
holon agent create first-helper
holon agent list
holon run --agent first-helper "Explain Rust ownership in three sentences. Do not change any files."
Confirm that the list contains first-helper and that the request produces an
answer. An agent appearing in the list proves creation, not that its model can
answer; the small request checks both. If it fails, inspect the error and run
holon config doctor again.
The default agent
A new runtime also provides main. You can use it instead of creating a named
agent. A named agent helps separate a continuing responsibility from other work;
see Agents and guidance.
Step 5: Continue in a client
Start the TUI
holon tui
TUI basics
Select first-helper before sending another request. Type / for the command
menu and /help for the current shortcuts. See TUI reference
for navigation and commands.
You can also use the Web GUI. Confirm the selected agent ID in either client so the follow-up goes to the same agent.
Run a one-shot question instead
For a bounded request without a persistent daemon session:
holon run "Explain Rust ownership in three sentences"
A one-shot run may use several model/tool turns before it finishes. Do not use it as a substitute for tracking work that must wait on CI or a later decision; see Run a long-lived task.
Stop the daemon
After all work has finished, holon daemon stop stops the local daemon. Do not
stop it merely to close a client: other agents may still be working.
Next steps
The former quick-examples page now redirects here. Use the task-specific guides below for work beyond the first successful request.
- Create an agent from a template covers finding and preparing a role template before creating another agent.
- Configure models covers manual credentials, per-agent model choices, fallback, and configuration inspection.
- Connect to a remote runtime covers access modes, authentication, and remote clients.
- Automate over HTTP covers submitting and following work through the API.
- Work with workspaces covers project selection and isolated changes. Run a long-lived task covers goals that need durable progress and waits.
Troubleshooting
Daemon won't start
Check holon daemon status and holon daemon logs. Resolve the reported startup
error rather than deleting runtime state or repeatedly starting another daemon.
TUI can't connect
Confirm that the daemon is running on the host you intend to use. For a remote connection, follow the remote guide above rather than assuming the local socket can reach another machine.
Model errors
Run holon config doctor. Check the chosen model and credentials with the
model-configuration guide above. See Troubleshooting
for diagnosing a request that was accepted but failed or stopped making progress.
