# Plow Hermes Agent Template
A blank, safety-first repository template for creating a Hermes agent that can
be installed through a compatible Plow Latch and managed by `agent-mgr`.
> [!IMPORTANT]
> This is a community template maintained by Delltrak. It is not an official
> Plow or Nous Research project. Replace every starter placeholder before
> publishing or installing an agent made from it.
## Blank by design
This repository does not ship a personality, business workflow, external
integration or production permission. It contains only the reviewed technical
contract and empty places for your agent-specific work.
- the manifest has a replaceable identity and no requested permissions;
- `SOUL.md` contains prompts for you to define purpose and boundaries;
- the starter skill contains no functional workflow;
- the icon is a neutral placeholder;
- secrets and instance identity remain outside git;
- the Hermes image version is inherited from `agent-mgr`, not duplicated here.
## Create your agent
1. Click **Use this template** and then **Create a new repository**. You can
also open the [pre-filled GitHub form](https://github.com/new?template_owner=delltrak&template_name=plow-hermes-agent-template).
2. Clone your new repository.
3. Complete the customization checklist below.
4. Run the contract tests.
5. Publish the repository and paste its root URL into **Latch → Agents → Add
agent → From GitHub**.
## Customization checklist
- [ ] In `plow-agent.json`, replace the id, name, description and version.
- [ ] Add only the permissions your agent genuinely needs.
- [ ] Replace `assets/agent-icon.png` with an original PNG, JPEG or WebP under
512 KB.
- [ ] Replace the identity and operating boundaries in `runtime/SOUL.md`.
- [ ] Rename `skills/replace-me` and write the agent's actual skill workflow.
- [ ] Review `runtime/config.yaml`; remove the Latch block if the agent does
not control a Mac.
- [ ] Keep credentials in the instance dotenv, never in this repository.
- [ ] Update this README to describe the actual agent and its test boundary.
The starter values are deliberately obvious. Search for `replace` and `TODO`
before publishing.
## Validate
```sh
python3 -m unittest discover -s tests -v
```
The test suite verifies manifest paths, the raster icon boundary, least-
privilege defaults and common credential patterns. GitHub Actions runs it on
every push and pull request.
## Repository contract
| Path | Purpose |
| --- | --- |
| `plow-agent.json` | Latch preview identity, runtime and permission summary |
| `agent.env` | Shareable `agent-mgr` descriptor |
| `runtime/config.yaml` | Hermes model, Plow Chat and optional Latch MCP wiring |
| `runtime/SOUL.md` | Agent-specific identity and durable boundaries |
| `skills/` | Agent-specific Hermes skills |
| `compose.override.yml` | Read-only mounts for persona and skills |
| `.env.example` | Names of instance secrets, with no values |
Repository preview is inert: Latch should validate the manifest and display
bounded assets before it clones or executes anything. Installation should pin
the selected repository commit. The agent repository intentionally omits
`AGENT_IMAGE`, so the reviewed, digest-pinned Hermes runtime comes from
`agent-mgr` and can be updated centrally.
## Built with
- [Plow](https://plow.co)
- [Plow Latch](https://github.com/plow-pbc/latch)
- [agent-mgr](https://github.com/plow-pbc/agent-mgr)
- [Hermes Agent](https://github.com/NousResearch/hermes-agent)
## License
MIT. See [LICENSE](LICENSE).