# Logic: a visual decision engine for complex business logic

> Design, test and deploy decision logic with a visual node-based editor. From simple rules to complex decision trees, Logic lets your team automate decisions without writing code.

API documentation: [Logic API](https://docs.neobits.ai/api-reference/tag/logic.md) · [OpenAPI document](https://docs.neobits.ai/openapi/logic.json)

Teams use Logic for credit decisions, pricing, fraud checks, KYC, eligibility and limits.

## Describe the decision. The agent builds it.

Write what you want to decide in plain language. The agent lays out the nodes, connects your data and tests the result, right in the editor.

## From design to production

A workflow that takes your decision logic from first draft to live in production.

1. **Test in real time.** Evaluate decisions instantly with sample data. The evaluation panel shows results, trace data and performance metrics without deploying.
2. **Deploy with confidence.** Promote decisions through environments with canary routing. Split traffic between versions, monitor performance and roll back instantly.
3. **Follow every decision live.** Watch executions arrive as they happen. The real-time sync engine pushes every run, result and change to all connected clients instantly, with no refresh.

## Features

- **Multi-environment deployments.** As many environments as you need, from dev through QA to production, each with independent configuration.
- **Under 10 ms decision latency.**
- **REST API.** Execute decisions with a simple API call. Pass input facts and receive results with trace data and performance metrics.
- **Multi-tenant isolation.** Each tenant operates in complete isolation, with dedicated databases and Cedar-based authorization.
- **Audit trail.** Every read, mutation and execution is logged, for a complete record of all activity.
- **Canary deployments.** Split traffic between versions by percentage, and roll out changes gradually with zero downtime.
- **Real-time sync.** Changes sync instantly across all connected clients, so teams collaborate on decision logic without conflicts.

## See it in action

The Logic page runs a real decision table in the browser, powered by the same Zen Engine that runs in production, compiled to WebAssembly.
