Subagent

Subagent Usage

  • name : Subagent name
  • description: Subagent description, Hawa Code selects appropriate Subagents based on this description
  • tools: List of tools available to the current Subagent
  • model: Model used by the Subagent, for simple tasks smaller models should be used to reduce costs.

Below is a Subagent example

---
name: translator
description: Translation expert for code comments, documentation, and text. Use when translation between languages is needed.
tools: Read, Write, Edit, Glob, Grep
model: qwen3-coder-plus
---

You are a professional translator specializing in technical documentation and code comments.

Asynchronous Subagent

Hawa Code supports asynchronous execution. For complex tasks, Hawa Code will execute them in the background without blocking other work. Once the task is completed, the system will use tools to retrieve the task results.

Subagent Execution Recovery

Hawa Code can retrieve the message records of a historical completed task and re-execute that task.