---
title: "Rulebricks integration for LuumenAI"
url: "https://www.luumen.ai/integrations/rulebricks/"
entity: SoftwareIntegration
category: "Source control & CI/CD"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Rulebricks integration for LuumenAI

Read your decision rules, run them, and change them as approved steps

## What LuumenAI can do with Rulebricks

LuumenAI connects to Rulebricks with an API token and exposes 59 tools (24 read-only · 19 write · 16 destructive). For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

## Key facts

- Authentication: API token
- Tools available: 59 tools (24 read-only · 19 write · 16 destructive)
- Deployment: scoped as part of your Pilot, Platform, or Managed rollout
- Category: Source control & CI/CD

## About Rulebricks with LuumenAI

Connect Rulebricks and Luumen can read your rules, flows, contexts, and decision logs from the terminal. Check what a rule did before you touch it, pull saved test cases, and inspect context instances. Changes like adding a test case, creating a context, or executing a rule are previewed first and sent for your approval by default.

## Example tools

Read-only (24 in total):

- `RULEBRICKS_COUNT_DECISION_LOGS` — Count decision logs matching asset, status, trace, payload-content, or time-range filters without returning log payloads.
- `RULEBRICKS_EXPORT_FLOW` — Export one flow as a Rulebricks Flow Schema document that can be round-tripped through the flow import endpoint.
- `RULEBRICKS_EXPORT_MANIFEST` — Export selected Rulebricks rules, flows, contexts, or values with their resolved dependencies, or preview the export.
- `RULEBRICKS_EXPORT_RULE` — Export one rule by ID as a raw rule document that can be round-tripped through the Rulebricks rule import endpoint.
- `RULEBRICKS_GET_CONTEXT` — Retrieve a Rulebricks context by ID, including its schema, bindings, access controls, and relationships.
- `RULEBRICKS_GET_CONTEXT_INSTANCE` — Retrieve the current base facts, derived facts, status, and selected execution or relationship data for one Rulebricks context instance.
- `RULEBRICKS_GET_CONTEXT_INSTANCE_HISTORY` — Retrieve newest-first historical values for all fields or one selected field on a Rulebricks context instance.
- `RULEBRICKS_GET_OBJECT` — Fetch one workspace object (JSON Schema) by its ID or exact name.

Write and destructive (35 in total, subject to configured approval policy):

- `RULEBRICKS_BULK_SUBMIT_CONTEXT_DATA` — Merge a non-empty batch into a Rulebricks context and execute ready bound rules or flows.
- `RULEBRICKS_CASCADE_CONTEXT_INSTANCE` — Re-evaluate registered pending rule and flow work for a Rulebricks context instance after dependencies may have become available.
- `RULEBRICKS_CREATE_ASSET_TEST` — Create a saved test case for a Rulebricks rule or flow with an input, expected response, comparison policy, and criticality.
- `RULEBRICKS_CREATE_CONTEXT` — Create a Rulebricks context with stored and derived fields, an identity fact, retention settings, and access controls.
- `RULEBRICKS_CREATE_CONTEXT_RELATIONSHIP` — Create a has-many, has-one, or belongs-to relationship from one Rulebricks context to another.
- `RULEBRICKS_CREATE_FOLDER` — Create a folder for rule, flow, or context assets; the asset type defaults to rule.
- `RULEBRICKS_CREATE_USER` — Create a new user directly with a password, bypassing the email invitation flow.
- `RULEBRICKS_CREATE_USER_GROUP` — Create a new user group in your Rulebricks organization.

## Frequently asked questions

### How does LuumenAI connect to Rulebricks?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Rulebricks on its own?

For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

### Is there an audit trail?

Every call to Rulebricks — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/rulebricks/
