Built-in Tools, Agents & Bundles
This page lists every tool, agent role, first-party bundle, and optional extra bundle shipped with Hya.
1. Core hya-bare Tools & Code Mode (including --bare)
The standard tools live in hya-core. Hya registers the native runtime in crates/hya-code-mode when Code Mode is enabled.
| Tool | Default permission | What it does |
|---|---|---|
read |
Allow (inside Project) | Read text files (with LINE#HASH anchors when hya/hashline is enabled; standard verbatim/offset text when disabled or under --bare), images (png/jpeg/gif/webp), directories, internal handles (artifact://, skill://, local://), and any registered custom URI scheme via HandleRouter. |
write |
Ask | Create or overwrite a file on disk, local://<name>, or any registered writable custom URI scheme (post-edit formatting/LSP run via hooks rather than hardcoded calls). |
edit |
Ask | Edit an existing file via standard exact text replacement (hya-bare) or content-hashed LINE#HASH anchors (hya/hashline). |
bash |
Ask (command, alias shell) |
Execute a shell command (hya-core kernel primitive; supports timeout, cwd, run-budget yielding, and coding output caps). |
grep |
Allow | Search file contents with a regex or literal pattern (returns path:line:text in hya-bare or hashline-anchored matches when hya/hashline is enabled). |
todo |
Allow | Replace/update the session’s ordered checklist (pending, in_progress, completed, blocked). Permanently kernel-exclusive; cannot be overridden. |
rewrite |
Allow | Fold earlier steps in the current turn behind a clean marker while preserving user messages and todos. Permanently kernel-exclusive; cannot be overridden. |
skill |
Allow (read_only) |
Load the full body of a discovered or bundled SKILL.md by name. |
code-mode__run |
Ask (opt-in via tools.code.mode) |
Run a traced JavaScript async program calling tools.*. The script can use agent() or agents.run when a tool with ToolPermission::Task is registered. |
2. Registry Tools (Full mode — 23 bundle tools + core bash & skill)
In full mode, Hya loads all of its native tool bundles (hya/hashline, hya/coding-extras, hya/multi-agent, hya/network, hya/agent-channels, hya/plan, and hya/workflow — all over Lockstep Native ABI v2) alongside core bash, skill, and the kernel-exclusive todo and rewrite.
hya/hashline (Content-Hashed File Tools — overrides: hya/bare)
hya/hashline is a Lockstep Native ABI v2 bundle (hya/hashline, schema_version: 2, exported via export_native_bundle_v2! / hya_native_register_v2) that overrides hya-bare’s standard read, write, edit, and grep with HashlineRuntime-backed LINE#HASH line-addressed primitives. Custom URI schemes delegate generically through HandleRouter (DynamicUriHandler / UriSchemaHandler), and post-edit formatting/LSP run through host/bundle hooks rather than hardcoded library calls.
Opting out (falling back to standard hya-bare file tools):
schema_version = 3
[bundles.builtin]profile = "full"disable = ["hya/hashline"]When hya/hashline is disabled (or under --bare / profile = "bare"), hya/hashline is not loaded and hya-bare’s standard read, write, edit, and grep take over cleanly.
| Tool | Default permission | Descriptor / Overrides | What it does |
|---|---|---|---|
read |
Allow (read_only, protected: true) |
tools/read.json (overrides: hya/bare) |
Read UTF-8 files with LINE#HASH anchors (or raw: true), directories, images/PDFs, internal handles, and custom HandleRouter URIs. |
write |
Ask (tool) |
tools/write.json (overrides: hya/bare) |
Atomic whole-file write with optional copied hashline prefix stripping, local:// scratch handles, and writable custom HandleRouter URIs. |
edit |
Ask (tool) |
tools/edit.json (overrides: hya/bare) |
Strict hashline edits (replace, append, prepend by LINE#HASH anchor, or replace_text) with stale-anchor recovery. |
grep |
Allow (read_only) |
tools/grep.json (overrides: hya/bare) |
Regex or literal content search returning hashline-anchored matches and recording recovery snapshots. |
hya/coding-extras (Workspace Search, Patching, User Questions, LSP & Formatters)
hya/coding-extras is a Lockstep Native ABI v2 bundle (hya/coding-extras, schema_version: 2, capabilities: [tools, hooks, services], exported via export_native_bundle_v2! / hya_native_register_v2) that packages workspace ergonomics, code intelligence, and automatic post-edit formatting/diagnostics on top of hya-bare.
Configuration & Usage:
Configure formatters and LSP language servers in ~/.config/hya/bundles/hya/coding-extras.toml (see the official repository example for additional fields):
[formatter.rustfmt]command = ["rustfmt", "$FILE"]extensions = [".rs"]
[lsp.rust-analyzer]command = ["rust-analyzer"]extensions = [".rs"]Set formatter = false or lsp = false to disable either subsystem, or disable the entire bundle in ~/.config/hya/config.toml with bundles.builtin.disable = ["hya/coding-extras"].
Tools (7):
| Tool | Default permission | Descriptor / Aliases | What it does |
|---|---|---|---|
ls |
Allow (read_only) |
tools/ls.json |
List directory entries as a compact tree (skipping ignored directories). |
glob |
Allow (read_only) |
tools/glob.json |
Fast breadth-first filename glob matching (up to 100 matches, 30s traversal cap). |
find |
Allow (read_only) |
tools/find.json |
Structured directory/file search with 30s traversal cap. |
apply_patch |
Ask (tool) |
tools/apply_patch.json (hidden alias patch) |
Multi-file unified patch tool (advertised automatically to gpt* / *codex* models; hidden alias patch works for all models). |
ask_user |
Interactive (interactive) |
tools/ask_user.json (hidden alias question) |
Ask the user structured multiple-choice or free-text questions. |
lsp |
Allow (read_only) |
tools/lsp.json |
Query language servers (goToDefinition, findReferences, hover, documentSymbol, workspaceSymbol, goToImplementation, prepareCallHierarchy, incomingCalls, outgoingCalls). |
project_activity |
Allow (read_only) |
tools/project_activity.json |
Inspect recent activity across sessions in the current Project. |
Service & Native Hook Interfaces:
- Service (
lsp-formatter): Implementshya_runtime_abi::NativeService. Readsformatter(bool | map<name, { command, extensions, environment, disabled }>) andlsp(bool | map<name, { command, extensions, disabled, env, initialization }>) fromhya/coding-extrasbundle config onstart(), reports readiness viahealth(), and shuts down spawned LSP server subprocesses onstop(). - Post-Edit Hook (
coding-extras.post-editonHookPoint::ToolExecuteAfter): Intercepts successful non-noopwriteandeditresults for both standardhya-barefile tools (metadata.path) andhya/hashlinefile tools (metadata.path/metadata.filediff.file), runs the configured formatter while preserving any UTF-8 BOM, notifies LSP (touch_file), and attaches LSP error diagnostics tometadata.diagnosticsand the tooloutputtext. - Interactive Visibility Hook (
coding-extras.ask-user-visibilityonHookPoint::ToolVisibility): InspectsToolVisibilityInput.interaction_availableand returnsToolVisibilityOutcome::Hide { tools: ["ask_user"] }whenever no interactive human receiver is connected.
hya/multi-agent (Subagents, Resident Supervision & Team Control — Native ABI v2)
hya/multi-agent (hya/multi-agent, Lockstep Native ABI v2, schema_version: 2, capabilities: [tools, hooks, services, apis]) packages Hya’s multi-agent orchestration subsystem—the team supervisor, subagent tools, built-in worker agents (hya-task, hya-scout, hya-reviewer), session fences, handle naming, the subagent concurrency governor, terminal handoffs, projection folding, and the member and user control APIs—running solely over Arc<dyn HostRuntime>. With the bundle disabled no supervisor, governor or spawn queue runs and task, wait, report and archive are not registered.
Usage & Configuration:
- Enabled after installing the
defaultprofile (profile = "full"); disable viabundles.builtin.disable = ["hya/multi-agent"]in~/.config/hya/config.toml(or--bare) to remove subagent tools and worker agents. Code Mode exposesagent()andagents.runwhenever a registered tool suppliesToolPermission::Task. - Configure subagent limits in
~/.config/hya/bundles/hya/multi-agent.toml:[subagents]max_concurrency = 100per_run_budget = 1024per_team_turn_budget = 1024per_team_message_budget = 1024 - Example tool call:
{"tool": "task","input": {"tasks": [{ "agent": "hya-scout", "handle_prefix": "scout", "description": "Find auth routes", "prompt": "Locate all auth handlers and return path:line references." }]}}
Tools (6):
| Tool | Default permission | Descriptor | What it does |
|---|---|---|---|
list_agents |
Allow (read_only) |
tools/list_agents.json |
List spawnable agent definitions in the active catalog ({ "agents": [...] }). |
search_agent |
Allow (read_only) |
tools/search_agent.json |
Search available agents by keyword ({ "query": string }). |
task |
Allow (task) |
tools/task.json |
Spawn one or more episodic resident subagents in parallel (tasks[], wait?: boolean). |
archive |
Allow (task) |
tools/archive.json |
Stop and archive a child subagent ({ "target": string, "reason"?: string }); wakes again on follow-up mail. |
wait |
Allow (read_only) |
tools/wait.json |
Block until direct child subagents finish/report ({ "targets"?: string[], "mode"?: "any" | "all", "timeout_secs"?: integer }); with hya/agent-channels loaded it also returns when new mail reaches the caller’s inbox, and acknowledges the mail it returns. |
report |
Allow (subagents only) | tools/report.json |
Submit a subagent’s terminal report ({ "result": string, "outcome"?: "done" | "failed" }); ends the turn. The parent reads it through wait; with hya/agent-channels loaded it is also delivered as mail on the parent DM, and without it the parent’s next prompt carries it. A second report in one episode is refused. |
Interfaces exposed by hya/multi-agent:
- Built-in Subagents (3):
hya-task(full toolset,can_spawn: [hya-task, hya-scout, hya-reviewer, hya-plan]),hya-scout(read-only), andhya-reviewer(read-only +bash,can_spawn: [hya-scout]). - Service (
multi-agent): ImplementsNativeServiceand runs the team supervisor:startrecovers member fences from the previous run,runtime.restoredstarts the recovered episodes, andstopends them within the host’s drain deadline. Member fences are claims underSESSION_FENCE_CLAIMS("hya/session-fence", key = member session id); team checkpoints live inbundle_stateunder"hya/multi-agent". - Hook (
multi-agent): OneNativeHookonturn.admit(refuses client turns on members),turn.stop,session.close.before(refuses member deletion; archives a member through the supervisor),run.headless(live-subagent and root-driver lines forhya exec),session.restore(the “Interrupted subagents” restore line),runtime.restored,tool.visibility(hidesreportat depth 0 and the orchestration tools at the depth cap),message.user.before,session.end,event,tool.execute.after, andmodel.stream.permit(the governor). It declares the pointhya/multi-agent:spawn, invoked once per created member with{parent, child}. - Projection Reducer (
ProjectionReducer): Observeshya/agent-channels(mail_sent,mail_consumedset inbox lengths and cursors) and foldshya/multi-agentEvent::Extensionrecords (member_spawned,member_status_changed,member_finished,agent_registered,agent_activity_changed,resident_work_started,resident_work_finished,agent_heartbeat,subagent_reported,handoff_committed,agent_archived,agent_restarted) intoprojection.extensions["hya/multi-agent"]. NativeBundleApiHandler(apis):GET /v2/sessions/{id}/bundles/hya%2Fmulti-agent/members&GET /v2/bundles/hya%2Fmulti-agent/api/members?session=<id>→{ "root", "roster": [...], "archived": [...], "members": [...] }POST /v2/sessions/{id}/bundles/hya%2Fmulti-agent/archive&POST /v2/bundles/hya%2Fmulti-agent/api/archive({ "session": "<id>" }) →{ "handle", "cancelledTurn", "descendants" }POST /v2/sessions/{id}/bundles/hya%2Fmulti-agent/steer({ "text": string }) &POST /v2/bundles/hya%2Fmulti-agent/api/steer({ "session": "<id>", "text": string }) →{ "from" }- Member endpoints that
hya/workflowdrives (session scope = the lead):POST /members/preflight({wanted}),POST /members/root-activity→{id}andDELETE /members/root-activity/{id},POST /members/spawn({caller, agent, label, route?, system_context?}) →{session, handle, member},POST /members/{member}/activate({directive, system_context?, route?}) →{status: "done" | "failed" | "cancelled", output_text, route_outcomes},DELETE /members/{member},POST /members/{member}/release, andPOST /members/revive({handle, mail?};mail: the/sendbody that wakes the member, committed in the revival’s batch) →{revived, sent?}(sent: that mail’s/sendreply).
hya/plan (Interactive Plan Mode — Native ABI v2)
hya/plan packages Hya’s read-only planning workflow as a self-contained native ABI v2 bundle (hya/plan, id: hya/plan), combining the hya-plan agent, the plan_exit approval tool, and its tool.visibility native hook so plan mode can be enabled or disabled independently without hardcoding plan logic in hya-engine.
Usage:
- In interactive TUI/WebUI sessions, switch to the planner with
/agent hya-plan(or configuredefault_agent = "hya-plan"). When planning finishes,hya-plancallsplan_exitto request user approval before implementation begins. - In headless runs (no interactive interaction receiver), the bundle’s
tool.visibilityhook automatically hidesplan_exitfrom advertised tool schemas and nested tool listings. - Disable the bundle in
config.tomlviabundles.builtin.disable = ["hya/plan"](or runhya --bare).
Interfaces exposed by hya/plan:
- Tool
plan_exit(hidden aliasplan, permissionTool):- Input schema:
{ "plan": string (required), "title"?: string, "summary"?: string }. - Output:
{ "approved": boolean, "action": "approved" | "declined", "title": string, "plan": string, "summary"?: string, "feedback"?: string }.
- Input schema:
- Agent
hya-plan(role: main): read-only (resource_view.deny: [write, edit, apply_patch, bash]), may spawnhya-scout,hya-task, andhya-reviewer. - Native Hook
tool.visibility(plan_exit_visibility): receivesToolVisibilityInput { session, agent, candidate_tools, interactive }and returnsToolVisibilityOutcome::Hide { tools: ["plan_exit"] }wheninteractive == false, orToolVisibilityOutcome::Preserveotherwise.
| Tool | Default permission | What it does |
|---|---|---|
plan_exit |
Interactive | Hand off a completed plan from hya-plan for user approval (hidden alias plan; hidden automatically in headless runs by hya/plan’s tool.visibility native hook). |
hya/network (Web Access & Air-Gapped Control)
hya/network (hya/network, native ABI v2) owns all internet-access tools (webfetch, websearch) and their search backend configuration outside hya-tool and hya-app.
| Tool | Hidden Alias | Default permission | What it does |
|---|---|---|---|
webfetch |
fetch |
Ask | Fetch an HTTP(S) URL as markdown, text, or html (up to 5 MiB, default 30s timeout capped at 120s). Blocks loopback, link-local/IMDS, and RFC 1918 / ULA private IPs by default (including DNS resolution and every HTTP redirect hop), re-checks Action::WebFetch permission on cross-origin redirects, scrubs URLs from transport errors, and honors cancellation during I/O. |
websearch |
search |
Ask | Search the web via Exa (x-api-key header, default, no key required) or Parallel (Authorization: Bearer header). Caps response bodies at 5 MiB, disables redirects, scrubs secrets/URLs from transport errors, and honors cancellation during I/O. |
- Per-bundle configuration (
~/.config/hya/bundles/hya/network.toml, see the official repository example for additional fields):[webfetch]enabled = trueallow_private_networks = false # fail-closed SSRF protection (default)[websearch]enabled = trueprovider = "exa" # exa | parallel# endpoint = "https://mcp.exa.ai/mcp"# key = "{env:EXA_API_KEY}" - Air-gapped mode: Disable the bundle in
~/.config/hya/config.tomlto removewebfetch,websearch,fetch, andsearchcleanly from the runtime without loadinglibhya_network:schema_version = 3[bundles.builtin]profile = "full"disable = ["hya/network"] - Interface definitions:
webfetchinput schema:{ "url": string, "format"?: "text" | "markdown" | "html", "timeout"?: number }websearchinput schema:{ "query": string, "numResults"?: number, "livecrawl"?: "fallback" | "preferred", "type"?: "auto" | "fast" | "deep", "contextMaxCharacters"?: number }- Native ABI v2 exports (
hya_native_register_v2): toolswebfetch&websearch, servicehya/network:service(NativeServicereadingHostCatalogReader::bundle_config("hya/network")), and visibility hookhya/network:visibility(HookPoint::ToolVisibility).
hya/agent-channels (Parent ⇄ Child Team Messaging, Mailbox & channel:// URI Schema)
hya/agent-channels (hya/agent-channels, Lockstep Native ABI v2) unifies team mailbox delivery, declarative vertical channel policies (unit-default and parent-dm-default), the channel:// UriSchemaHandler, in-turn unread-mail steering (HookPoint::ToolExecuteAfter), and read-only session BundleApi inspection endpoints into a single native+static bundle running solely over Arc<dyn HostRuntime>.
| Tool | Default permission | Descriptor / Overrides | What it does |
|---|---|---|---|
send |
Allow (tool) |
tools/send.json |
Send mail to a child’s #DM, a parent (^parent), or a unit leader’s #announce group channel (reviving archived direct children). |
list_channel |
Allow (read_only) |
tools/list_channel.json |
List the caller’s visible channels, unread message counts, and direct-child heartbeat status. |
wait and report belong to hya/multi-agent: with this bundle loaded, wait also wakes on mail and report is delivered as mail on the parent DM.
- Usage & configuration:
- Loaded after installing the
defaultprofile (profile = "full"); disable withbundles.builtin.disable = ["hya/agent-channels"]or--bareto omit team channels,channel://resolution, and unread-mail steering. - Agents read channel history through the standard
readtool (read channel://<id>orread channel://<id>?last=N, orread channel://<member-handle>for a DM alias). BecauseChannelUriSchemaHandlerregisters directly onHandleRouter,channel://reads work identically whetherhya/hashlinereador standardhya-barereadis active. An agent whose view has noreadstill gets one that serves only the registered URI schemes (no file access); its description lists each scheme with the handler’s own description. - Example:
{ "tool": "send", "input": { "channel": "main/scout-1", "body": "check crates/hya-engine" } }{ "tool": "read", "input": { "path": "channel://DM-aB12Cd34?last=5" } }
- Loaded after installing the
- Interface definitions:
- Manifest capabilities:
runtime: { kind: native, abi_version: 2, crate_dir: native, capabilities: [tools, hooks, services, schemas, apis] }plus the channel templates asassets:channels/unit-default.yamlandchannels/parent-dm-default.yaml. - URI schema (
UriSchemaHandler):channel://<id>[?last=N](read-only; clampslastto1..=50, default1; returnstext/plainmessages plus structured metadata{ type: "channel", channel, count, unreadRemaining, warning }and commitsmail_consumed). - Native hooks (
NativeHook): a contract hook onturn.admitandrun.headless(the unread-root-mail line ofhya exec), andunread-mail-steeronHookPoint::ToolExecuteAfter, which splices[NEW MAIL · answer or acknowledge via dm]notices into successful non-wait/reporttool results and stagesmail_consumedfor atomic commit withToolResult. - Projection reducer (
ProjectionReducer): Foldshya/agent-channelsEvent::Extensionrecords (channel_created,channel_joined,mail_sent,mail_consumed) intoprojection.extensions["hya/agent-channels"]({ mail, inboxes, channels, cursors }), and observeshya/multi-agentroster facts (member registration and archive) for group membership. POST /send(session scope = the sender):{ "to", "kind": "message" | "announcement", "body" }→ the mail receipt; the one send path other bundles (multi-agent report delivery, user steer, revive) use.- Session
BundleApiendpoints (/v2/sessions/{session}/bundles/hya%2Fagent-channels/...):GET /channels(channels.list) →{ "channels": [{ "id", "kind", "can_speak", "peer", "unread" }], "team": [{ "handle", "status", "last_active_seconds" }] }GET /channels/{channel}/messages?last=N(channels.messages, read-only peek without advancing cursor,lastdefault20, max100) →{ "channel", "count", "unread_remaining", "warning", "messages": [{ "from", "body" }] }GET /inbox(channels.inbox, read-only) →{ "handle", "cursor", "total", "unread": [{ "from", "channel", "body" }] }GET /team-status(channels.team_status) →{ "members": [{ "handle", "status", "last_active_seconds" }] }
- Manifest capabilities:
3. Built-in Agents (hya/core-agents, hya/multi-agent & hya/plan)
Every agent comes from an enabled bundle, through the same catalog as an installed one. hya/core-agents declares default_agent: hya-main; when no enabled bundle declares a default agent (for example under --bare), the core’s compiled-in hya-bare is the only agent and the default. hya-main declares can_spawn: ["*"] (every non-private agent of the catalog); hya-title is private: true.
| Agent ID | Bundle | Kind | Tool restrictions | When to use |
|---|---|---|---|---|
hya-main |
hya/core-agents |
Main (default) | Full toolset | Everyday coding, debugging, refactoring, and delegating subtasks. |
hya-plan |
hya/plan |
Main | Read-only (blocks write, edit, apply_patch, bash) |
Exploring code and designing a plan before changing any files. |
hya-task |
hya/multi-agent |
Subagent (default) | Full toolset | Focused implementation or testing subtasks delegated via task. |
hya-scout |
hya/multi-agent |
Subagent | Read-only (blocks edits, bash, task, archive) |
Fast codebase search and reading without cluttering the main chat. |
hya-reviewer |
hya/multi-agent |
Subagent | Blocks file edits (write, edit, apply_patch), allows bash |
Reviewing patches and running check suites without modifying code. |
hya-title |
hya/core-agents |
System (private) | Internal only | Makes the session title hya/session-title generates from your first prompt. |
(Built-in workflow bundles also define private stage agents—hya-goal-guide, hya-goal-verifier, hya-pir-planner, hya-pir-implementer, and hya-pir-reviewer—used internally by Goal/Loop mode and the plan-impl-review Workflow.)
4. Official default profile
The official default profile adds 21 independently released bundles to
the core. Install it with hya bundle install --profile default -y or the
release installer. See the registry protocol.
| Bundle ID | Source path | Runtime | Role |
|---|---|---|---|
hya/hashline |
hya/hashline |
Native ABI v2 (cdylib) |
Hashline-addressed read, write, edit, and grep + HashlineRuntime (overrides: hya/bare, 4 tools). |
hya/coding-extras |
hya/coding-extras |
Native ABI v2 (cdylib) |
Workspace search (ls, glob, find), apply_patch, ask_user, lsp, project_activity, lsp-formatter NativeService, and post-edit + visibility NativeHooks (7 tools). |
hya/multi-agent |
hya/multi-agent |
Native ABI v2 (cdylib) + TUI v2 |
Subagent orchestration: the team supervisor service, 6 tools (list_agents, search_agent, task, archive, wait, report), 3 subagents (hya-task, hya-scout, hya-reviewer), session fences (bundle_claim under hya/session-fence), ProjectionReducer, one lifecycle hook, the declared point hya/multi-agent:spawn, BundleApi (/members, /archive, /steer, the member endpoints), and @hya/tui-sdk v2 subagents / subagent-viewer panes + /subagents command. |
hya/network |
hya/network |
Native ABI v2 (cdylib) |
Web fetch and web search (webfetch, websearch) + per-bundle TOML and air-gapped disable. |
hya/agent-channels |
hya/agent-channels |
Native ABI v2 (cdylib) + static + TUI v2 |
Unified team mailbox & channels (send, list_channel), POST /send, channel:// UriSchemaHandler, unread-mail-steer NativeHook, read-only BundleApi, ProjectionReducer, default vertical channel policies (unit-default, parent-dm-default), and @hya/tui-sdk v2 renderers + unread mail status badge. |
hya/compaction |
hya/compaction |
Native ABI v2 (cdylib) |
Context Rewriter (shake + remote) and ProjectionReducer (Event::Extension) before Kernel Rewrite. |
hya/workspace-files |
hya/workspace-files |
Native ABI v2 (cdylib) |
Filesystem and Git worktree endpoints for frontend clients. |
hya/session-title |
hya/session-title |
Native ABI v2 (cdylib) |
Titles a root session from its first prompt with one hya-title call when its first model turn starts (event hook + TitleService; requires hya/core-agents). Disabled, sessions keep their default title. |
hya/direct-shell |
hya/direct-shell |
Native ABI v2 (cdylib) |
The ! shell command: a command.execute.before hook runs a /v2 shell turn as the user’s own bash call; without it shell turns are refused. |
hya/plan |
hya/plan |
Native ABI v2 (cdylib) + TUI v2 |
Read-only hya-plan agent, plan_exit tool (alias plan), tool.visibility native hook, and @hya/tui-sdk v2 plan_exit card renderer + Plan status badge. |
hya/goal |
hya/goal |
Native ABI v2 (cdylib) |
Autonomous goal-mode driver hya/goal:goal (hya goal), GoalDriverService, 3 goal skills (goal-contract, guided-goal, evaluator-prompt), and 2 private helper agents (hya-goal-guide, hya-goal-verifier). |
hya/loop |
hya/loop |
Native ABI v2 (cdylib) |
Verifier/planner driver hya/loop:loop (hya loop), LoopService, and loop-verifier-prompt / loop-planner-prompt skills (capabilities: [services, drivers]). |
hya/core-agents |
hya/core-agents |
Static | Default agent hya-main and the private hya-title; an ordinary catalog bundle. |
hya/core-skills |
hya/core-skills |
Static | Built-in fallback skills (agent-bundle-authoring, secure-self-update). |
hya/core-commands |
hya/core-commands |
Static | Built-in slash command templates (/init, /review). |
hya/workflow |
hya/workflow |
Native ABI v2 (cdylib) + TUI v2 |
Workflow DAG execution, durable replay, workflow tool, ProjectionReducer (extensions["hya/workflow"]), BundleApi (/workflows, /state, /command), built-in plan-impl-review workflow + stage agents (capabilities: [tools, services, apis]), and @hya/tui-sdk v2 workflows pane + /workflow slash commands. |
hya/basic-tui-components |
hya/basic-tui-components |
Static + TUI v2 | Standard @hya/tui-sdk v2 panels (Projects sidebar/view, Sessions, Todos, Context, Jobs). |
Select installed bundles. bundles.builtin in config.toml selects a
runtime subset: profile = "full" (the default) enables installed bundles by
default, profile = "bare" enables none, enable adds bundles to bare, and
disable removes bundles from either. --bare always runs the empty set and
ignores bundles.builtin, including its enable list. A bundle that cannot
work without another declares it in requires: (see “Prerequisites and default
agent” in the hyabundle Specification), and the
runtime reports and skips bundles with missing prerequisites.
| Bundle ID | requires: |
|---|---|
| every built-in bundle | none |
No built-in bundle declares a prerequisite: the composition matrix (Track P T1.27) runs each one alone on the empty set, and every cell passes. For example, profile = "bare" with enable = ["hya/multi-agent"] runs subagents without hya/agent-channels (workers’ answers still reach the lead), and enable = ["hya/workflow"] loads without hya/multi-agent.
# ~/.config/hya/config.toml — bare plus plan mode and goal modeschema_version = 3
[bundles.builtin]profile = "bare"enable = ["hya/plan", "hya/goal"]5. Optional Extra & Example Bundles
The official registry publishes six optional bundles and runnable examples such as
hya/argus-example. Browse with hya bundle search --remote "" and install by
ID, for example hya bundle install hya-extra/jev-model-router -y.
| Bundle ID | What it adds |
|---|---|
hya-extra/zvec-grep |
Connects the zvec-grep semantic code search MCP server + guidance skill. |
hya-extra/scout |
Read-only scout subagent powered by semantic zvec-grep + read/grep/glob. |
hya-extra/jev-model-router |
chat.params hook that classifies task difficulty (easy/medium/hard) via TypeSafe Jev and routes models per session chain. |
hya-extra/model-fallback |
model.fallback hook providing per-model custom fallback chains when a provider fails before streaming. |
hya-extra/token-summary |
Adds a token-summary__token_summary tool and GET /v2/sessions/{id}/bundles/hya-extra%2Ftoken-summary/usage API reporting token spend across a whole team tree. |
hya-extra/orchestrator |
Main orchestrator agent that coordinates dedicated orchestrator-scout, orchestrator-editor, and orchestrator-runner workers via traced JavaScript workflow programs. |