Decision API for AI applications

AI decisions that do the math.

Ask questions about your data. Get typed answers—including calculated amounts and dates.

Preview access includes credits to try your own questions.

Recorded demo

Watch aityx calculate a refund and deadline.

A customer asks to cancel a subscription. Watch System One use their account and request data to calculate the refund and deadline, then recalculate as the facts change.

Actual System One API results. Native execution: 2–4 ms.

aityx0.98
Balance $9.851DocumentationAPAlex ⌄
AI AssistantDecisionStateResult
Playground / Subscription cancellation refunds
Examples+ New
AI Assistant

Refine your decision

Change the model or ask for sample input…
QuestionsDecisionVisual☰ Fields{ } JSON Schema
LockedEdit
☷ Inputs 6⬡ Types 0
StateJSON
/systemone ⌄
▶ Execute ⌘↵
Send: State + DecisionPOST /v1/systemone
{
  "customer_intent": "cancel_refund",
  "plan_amount": 60, "period_days": 30, "unused_days": 10,
  "accepted_on": "2026-10-21", "refundable": true
}
AnswersInputsRaw
Run to see answers

Built by Aletyx, a team with nearly two decades of enterprise decision experience.Meet the team →

Why aityx

From “refund requested” to
“$20, due October 28.”

Return the request type, refund amount and due date together. Your application can use each answer directly.

Request type

choice

Cancel + refund

Cancellation with a refund requested.

Refund amount

number

$20.00

$60.00 × 10 unused days ÷ 30 days

Processing deadline

date

October 21 + 7 calendar days

Recorded results using this example’s refund policy.

See the API example

Use cases

Calculate refunds, credits, and claim deadlines.

Combine a message with the facts your application already has. Return what qualifies, the amount, and the date—in one response.

Subscription refunds

How much is the refund, and when is it due?

“Please cancel my subscription and refund the unused time.”

$60 plan · 10 of 30 days unused · accepted October 21 · refundable

Request
Cancel + refund
Refund
$20.00
Due
October 28

$60 × 10 ÷ 30. The example gives seven calendar days to process the refund.

Service credits

Does this outage qualify for a credit?

“Can we get a credit for last month’s outage?”

98.5% uptime · $200 monthly fee · unscheduled outage · claimed after 3 days

Credit rate
25%
Amount
$50.00
Claim window
Within 30 days

The example credits 25% below 99% uptime: $200 × 25% = $50.

Expense claims

Is this expense within the limits?

“Dinner with two clients. Receipt attached.”

$184 for 3 people · expense March 2 · submitted April 12

Result
Needs review
Per person
$61.33
Submit by
April 1

$184 ÷ 3 is within the $75 limit. Submission misses the example’s 30-day window.

How it works

System One executes. System Two thinks.

Sometimes getting the answer means running your model. Sometimes you need AI to understand the input first. aityx handles both—and combines interpretation and execution in one call when you need it.

System One

Execute your model.

Send your model with matching structured facts. Get choices, calculated amounts and dates in milliseconds.

System Two

Interpret, then execute.

Send your model with a message or other input. AI establishes the facts, then your model calculates the answers.

Get started

Build with the aityx assistant, or use your own tools.

Describe the answers you need and let the integrated assistant create your decision model. Or build it with your preferred tools and submit it to aityx.

Run the example.

Get a request type, a $20 refund and an October 28 deadline.

Run the example →

Build with the assistant.

Describe the answers you need. Let the integrated assistant create your decision model.

Build with aityx →

Build with your own tools.

Use your preferred AI assistant or code to build a decision model in the aityx format.

See the model format →

Using Jev? Combine its judgments with your aityx model to calculate amounts and dates.

See how they work together →

Pricing

Pay for AI when you need it.

Run your model at the System One rate. Use System Two for input interpretation or model creation.

System One

Execute your model

Input
$0.042/ 1M tokens
Output
Free

System Two

Interpret input or create models

Input
$4/ 1M tokens
Output
$20/ 1M tokens

Prices in USD per 1 million tokens. Responses show token usage. Review charges in the console.

Integration questions

A few API details.

Are calculated answers repeatable?

Yes, with the same model and identical facts. AI interpretation of text is a separate step; the receipt identifies their sources and records the calculation.

Can I see how an answer was calculated?

Yes. The response includes input sources and calculations in an inline receipt. Keep it with the facts you submitted. You can also view the model as JSON or a diagram.

What if information is missing?

The decision stops if a required fact cannot be established reliably. Your app can ask for the missing information or send the case for review.

Does every decision need AI?

No. Send your aityx model with matching structured facts for System One execution. Use System Two when AI needs to interpret your input before the model runs.

Can I use Jev with aityx?

Yes. Your application can combine Jev judgments with account or other structured data, then pass those facts to your aityx model to calculate amounts and dates. Read the Jev guide →

Do I have to use the aityx assistant?

No. Use your preferred AI assistant or code to create a decision model in the aityx format, then submit it with your input. The integrated assistant is another way to get started. See the model format →

Can I start from questions or a document?

Yes. Define your questions with the answer types you need, or start with a prompt, PDF, spreadsheet, Word document, image or text file.

Who is behind aityx?

Aletyx, a team with nearly two decades of enterprise decision experience.

Tech preview

Put calculated answers in your application.

Return the outcome, amount and deadline together, ready for your code to use. Preview access includes credits to try your own questions.