Skip to content
UltraRails
How it works Developers Pricing FAQ Sign in

AI agents for everyday operations

Hand off the work. Not the mistakes.

Give an AI agent a task your team does every week. A returns desk can check an order against your policy and open a return only when it qualifies.

A sample returns desk in the Returns context can answer a question about an order or open a return. Checking an order leaves the record unchanged.
Customer supportReturns Example workspace
Returns desk
Return policy

Customers can open a return within 30 days of delivery.

Sample orders
Order #1042Done
Eligible for a return

Delivered 12 days ago, inside the 30-day window.

Order checked. No records changed.

A fluent answer can still be wrong.

Ask AI to write a product listing. Six edits later, a claim about market growth slips in. It sounds plausible. Nobody gave it a source. Now your editor has to check every line. Turn on all four kinds of help below and the claim still has none.

One agent researches, writes and reviews a desk lamp’s launch story from a brief with three constraints. A revision slider and four layers of help stacked on the agent, each a toggle (higher effort, a reminder, stricter rules, skills), change its draft and the problems flagged in it.

Brief

“Write the launch story for our new desk lamp.”

  • Kept: Lost: Verified sources only
  • Kept: Lost: Our calm, clear voice
  • Kept: Lost: Flag anything uncertain
product-notes.pdf market-report.pdf
One agentResearches · writes · reviews

Revision 6

A calmer desk lamp that follows the daylight. The category is likely growing rapidly, driven by strong demand.

No source for the growth claim

When should the agent say no?

A customer asks for a return. Your store allows 30 days. Try the same request on two orders and see which one the agent changes.

Return policy

30 days

Customers can open a return within 30 days of delivery.

Open a return

Done

Return opened.

Order #1042 was delivered 12 days ago. The agent recorded the return on the order.

Refused

Return window closed.

Order #1087 was delivered 45 days ago. The return window has passed, so the order stays unchanged.

Teach it how you handle returns.

Create a Command to open a return. Define its fields, choose the order it changes, and check the return policy before recording the result.

Command

Open a return

Definition
Opens a return on the order when the Return policy allows it.
Fields
Order number
Implementation
order = OrderRepository.findOne(command.orderNumber) order.openReturn()
Errors
Return window closed
Try the draft
Order #1042

The draft would open a return. The real order stays unchanged and no notifications go out.

Choose who can run the command, then publish a release of the bounded context.

Claude Code and MCP

Use it from your own tools.

Check the same order from Claude Code or another MCP client. It runs the same published query as the chat, with the inputs and access you’ve set for it.

  • Find available requests
  • Run an action
  • Read the result
A terminal: Claude Code adds UltraRails as an MCP server, is approved in the browser, then finds Check a return, calls it for order 1042 and reads the answer.

claude mcp add --transport http ultrarails https://mcp.ultrarails.dev

UltraRails approved in your browser

Can order 1042 be returned? Check it without opening a return.

list_endpointsCheck a return

call_endpointOrder 1042

read_callDone

Eligible. Delivered 12 days ago, within the 30-day window. No return opened.

Where would you put it to work?

What lands on your desk every week?

Think of the information you’d give a colleague and what you’d want back.

Check an invoice

Give it an invoice and a purchase order. Ask it to list each charge that differs from the agreed price, so the buyer knows what to question.

Triage a support ticket

Give it the customer’s message and your support policy. Ask for a priority, who should handle the ticket and the reason for that choice.

Draft a product listing

Give it the supplier’s notes and your style guide. Ask for a listing in your voice, with missing details flagged for the editor.

Choose who can do what.

Let colleagues check eligibility in chat. Give your store app a key for opening returns.

Check a return
Workspace members in chat
Open a return
Store app with an API key

Give it your definitions.

Write down what a term means in your business and reuse it wherever your team uses it.

Returns library

Delivery date

The day the parcel reaches the customer. Printing a label or attempting delivery doesn’t start the return window.

See why a request stopped.

Open a run to see its input, the steps the agent took and the answer or reason it stopped.

Activity

Open a returnRefused

Order 1087 was delivered 45 days ago. The return window closed after 30 days.

Pass finished work along.

Once a return opens, another command can prepare packing instructions or notify a colleague.

Return opened
Order 1042
Next step
Prepare packing instructions

Pay for the work, not the seats.

A run is one request to your app, with all it sets going. Members are free. Model calls are extra: your own key at no fee, or our credits.

Free

$0for one person trying it

  • 100 runs a month
  • 1 builder
  • $5 of credits to start
  • Build and try your first command
Start free

Team

$49a month

  • 2,000 runs a month
  • 5 builders
  • Shared workspaces and knowledge library
  • Keep going past your runs on credits
  • Extra runs $10 per 1,000, extra builders $10 each
Start with Team

Business

$299a month

  • 15,000 runs a month
  • 20 builders
  • Permissions per Builder
  • Coming: SSO, full audit logs
  • Extra runs $8 per 1,000, extra builders $10 each
Start with Business

Enterprise

$1,500a month and up, yearly

  • The runs you need, at a volume rate
  • Unlimited builders
  • Coming: self-hosting, SOC 2, SLA
Talk to us

[email protected]

  • Your own key: no fee on its tokens
  • Credits at model price plus 25%, from $10
  • Up to 8 Commands of a workspace at once, on every plan
  • 20% off billed yearly
  • Startups under 20 people: half off Business

Before you hand it over.

Why not just write a better prompt?

“Check this return” is a good prompt. It still leaves someone to supply the order, explain the policy and make sure nothing gets opened by mistake. Set that request up once and everyone can ask the same question. That’s the harness around the AI: what it can read, what it may change and when it should stop.

What should I try first?

Pick a request that comes up often and has an answer you can recognize. A support lead might check return eligibility. A buyer might turn a supplier quote into a list of prices and flag missing terms. Bring an ordinary case and an awkward one to try.

Can it answer a question without changing anything?

Yes. Set up a question like “Is this order eligible?” separately from an action like “Open a return.” Someone who only needs an answer can use the first without starting the second.

Where does it get our rules?

Keep the terms, policies and examples your team uses in its library, and name the ones each task needs. Sales and shipping can keep separate definitions of “order” even in the same workspace.

What if a request breaks a rule?

You can define a reason to refuse it, such as “Return window closed.” When the action is refused, the answer says why. Its proposed record changes are discarded, and it sends none of the notifications attached to that call.

Can I try a change before my team uses it?

Yes. Try the draft on sample inputs. Record changes and outgoing messages are simulated. Your team keeps using the published version until you publish the change.

Can our own software use it?

Yes. Make a request available in chat, to an MCP client, or through an API key. Choose who can call it. You can also run it on a schedule or when something happens, such as a return being opened.

How do I know what happened?

Open the call to see its result or the reason it stopped. The history shows which tools it used and the changes it proposed. You can also see which model ran, how many tokens it used and what it cost.

Who sees the data I give it?

The model receives the instructions and information needed for its call. You choose who can make each kind of request. See the privacy policy for how account data and model requests are handled.

Can I try it before paying?

Yes. The Free plan includes 100 runs a month and $5 in starting credits. You can try your first request without bringing a model key. Model usage after that comes from your own provider key or prepaid credits.

What task do you keep explaining?

Start with one request your team gets every week. Try it on a case you know before anyone relies on it.

Start building Or connect Claude Code