Articles
Guides, comparisons and research
End-to-end builds, setups for the stacks people use, honest comparisons with other ways to build agents, and long-form writing on how Mayura works.
35 articles shown
Introducing Mayura for agents that take action
Why we built an open-source TypeScript framework for agents that can propose a change, wait for approval, and show what happened.
- Mayura
- TypeScript
- approvals
- durable workflows
3 min read
- guide
Run your first agent approval in Next.js
Run Mayura’s local Next.js starter, review the exact note an agent wants to save, and recover a pending approval after reload. No model API key required.
2 min read
- guide
Build an agent workspace with Mayura UI
Try Mayura 1.4 in Next.js, install editable React components with shadcn, and reconnect to a run without resubmitting it.
2 min read
- guide
Upgrade to Mayura 1.2.2 and try the RAG starter
Update Mayura and your extensions together, verify your install, and generate a retrieval agent with exact citations.
1 min read
- guide
Mayura 1.2.1 ships qualified RAG and configurable workflow graphs
What the Modal and Pinecone qualification covers, how to build a retrieval agent, and how to choose a workflow graph limit.
1 min read
- integration guide
Build a Mayura app with Hono
A Hono notebook with persistent chat, exact approvals and a durable worker: generate it, understand the boundary and prepare it for deployment.
2 min read
- integration guide
Build a Mayura app with Nuxt
A Nuxt notebook with persistent chat, exact approvals and a durable worker: generate it, understand the boundary and prepare it for deployment.
2 min read
- integration guide
Build a Mayura app with React Router
A React Router notebook with persistent chat, exact approvals and a durable worker: generate it, understand the boundary and prepare it for deployment.
2 min read
- integration guide
Build a Mayura app with SvelteKit
A SvelteKit notebook with persistent chat, exact approvals and a durable worker: generate it, understand the boundary and prepare it for deployment.
2 min read
- integration guide
Build a Mayura app with TanStack Start
A TanStack Start notebook with persistent chat, exact approvals and a durable worker: generate it, understand the boundary and prepare it for deployment.
2 min read
- guide
Build chat that remembers and asks before it acts
Follow the V1.2 notebook from a scoped thread to an exact note approval, a saved outcome and a separate indexing workflow.
2 min read
- guide
Choose your Mayura starter
Choose from twelve starter applications, including framework notebooks, standalone services and a cited retrieval agent.
Updated 2 min read
- guide
Design retrieval around evidence your application can authorize
Build a retrieval agent with scoped ingestion, pinned revisions, exact citation identities and the qualified Modal and Pinecone profile.
Updated 2 min read
- guide
Hand a conversation to a specialist without handing over every permission
Design support-to-billing handoffs with one conversation, a continuing budget and separately declared target authority.
2 min read
- guide
Put an AI gateway behind explicit agent budgets
Connect Vercel, Cloudflare, OpenRouter, Portkey, Helicone or LiteLLM while keeping model identity, credentials, permissions and cost bounds on the host.
2 min read
- guide
Build a coding agent that writes and runs code in a sandbox
An agent writes code and tests, runs them in an isolated machine of its own and fixes what fails: Docker on your laptop, E2B in production, nothing allowed by default.
8 min read
- guide
Build a research agent that reads the web in a real browser
An agent opens pages in a real browser, kept to the sites you allow, and answers with sources, while a person watches live: local Chrome first, a hosted browser in production.
8 min read
- guide
Build a voice agent you can talk to
Speech in, an agent run, speech out: transcribe with Deepgram, answer with a tool-using agent, speak with ElevenLabs, with every call priced and bounded before it is made.
7 min read
- research
Deny by default: what an agent may do, and who decides
Mayura's permission model: exact grants for models, tools, effects and capabilities, scope from verified identity, and how it bounds what a misled model can do.
13 min read
- integration guide
Give agents E2B sandboxes in production
Move agents from local Docker sandboxes to E2B microVMs: templates, network allow-lists, a sandbox per run, lifetimes, costs, errors and cleanup.
9 min read
- research
Hard budgets: reserving the worst case before every model call
How Mayura keeps agent runs under their cost limit: each call's maximum is reserved before it starts and settled after, on one ledger shared by agents and workflows.
13 min read
- comparison
Mayura vs LangGraph.js
Compare graph control, checkpoints, and Agent Chat UI in LangGraph.js with Mayura's scoped workflows, budgets, and standalone React workspace.
Updated 10 min read
- comparison
Mayura vs the OpenAI Agents SDK
Compare OpenAI Agents SDK handoffs, sessions, and streamed events with Mayura's scoped runtime, durable approvals, and standalone React workspace.
Updated 9 min read
- comparison
Mayura vs the Vercel AI SDK
Compare AI SDK's model and chat APIs with Mayura's editable React workspace, server-enforced tool policy, and durable workflows.
Updated 10 min read
- integration guide
Mayura with Clerk
Sign users in with Clerk and let them call your agents: verify Clerk session tokens, map permissions to capabilities, and keep runs and memory per user.
7 min read
- integration guide
Mayura with Neon
Keep Mayura's state in Neon PostgreSQL over pooled, direct or WebSocket connections, and accept Neon Auth tokens on your agent server.
7 min read
- integration guide
Mayura with Supabase
Keep Mayura's workflows and run records in Supabase PostgreSQL and let users signed in with Supabase Auth call your agents.
6 min read
- research
Porting a Node.js agent framework to Workers, Deno, Bun and Vercel Edge
What stopped Mayura from running outside Node.js, the portable helpers that replaced Node APIs, what stays Node-only, and how CI holds every runtime to Node's results.
12 min read
- integration guide
Run Mayura on Cloudflare Workers
Serve agents from a Cloudflare Worker with runs that finish inside their request, workflows advanced by a Cron Trigger, and storage in D1 or PostgreSQL.
8 min read
- integration guide
Trace Mayura agents in Langfuse
Send agent runs and durable workflow runs to Langfuse as traces: models, tokens, cost and tool calls, with no prompt or output ever leaving your process.
8 min read
- guide
Build a refund agent that pays only after a person approves
An AI agent triages refund requests, a durable workflow checks policy, and nothing is paid until an operator approves the exact payment. Built from the approval-workflow starter.
Updated 7 min read
- integration guide
Deploy Mayura on Vercel
Run agents and durable workflows on Vercel Functions with Neon PostgreSQL: request-bound runs, workflows advanced by cron, and what we measured on a real deployment.
Updated 4 min read
- comparison
Mayura vs Mastra
Compare Mastra's agent platform, Studio, and UI integrations with Mayura's editable React components, permissions, budgets, and durable workflows.
Updated 7 min read
- integration guide
Mayura with Next.js
Serve Mayura's agent API from a Next.js route handler, stream runs into React components, and run durable workflows next to your app.
Updated 4 min read
- research
Never twice: side effects in durable agent workflows
How Mayura dispatches each workflow step at most once, surfaces the calls it can't be sure about, and recovers from crashes without paying, emailing or deleting twice.
10 min read