Ready-to-use samples showing how to develop custom guardrails and custom agents for the Domyn Platform.
| Sample | Type | Description |
|---|---|---|
| Minimal guardrail | Guardrail | Simple deterministic guardrail |
| LLM guardrail with custom UI | Guardrail | Dual LLM-based guardrail with admin UI and verdict history |
| Minimal LangGraph agent | Agent | Deterministic LangGraph graph connected to Domyn as a subagent |
| LangGraph ReAct agent | Agent | LangGraph ReAct agent connected to Domyn as a subagent |
This README is focused on interactive development.
For detailed instructions on how to deploy the services to a production cluster, follow DEPLOYMENT.md.
NOTE: The Domyn Platform will take care of most of the production deployment steps in future releases.
A ready-to-run guardrail service for the Domyn platform. Exposes two independent LLM-based guardrail hooks — one for user inputs, one for agent responses — each with its own configurable policy and admin UI embedded directly in the platform canvas.
Full documentation at services/custom_ui_guardrail/README.md
Requires uv.
cd services/custom_ui_guardrail
# Install dependencies
make install
# Start the server (hot-reload, port 8080)
make devPick one option to make the local server reachable from the internet.
Cloudflare Tunnel — install cloudflared
cloudflared tunnel --url localhost:8080ngrok — install ngrok
ngrok http 8080Both print a public HTTPS URL you can register as a hook endpoint in the Domyn platform.
A ready-to-run example of a LangGraph ReAct agent connected to the Domyn platform as a subagent. The agent uses an LLM (via a vLLM-compatible endpoint) and a set of built-in tools to answer tasks sent by the platform orchestrator.
Full documentation at services/langgraph_agent_example/README.md
Requires Docker
cd services/langgraph_agent_example
docker compose up --build