Introducing Maru for Keiki agents
Maru answers the quick texts right away and hands the real work to a worker.

Your agent can talk and work at the same time now. Maru is how Keiki runs a hosted agent: one part keeps the conversation going, and another part does the work. Your customer just texts your product like they would text a person, and gets a person-speed answer.
Pick Maru in the model picker and Keiki decides how to handle each message. Maru is Keiki's own conversational model, but it isn't a single model underneath, and it doesn't promise smarter answers. It's a better way to split the work, so quick texts don't wait behind slow ones and nobody sits in silence while a task runs.
Why does an agent need two parts?
Most messages a product gets are small: "thanks", "what time do you close?", "yes, that one". Some are real work: "move my booking to Friday", "find my last invoice and send it here", "check if this is covered".
When a single model handles both, it has to treat every message like a job. Quick texts end up waiting behind tool calls, and a long task freezes the whole thread until it's done. Maru splits those two jobs:
- The front reads each new message along with the recent conversation, answers what it can in your agent's voice, and uses native messaging actions like tapbacks and inline replies.
- The worker gets the real work, along with your agent's full instructions and every tool it's allowed to use, and reports back to the front when it's done.
The worker never texts your customer. Everything goes back through the front, so the customer hears from one voice in one thread.
What does Maru do with each message?
It reads the message together with the recent conversation, so a follow-up, a correction, a preference or an approval lands in the right place. Then it sorts the message:
- Plain conversation (thanks, an acknowledgement, a question the agent already knows the answer to) gets answered by the front right away.
- Anything that needs tools, integrations, lookups, files or several steps goes to the worker, along with what the message refers to.
When it can't tell, it treats the message as work. A bare "yes" or "anything?" usually refers to something already in progress, so it goes to the worker, which has the records to check, and the front doesn't have to guess.
The front also can't claim work it didn't do. It has no tools that do the work itself, so it never says "done" or "checking now" unless it actually started that work in the same turn.
What happens while the work runs?
Longer work can keep running in the background, and the customer can keep texting while it does. If they add "actually, make it 7pm" halfway through, the front passes the correction to the worker with the work that's already underway, so the customer doesn't have to start over.
If the worker is taking a while, the customer hears from the agent once. Maru sends a single short heads-up when the work has run for about 30 seconds and less than half of its plan is done. Quick tasks finish without a heads-up, and slow ones don't fill the thread with "still working on it" messages. The final answer still comes after the heads-up.
How does Maru handle approvals and sign-ins?
Decisions on pending actions stay with the front. If your agent asked a customer to approve a refund or a booking, their "yes" or "no" is handled in the conversation where they gave it, and your approval rules apply like they always do.
When the worker needs an account the customer hasn't connected yet, Keiki makes the sign-in link in the same turn and sends it on text channels that support it. On a phone call, the agent asks the caller to continue over text.
Can I see what Maru decided?
Yes. Every turn's trace in Logs shows the routing decision and everything the worker did: which tools it called, with what, and what came back. When a reply looks wrong, you can see whether the front answered it or the worker did, and why.
Your system prompt and rules still apply to both parts. The front speaks in your agent's voice, and the worker follows the same instructions and the same tool permissions.
How do I turn on Maru?
New agents on Keiki start with Maru on. For an existing agent:
- Open the agent in Keiki.
- Click the model, then pick Maru at the top of the list.
- Save, then try it in Live Test with a question and a real task in the same thread.
Maru is on every plan, including sandbox and free shared-line agents. In sandbox, the front and the worker can each take up to three steps, under the usual Live Test limits.
If you define your agent in code, set the model to Maru and sync:
import { create, MARU_MODEL } from '@onkeiki/agents'
const kit = create({
...agent,
model: MARU_MODEL, // 'keiki:maru'
apiKey: process.env.KEIKI_API_KEY!,
})
await kit.sync()Set any other model id to turn Maru off and use that model for every turn. Through the developer API, Maru is the features.auto setting. Read the Maru docs.
When should I pick a specific model instead?
Pick a model yourself when you need the same model on every turn, for example to match an eval you ran or a cost you budgeted. Maru picks how each message is handled for you, so the models it uses can change as we improve it. Maru handles conversation turns; passthrough API requests and scheduled loop runs keep using their existing paths.
Maru only works for agents Keiki hosts. If you bring your own agent through the external harness, it keeps running in your runtime, and Keiki still runs the line, the conversation and the team inbox.
Try it
Open any agent, pick Maru, and text it two things at once: a quick question and something that takes work. That's the easiest way to see the difference. If you don't have an agent yet, build one on Keiki. It starts with Maru on. For the bigger picture, see our guide to customer-facing AI agents.
FAQ
Is Maru a new model? Maru is Keiki's own conversational model, built as a routing mode for agents Keiki hosts rather than one underlying model. It decides how each message is handled: a front agent for the conversation, and a worker with tools for the work.
Will Maru make my agent's answers better? Not by itself. What it improves is how the conversation feels: quick texts get quick answers, long work runs without blocking the thread, and the customer gets one heads-up instead of silence.
Does Maru change my agent's instructions or tools? No. The worker gets your agent's full instructions and only the tools you've turned on and allowed. The front uses the same voice and rules.
Do existing agents switch to Maru by themselves? No. New agents start with Maru on. Existing agents keep whatever setting they had until you change it.
Can I use Maru with my own agent runtime? No. Maru runs on Keiki, so an agent served from its own webhook or the external harness keeps using its own runtime.