Sign inSign up

formio/uag-claude

Verified Publisher

By Form.io

Updated about 2 months ago

Claude integration for the Form.io Universal Agent Gateway — agentic form automation via MCP.

Image
Machine learning & AI
Developer tools
0

7.2K

formio/uag-claude repository overview

Form.io UAG — Claude Integration

Connects Claude to the Form.io Universal Agent Gateway, so an agentic workflow can be triggered by a single API call — typically from a Webhook Action on a form submission.

The integration runs its own MCP client and connects outward to the UAG, so the UAG does not need to be publicly reachable. It only needs to be reachable from this container, such as over a private Docker network or localhost.

Also published as @formio/uag-claude on npm.

What it does

Exposes an HTTP endpoint that starts an agentic Form.io process. On a form submission, a Webhook Action calls the endpoint; the integration then drives Claude through the UAG's MCP tools to read the submission, apply your criteria, and write its own data and analysis back into the record.

Commands include agent_provide_data for contributing data and analysis to an existing submission, and collect_field_data for gathering field values from unstructured input.

Quick start

docker run -d --name formio-uag-claude -p 3300:3300 \
  -e UAG_SERVER=http://formio-uag:3200 \
  -e PROJECT_KEY=your-project-api-key \
  -e CLAUDE_API_KEY=your-anthropic-api-key \
  --restart unless-stopped \
  formio/uag-claude

Requests are served at POST /agent/claude on port 3300 by default. Docker Compose is the practical choice, since this container and the UAG normally share a private network — working stacks are in the examples directory.

Configuration

VariableDescription
CLAUDE_API_KEYRequired. Anthropic API key.
UAG_SERVERAPI endpoint of the deployed UAG, e.g. http://formio-uag:3200. Needs to be reachable only from this container. Falls back to BASE_URL if unset.
PROJECT_KEYEnterprise only. The project's API key.
ADMIN_KEYOpen Source only. The Form.io OSS admin key.
CLAUDE_MODELModel used for the agentic analysis, e.g. claude-opus-5.
CLAUDE_MAX_TOKENSToken ceiling for a single agent run.
CLAUDE_MAX_ITERATIONSMaximum Claude API round-trips (tool-use iterations) per command. Default 25.
PORTPort for this integration server. Default 3300.

Supply keys through an .env file or your platform's secret store rather than inline in a committed file.

Version compatibility

This integration is versioned independently of the UAG — it shares no code with it and does not change on every UAG release. Check the compatibility matrix in the UAG README before pinning a pair.

Tag summary

Content type

Image

Digest

sha256:05d6f17aa

Size

58.5 MB

Last updated

about 2 months ago

docker pull formio/uag-claude

This week's pulls

Pulls:

132

Last week