var agent = DeepAgent.builder(model)
.systemPrompt("You are a careful research assistant.")
.workspace(new InMemoryWorkspace())
.build();
DeepRun run = agent.invoke("research-42", "Collect findings in notes/findings.txt")
.toCompletableFuture().join();The default in-memory workspace accepts safe relative paths only. Without a configured workspace, each thread receives an isolated in-memory workspace.
For an executable example without credentials, run:
mvn -pl :cortavyn-example-deep -am package -Prun-example