> ## Documentation Index
> Fetch the complete documentation index at: https://allhandsai-cookbook-sync.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cookbook

> Runnable examples for building on the OpenHands API.

Standalone, runnable examples for the OpenHands API. Each page is generated from an
example in [OpenHands/enterprise-cookbook](https://github.com/OpenHands/enterprise-cookbook),
where you will find the full source.

## Conversation monitoring & reacting

Observe conversations and react to their state.

<CardGroup cols={2}>
  <Card title="Conversation tags" icon="tags" href="/cookbook/conversation-tags">
    Attach key-value metadata to a conversation with tags and read it back from AppConversation.tags.
  </Card>
</CardGroup>

## Guardrails

Constrain what the agent can do with hooks.

<CardGroup cols={2}>
  <Card title="Command blacklist" icon="shield-halved" href="/cookbook/command-blacklist">
    Block known-dangerous shell commands with a PreToolUse hook bundled in a plugin. Everything not on the blocklist runs normally.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.