Preserve hierarchy
Supervisor and subagents remain first-class branches, not generic events.
Bring your Mastra supervisor and subagents. Super Harness composes into the super-line host you already own and persists every nested stream as one replayable session tree.
One server, connection, authentication system, and collections backend.
plugins: [harness(engine)]Supervisor and subagent branches persist through super-line collections, while humans and agents collaborate on the same typed CRDT state.
The integration boundary
Super Harness joins your super-line server as a plugin. It doesn't introduce another service for your team to authenticate, deploy, or reconcile.
pnpm add @super-harness/core @super-harness/server @mastra/coreimport { createHarness } from '@super-harness/core'
import { harness } from '@super-harness/server'
import { harnessContract } from '@super-harness/shared'
const engine = createHarness({
supervisor,
subagents: [{ agent: researcher }],
})
const app = defineContract({
plugins: [harnessContract()],
roles: { user: {} },
})
createSuperLineServer(app, {
transports,
collections,
authenticate,
identify: (connection) => connection.ctx.userId,
plugins: [harness(engine)],
})Built for the run, not the transcript
Supervisor and subagents remain first-class branches, not generic events.
Reconnects and late joiners rebuild the same session without replay glue.
Ask for input or approval inside the durable run, then continue it exactly.
A working run is the proof