Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

We're excited to introduce Claude Code, Cursor, and Codex agents in Mastra. Starting today, Mastra is now a meta-harness:

58,295 Aufrufe • vor 3 Monaten •via X (Twitter)

63 Kommentare

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

Mastra has always been model-agnostic. Today with so many harnesses, we're taking a step towards being harness agnostic as well.

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

Over the last couple months, we noticed a number of our users delegating tasks from their Mastra agent to a lab harness. So we wanted to make this an official, first class supported behavior.

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

Harnesses maintain their existing feature set — file handling, codebase reasoning, multi-agent handoffs, permission controls.

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

They also inherit Mastra's agent surface: Calls: .generate(), .stream() etc Composition: workflow steps, subagent delegation, attached tools Studio Observability: logs, traces, token usage, cost Per-run options: requestContext, structuredOutput, abortSignal, instructions, etc

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

Full blog post:

Profilbild von Dev Agrawal
Dev Agrawalvor 3 Monaten

Lmao I literally just moved my code over to vercel ai sdk to do this Guess I’m moving back to Mastra

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

the funny thing is we'd actually shipped it a week ago, just hadn't announced it yet

Profilbild von Dev Agrawal
Dev Agrawalvor 3 Monaten

opencode when

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

soon

Profilbild von Ofek Shaked | AI Engineer
Ofek Shaked | AI Engineervor 3 Monaten

The harness layer is useful but the real leverage comes from treating agent sessions as first class observable infrastructure rather than one off conversations that disappear when the tab closes.

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yup!

Profilbild von Shane Thomas
Shane Thomasvor 3 Monaten

bring your own harness!

Profilbild von Micky
Mickyvor 3 Monaten

excellent

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

ty!

Profilbild von verrsane
verrsanevor 3 Monaten

This is tuff

Profilbild von Borouch
Borouchvor 3 Monaten

Not far enough though. Need codex auth support, Opencode Go auth support, ship your own harness with plugins/extensions e.g subagents, compaction. If mastra doesn't start accumulating plugin community, it will not be relevant player in harness ecosystem. For now switching to pi

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yeah we are working on this

Profilbild von 安叫兽|Bird🕊️ 🔶 BNB
安叫兽|Bird🕊️ 🔶 BNBvor 3 Monaten

元马具这个说法有点上头

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

ty!

Profilbild von inder
indervor 3 Monaten

Does this mean, I can now use my claude code subscription, or is this still claude -p?

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

you may have about as much luck as we do getting answers from anthropic about this

Profilbild von Adeola Emmanuel Morren
Adeola Emmanuel Morrenvor 3 Monaten

will chatgpt pro subscriptions work with the codex harness?

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

they should!

Profilbild von Brandon
Brandonvor 3 Monaten

Using the AI sdk for a project cause I needed better control of the full flow. (Ie: using Honcho from Hermes, or pragmatically injecting tools based on discovered skills). Why should I switch?

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

you can do everything you're already doing plus you also get memory, evals, datasets, studio, etc

Profilbild von getbygenius
getbygeniusvor 3 Monaten

pi/hermes on roadmap?

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yup!

Profilbild von Gavin Basuel
Gavin Basuelvor 3 Monaten

need hermes integration thanks

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

🫡

Profilbild von homanp
homanpvor 3 Monaten

@zeeg Very nice!

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

@zeeg ty!

Profilbild von Josh Schlisserman
Josh Schlissermanvor 3 Monaten

Long time coming ✊

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yup

Profilbild von Jay Teo
Jay Teovor 3 Monaten

Omg

Profilbild von Dave Yen
Dave Yenvor 3 Monaten

👏👏👏

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

🙌

Profilbild von Adhyaay Karnwal
Adhyaay Karnwalvor 3 Monaten

Wait damn what happens to Mastra The last time I used it was like early 2025 or smth that’s crazy

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

life moves fast in the fast lane

Profilbild von unfair.so intern
unfair.so internvor 3 Monaten

Сool! Also Sam, inviting you to the beta test! I'm building which helps you grow on X and acquire users

Profilbild von Artale
Artalevor 3 Monaten

Beautiful 😍

Profilbild von aitization 𝕏 
aitization 𝕏 vor 3 Monaten

lol 😂

Profilbild von Tristan Tang
Tristan Tangvor 3 Monaten

This is where a tiny desktop status layer becomes useful. Once Claude Code/Codex agents run inside a meta-harness, I still want running / waiting / stuck visible outside the app. I built Agent Island for that notch-level signal.

Profilbild von Gregor
Gregorvor 3 Monaten

not sure 'meta-harness' clicks yet, cursor and claude code are both pretty opinionated about their own context. does running them inside mastra actually reduce friction or do you end up juggling two context windows?

Profilbild von Adrian Vance
Adrian Vancevor 3 Monaten

generative ui inside an isolated sandbox via experimental harness agents is a massive leap forward. standard stream completion usually breaks the moment structural layout shifts, but pushing decoupled json-render schemas guarantees layout predictability at the runtime boundary. are you executing the component serialization deterministically, or relying on reactive token parsing to catch schema regressions before the ui layer mounts?

Profilbild von Shawn Kiser
Shawn Kiservor 3 Monaten

Pitch me Mastra over vercel ai sdk

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

has everything you need to get into production. memory, studio, observability, workflows, evals, datasets, etc

Profilbild von brett goldstein
brett goldsteinvor 3 Monaten

yessss

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

🙂

Profilbild von Adeola Emmanuel Morren
Adeola Emmanuel Morrenvor 3 Monaten

Excuse me what!

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yup!

Profilbild von ilies-bel
ilies-belvor 3 Monaten

love mastra and respect the direction here. i’m still a bit skeptical though, would love to see the actual user cases where people want claude code/cursor/codex inside a mastra workflow

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

some people want to mix it up

Profilbild von Kate 🐈
Kate 🐈vor 3 Monaten

harness-agnostic is the right call, nobody wants to bet their whole stack on one lab's cli. the part i'd watch is the handoff: when mastra delegates to claude code then picks it back up, does context survive, or does each harness start cold and re-discover the repo?

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

yup!

Profilbild von Daniel White
Daniel Whitevor 3 Monaten

great job Sam

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

@DanielWhit21874 ty!!

Profilbild von Daniel White
Daniel Whitevor 3 Monaten

🤍🤍

Profilbild von G. @ The Neuron
G. @ The Neuronvor 3 Monaten

HUGE

Profilbild von J.D. Nicholls is building in public
J.D. Nicholls is building in publicvor 3 Monaten

Hey folks, thanks for the updates! About long-running workflows, is there any integration w/ @temporalio? <3

Profilbild von Hemanth
Hemanthvor 3 Monaten

sorry dumb question - does this mean I can pass my claude / openai oauth key (or let my users do that if they trust me) and piggyback off their max/pro sub?

Profilbild von Ola
Olavor 3 Monaten

Mastra is the way 🗿

Profilbild von Yashas
Yashasvor 3 Monaten

Cool! Even I'm building a mera harness for all models but self improving at @anymo_ai

Profilbild von Sam Bhagwat
Sam Bhagwatvor 3 Monaten

@anymo_ai nice!

Ähnliche Videos