Skip to content

Add Mastra harness example#679

Open
vishxrad wants to merge 1 commit into
mainfrom
visharad/add-mastra-harness
Open

Add Mastra harness example#679
vishxrad wants to merge 1 commit into
mainfrom
visharad/add-mastra-harness

Conversation

@vishxrad

Copy link
Copy Markdown
Contributor

Summary

  • Add a new examples/harnesses/mastra-harness Next.js example that connects OpenUI chat to Mastra's Harness API.
  • Configure Assist and Brief harness modes, safe mock tools, LibSQL-backed harness state, and an AG-UI event bridge for OpenUI rendering.
  • Add localStorage-backed OpenUI thread persistence and composer-level mode selection UI.

Validation

  • pnpm --filter mastra-harness run lint
  • pnpm --filter mastra-harness run typecheck
  • Verified the mode picker in the local app at http://localhost:3000/.

Note: the local ignored .env.local was redacted before publishing; it is not included in this PR.

@vishxrad vishxrad changed the title [codex] Add Mastra harness example Add Mastra harness example Jun 25, 2026
@vishxrad vishxrad marked this pull request as ready for review June 25, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant