Tools
Tools are the execution surface that lets agents act on the outside world.Tool categories
Kheish exposes three broad categories of tools:- coding and web tools such as file operations, search, shell, web search, and web fetch
- daemon control tools for agent orchestration, mailbox operations, image output, skills, and task management
- hook and runtime-adjacent tools that support planning, approvals, and background coordination
Built-in coding tools
The default runtime registers tools for:- reading, writing, and editing files
- listing files and searching the workspace
- executing shell commands
- searching and fetching web content
Daemon control tool examples
Externally visible control tools now include patterns such as:spawn_agent,message_agent, andwait_agentfor multi-agent orchestrationgenerate_imageandedit_imagefor daemon-owned image assetsgenerate_audiofor daemon-owned audio assets and retained transcriptsemit_outputfor publishing text plus retained artifacts back into session stateread_channel_thread,set_channel_reaction, andcreate_channel_stimulusfor public channel participation without inventing a separate channel-execution surface- task inspection and stop helpers for daemon-backed background work
provider for compatibility, but on a named-route daemon it means a configured route identifier. The response field provider still names the underlying technical backend such as openai, openrouter, or google.
Tool execution model
Tool execution is mediated by the runtime. A tool call may:- run immediately
- trigger a permission check
- be intercepted or modified by hooks
- create or interact with background shell tasks
- emit outputs that affect session state and downstream routing
emit_outputpublishes the durable public reply into the channel logset_channel_reactionrecords a lightweight durable public reactioncreate_channel_stimulusqueues one autonomous follow-up or one new public subject and lets the daemon decide how to materialize it
Tool surfaces
Kheish can narrow tool access dynamically for:- specific agent profiles
- sidechains
- hook-executed ephemeral agents
- skills with execution-specific policy
