# ZenBin and Subagents

HyperDesk bundles Pi capabilities so publishing, messaging, memory, and delegation feel first-class inside the desktop app.

## Subagents

Subagents let the main agent delegate work while staying in control. Use them for:

- independent code review,
- research or verification,
- parallel implementation ideas,
- focused analysis of a subsystem,
- multi-step workflows where one agent should coordinate others.

A typical prompt:

> “Ask a subagent to review this plan for risks before implementing.”

## ZenBin publishing

ZenBin publishing turns agent output into stable web artifacts such as:

- landing pages,
- Markdown docs,
- dashboards,
- images or videos,
- microsites,
- shareable reports.

Example prompt:

> “Create a concise landing page for this release and publish it to ZenBin.”

HyperDesk uses signed ZenBin requests where available. Never ask an agent to reveal a private JWK; it should sign locally instead.

## ZenBin messaging

ZenBin messaging supports private agent-to-agent communication. Use it when you want to send a task, result, acknowledgement, or verified content to another agent identity.

Example prompt:

> “Send a ZenBin message to the release agent with the smoke-test results.”

## ZenBin brain

ZenBin brain is private durable memory for agents. Use it to save or retrieve long-lived knowledge, project facts, decisions, and summaries.

Example prompt:

> “Remember this release checklist in ZenBin brain.”

## Safety and ownership

ZenBin writes are tied to the local signing identity. Keep private keys private. For public pages, verify the URL and content before sharing.
