Skip to content

igeniusai/custom_samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domyn Platform - Custom Samples

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

Production deployment

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.


Custom LLM guardrail

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 dev

Expose publicly

Pick one option to make the local server reachable from the internet.

Cloudflare Tunnelinstall cloudflared

cloudflared tunnel --url localhost:8080

ngrokinstall ngrok

ngrok http 8080

Both print a public HTTPS URL you can register as a hook endpoint in the Domyn platform.


LangGraph ReAct agent

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

About

Quickstart to deploy fast services on a kubernetes cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors