Skip to content
Mayura

Project

What's new in Mayura 1.4

Agent Workspace, editable Tailwind components, typed reply cards and read-only AG-UI reconnection.

Mayura 1.4

Mayura 1.4.0 is available on npm. The release includes the framework, its optional integrations and the standalone @mayurajs/ui package. See the changelog and publication evidence.

  • Start with a workspace. Agent Workspace assembles chat, thread history, activity, exact approval review, citations and artifacts. Use it with an app-owned AG-UI transport on React 19, with or without the Mayura framework.
  • Install the source or the npm package. The shadcn registry copies the components with editable Tailwind v4 classes and merges the shared theme into your app stylesheet. The npm package offers both a Tailwind entry point and compiled CSS. The existing CLI copy-in UI still works.
  • Resume viewing an existing run. An authorized read-only AG-UI connection can restore the transcript and a pending approval after a dropped stream. The read does not resubmit the prompt or the decision.
  • Show structured results. Typed reply cards render tables, allowlisted downloads and confirmations, with custom renderers supplied by your app. The server still authorizes actions that write.

Run the Next.js workspace example to try the full flow locally without provider credentials. To upgrade a Mayura backend, run npm install mayura@1.4.0 and upgrade the framework integrations your app uses to 1.4.0. The Mayura AG-UI adapter remains experimental.

Mayura 1.3

Mayura 1.3 launched @mayurajs/ui for React 19 and the Mayura shadcn registry. It introduced standalone composable chat, thread history, approvals, citations, artifacts and activity components.

Mayura 1.2.2

Mayura 1.2.2 shipped the framework and 105 optional integrations. See the release evidence.

  • Run a retrieval agent locally. Generate the Modal + Pinecone RAG starter with the published CLI. Its credential-free demo ingests Markdown and produces an answer with exact citations.
  • Upgrade the HTTP and validation dependencies. The release includes Zod 4.6.7, Hono 4.13.20 and @hono/node-server 2.1.11. Qualification audits production dependencies across all 106 packages.
  • Try RAG from an npm install. The RAG quickstart covers ingestion, retrieval, citation verification and deletion. Registry acceptance tests exercise recovery, scope enforcement and provider failures using deterministic fixtures.

Mayura 1.2.1

Production retrieval and configurable graphs

The Modal and Pinecone Loki v28 profile is stable for its registered software-operations workload. Qualification covered 40 source-reviewed cases, 600 timed native queries, recovery, scope isolation and cleanup. The semantic acquisition and ranking p95 upper bound was 4.725 seconds. Other profiles remain experimental. Start with Build and deploy a retrieval agent.

Workflow graphs keep the 128-node default. V1.2.1 adds a configurable per-graph bound and a trusted host option to disable that count limit. See configuring graph size.

The following capabilities were introduced in Mayura 1.2.0.

Conversations that continue

Threads retain scoped conversation history in your database. A run can pause for an exact tool approval, save a checkpoint, and resume through another host. Thread/run recording and recovery preserve completed turns without replaying tool writes. Bounded compaction journals the summary's source, model and cost; uncertain paid work requires inspection rather than another call.

Agent handoffs continue the thread and budget while switching to separately declared agent permissions. The initial profile is buffered, text-only, non-speculative root runs.

Authorization throughout the runtime

Fine-grained authorization adds a shared policy contract, built-in RBAC, audit events and OpenTelemetry integration. Scoped server routes, agent/tool execution, workflows, memory, retrieval, threads, approvals and compaction use that contract. Optional adapters cover OpenFGA, Cedar, Permit.io, Oso and an external HTTP policy service. Resource decisions supplement explicit runtime grants; they do not replace them.

Start with an application

Six framework starters generate working notebooks for Next.js, Hono, React Router, TanStack Start, SvelteKit and Nuxt. They include scoped threads, exact note approvals, an offline model fixture, a separate indexing worker and deployment source. Find the current application catalog in Choose a starter.

Copy-in React components provide thread history, approval and run controls as source you own. Headless stores support native Svelte and Vue views. Hooks and subscriptions observe; submissions and approval decisions remain explicit actions.

Gateways and retrieval

Six AI gateway packages connect Vercel AI Gateway, Cloudflare AI Gateway, OpenRouter, Portkey, Helicone and LiteLLM with scoped models, explicit credentials and bounded costs.

Retrieval augmented generation adds scoped citations, durable ingestion and embedding claims, parent context, hybrid retrieval and query expansion, six vector adapters, three rerankers and offline evaluation.

The experimental AG-UI adapter projects run events, thread messages, state snapshots/deltas and approval interrupts. Durable frontend-tool claims and result outboxes support safe native-owner recovery without automatically replaying browser writes. Reference-client, CopilotKit and rendered notebook interoperability remain outside the completed qualification.

Upgrade and qualification

Review versioning, support and the 1.2.2 validation status. The 1.2.2 qualification included an upgrade from a 1.2.1 database. Check the qualification scope for the external services you use.

Mayura 1.1

Mayura 1.1 adds new capabilities to mayura and 85 optional integration packages that connect it to other services. It is a minor release: nothing documented in 1.0 changes, and a 1.0 database works with 1.1 as it is, with no migration. The full list is in CHANGELOG.md.

Models

  • A model registry names models as provider/model, with dated prices (long-context prices too), retries and fallback chains.
  • Eight provider packages: OpenAI, Anthropic, Google Gemini, Amazon Bedrock, Azure OpenAI, Mistral, Groq and Ollama.

Voice

mayura/voice transcribes speech and speaks text, with prices and a cost bound checked before each call. Seven packages: OpenAI, ElevenLabs, Deepgram, AssemblyAI, Google Cloud, Azure Speech and Cartesia.

Files

  • mayura/files keeps files in object stores, with conditional writes, versions, tenant views and file tools.
    • S3 is built in, which also covers Cloudflare R2, MinIO and Backblaze B2.
    • Artifacts can live in any file store.
  • Eight packages: Google Cloud Storage, Azure Blob Storage, R2 through a Workers binding, Vercel Blob, Google Drive, AgentFS, Mesa, and any Files SDK provider.

Storage

Storage gains libSQL (Turso), MySQL, MongoDB, Cloudflare D1 and Amazon DynamoDB, beside SQLite and PostgreSQL. Every store passes the same conformance suites. PostgreSQL can also run on a pool you create, which is how it runs at the edge.

Sandboxes and browsers

  • mayura/sandbox gives agents isolated Linux machines to run commands and handle files.
    • Docker is built in, locked down by default.
    • Twelve hosted providers: E2B (and E2B Desktop), Vercel, Daytona, Fly.io, AWS AgentCore, Modal, Railway, Northflank, CodeSandbox, Cloudflare and Apple container.
  • mayura/browser gives agents real browsers, kept to the origins you allow.
    • It drives the Chrome or Edge already installed, or a hosted browser: Browserbase, Steel, Hyperbrowser, Browserless, Kernel, Browser Use, Anchor, BrowserView, Cloudflare and Firecrawl.
    • Also: Stagehand and agent-browser as tools, Cloudflare quick actions, and a live viewer.

Authentication and API keys

Authentication and API keys:

  • mayura/auth verifies tokens from any identity provider on any runtime and maps them to what a caller may do. mayura/auth/better-auth hosts sign-in with better-auth.
  • Eleven identity provider packages: Clerk, Auth0, Neon Auth, Supabase, Firebase, WorkOS, Google, Facebook, Microsoft Entra ID, Okta and Amazon Cognito.
  • mayura/keys issues, rotates and revokes API keys in any Mayura store, with scopes, expiry, rate limits and credits. Keys issued by Unkey or ReqKey work through their packages.

Observability

Observability traces now carry OpenTelemetry GenAI attributes and token counts. They can be sent through your own OpenTelemetry SDK, or as OTLP JSON or protobuf. Seven service packages: Langfuse, LangSmith, Datadog, Arize AX and Phoenix, Sentry, Better Stack and PostHog.

Deploy, and the edge

  • mayura deploy writes a target's files for review, then shows a plan and runs it, after you confirm, through the platform's own tools.
    • Docker, Docker Compose and Kubernetes are built in.
    • Eleven platform packages: Fly.io, Railway, Render, Google Cloud Run, AWS ECS and Lambda, Vercel, Azure Container Apps, DigitalOcean, Amazon Bedrock AgentCore and Cloudflare.
  • Edge runtimes. Mayura runs on Cloudflare Workers, Vercel Edge Functions, Deno and Bun, apart from the Node-only entry points; see Deployment and Support.

Upgrading from 1.0

Install the same version of mayura and of every @mayurajs/* package you use: they are released together. No code or storage changes are needed. See Versioning for what each release promises.