Snag help

Snag for developers

Reference for connecting your own agents, models and workflows to Snag. Each page describes exactly what the app sends and how it reads the answer.

Read in this order:

PageFor
Snag agent APIPointing Snag Control at your own agent server: endpoints, approvals, privacy levels, errors, a minimal server
Nextcloud Talk agentsAn agent in a Talk room: the reply, notice and approval conventions it must follow
OpenAI-compatible and Anthropic endpointsWhat Snag sends to your model for speech to words, actions from a capture, and direct agents
WebhooksThe capture webhook and command webhooks: payloads, signing, status codes, replies
Commands in a repoThe .snag/ files, every field and check, linking, updates and share links

For the user side of these features see Bring your own, Snag Control and Voice commands.