Watch
0
0
Fork
You've already forked hyperhive
0

the built-in archetypes come with a default prompt

This commit is contained in:
atlas 2026-11-11 02:55:25 +01:00 • committed by mara
commit 039896c506

View file

@ -4,10 +4,10 @@
# builder evaluates `meta` alone and swarm-controller stores it as JSON.
# `meta` fields: `description` (required), `permissions`, `limits`,
# `inference`, in the shapes `POST /api/agents` takes them, and `prompt`, the
# text the create form prefills the new agent's AGENTS.md with; see
# docs/2-handbook/swarm/archetypes.md. Every archetype sets
# `services.hyperhive.agent.icon` (with `mkDefault`) to an SVG in `icons/`, so
# its agents show one until their config sets another.
# text the create form prefills the new agent's AGENTS.md with (the built-ins
# read theirs from ./prompts/<name>.md); see docs/2-handbook/swarm/archetypes.md.
# Every archetype sets `services.hyperhive.agent.icon` (with `mkDefault`) to an
# SVG in `icons/`, so its agents show one until their config sets another.
{
reviewer = {
module =
@ -22,6 +22,7 @@
"inbox"
"execution"
];
prompt = builtins.readFile ./prompts/reviewer.md;
};
};
android-dev = {
@ -37,6 +38,7 @@
};
meta = {
description = "Builds Android apps: adb and fastboot (android-tools), Gradle and a JDK are installed. It holds the default permissions.";
prompt = builtins.readFile ./prompts/android-dev.md;
};
};
reverse-engineer = {
@ -48,6 +50,7 @@
};
meta = {
description = "Reverse-engineers binaries and applications: REA and Ghidra 12.1 are installed with their MCP tools allowed. It holds the default permissions.";
prompt = builtins.readFile ./prompts/reverse-engineer.md;
};
};
}