正在加载视频...

视频加载失败

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

58,295 次观看 • 3 个月前 •via X (Twitter)

63 条评论

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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.

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

Full blog post:

Dev Agrawal 的头像
Dev Agrawal3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

Dev Agrawal 的头像
Dev Agrawal3 个月前

opencode when

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

soon

Ofek Shaked | AI Engineer 的头像
Ofek Shaked | AI Engineer3 个月前

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.

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yup!

Shane Thomas 的头像
Shane Thomas3 个月前

bring your own harness!

Micky 的头像
Micky3 个月前

excellent

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

ty!

verrsane 的头像
verrsane3 个月前

This is tuff

Borouch 的头像
Borouch3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yeah we are working on this

安叫兽|Bird🕊️ 🔶 BNB 的头像
安叫兽|Bird🕊️ 🔶 BNB3 个月前

元马具这个说法有点上头

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

ty!

inder 的头像
inder3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

Adeola Emmanuel Morren 的头像
Adeola Emmanuel Morren3 个月前

will chatgpt pro subscriptions work with the codex harness?

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

they should!

Brandon 的头像
Brandon3 个月前

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?

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

getbygenius 的头像
getbygenius3 个月前

pi/hermes on roadmap?

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yup!

Gavin Basuel 的头像
Gavin Basuel3 个月前

need hermes integration thanks

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

🫡

homanp 的头像
homanp3 个月前

@zeeg Very nice!

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

@zeeg ty!

Josh Schlisserman 的头像
Josh Schlisserman3 个月前

Long time coming ✊

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yup

Jay Teo 的头像
Jay Teo3 个月前

Omg

Dave Yen 的头像
Dave Yen3 个月前

👏👏👏

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

🙌

Adhyaay Karnwal 的头像
Adhyaay Karnwal3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

life moves fast in the fast lane

unfair.so intern 的头像
unfair.so intern3 个月前

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

Artale 的头像
Artale3 个月前

Beautiful 😍

aitization 𝕏  的头像
aitization 𝕏 3 个月前

lol 😂

Tristan Tang 的头像
Tristan Tang3 个月前

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.

Gregor 的头像
Gregor3 个月前

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?

Adrian Vance 的头像
Adrian Vance3 个月前

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?

Shawn Kiser 的头像
Shawn Kiser3 个月前

Pitch me Mastra over vercel ai sdk

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

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

brett goldstein 的头像
brett goldstein3 个月前

yessss

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

🙂

Adeola Emmanuel Morren 的头像
Adeola Emmanuel Morren3 个月前

Excuse me what!

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yup!

ilies-bel 的头像
ilies-bel3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

some people want to mix it up

Kate 🐈 的头像
Kate 🐈3 个月前

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?

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

yup!

Daniel White 的头像
Daniel White3 个月前

great job Sam

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

@DanielWhit21874 ty!!

Daniel White 的头像
Daniel White3 个月前

🤍🤍

G. @ The Neuron 的头像
G. @ The Neuron3 个月前

HUGE

J.D. Nicholls is building in public 的头像
J.D. Nicholls is building in public3 个月前

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

Hemanth 的头像
Hemanth3 个月前

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?

Ola 的头像
Ola3 个月前

Mastra is the way 🗿

Yashas 的头像
Yashas3 个月前

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

Sam Bhagwat 的头像
Sam Bhagwat3 个月前

@anymo_ai nice!

相关视频