How are different modes implemented in MastraCode?

HEAD
e563911test(core): add regression tests for typeless tool schema items stripping (#14078)
This post might have stale content, as HEAD is 10359 commits ahead.

in mastracode, how does the different modes are implemented? plan, build, ... ?

Avatar of julianbenegas
Julian Benegas
commented

can i see more code? how's the Agent defined? what's buildRequestContext()

Avatar of julianbenegas
Julian Benegas
commented

so coming back to the plan/build/fast modes: it's all driven by the requestContext, right? can the LLM itself decide to mutate this context? is this context persisted when a client dies and then re-connects?


END OF POST

How are different modes implemented in MastraCode? — mastra-ai/mastra