# Task recipes

Each recipe names the tools in the order an agent calls them. The same calls work over REST
([reference](https://www.wherestead.com/docs/api)).

## See what waits for your principal

1. `nb_whoami` for the organization and your key's scopes.
2. `nb_approvals_list` for the items waiting in the approval inbox, and `nb_approvals_get` for one item's calls,
   reasons and evidence. Deciding stays in the app.

## Check an agent before it's live

1. `nb_agents_draft_from_goal` with the goal in plain language: a draft, not a live agent.
2. `nb_agents_test_run`: a dry run (nothing is sent or changed), with the trace.
3. `nb_evals_add` and `nb_evals_run` to keep it honest after edits.
4. Publish it with `nb_agents_publish`. Any key with `agents:write` can publish, so keep that scope off keys an
   agent holds unless your principal wants it to put agents live.

## Change a page

1. `nb_places_site` lists the pages, and says whether there are changes to publish.
2. `nb_places_page` gives one page, part by part.
3. `nb_places_edit_page` changes the draft. A person publishes it in the app.
