Docs / Getting started
Run the examples
Register five reference AI systems and watch allow, deny and approval outcomes.
The repository includes a developer lab. It registers Support AI, Sales AI, a knowledge assistant, a coding agent and a citizen assistant, then runs their tool calls through policy. A local tool process writes records only when RaiCentral allows the action.
Run Support AI
Start the instance first, then run from the repository root.
$env:RAI_BASE_URL = "http://localhost:8001"
$env:RAI_ADMIN_EMAIL = "[email protected]"
$env:RAI_ADMIN_PASSWORD = "ChangeMe123!"
python examples/support_ai_reference/main.pyexport RAI_BASE_URL=http://localhost:8001
export [email protected]
export RAI_ADMIN_PASSWORD='ChangeMe123!'
python examples/support_ai_reference/main.pyWhen the API runs in Docker, tools must be reachable from the container: use RAI_TOOL_URL=http://host.docker.internal:8765/invoke. When the API runs on your host, use http://127.0.0.1:8765/invoke.
Register everything
provision.py is idempotent. Start the tool process in one terminal (the Support AI example also starts it), then:
python examples/developer_lab/tool_runtime.py # keep running
python examples/developer_lab/provision.py
python examples/developer_lab/run_case.py --allEach case prints PASS when the outcome matched and, for denied or held cases, the tool did not run.
Runtime credentials are written to examples/developer_lab/.rai-lab.json. Do not commit that file.