Official example code cannot run directly, documentation is incomplete and poor quality
I followed the official getting-started tutorial and tried to run the provided sample code, but the example program failed to execute directly out of the box. There are missing dependency prompts, unclear configuration steps, insufficient parameter explanations, and missing prerequisite setup descriptions in the official documents, resulting in new users being unable to reproduce the sample case smoothly according to the documentation step by step.
eg dataagent:
When starting via JDBC, the documentation does not explain how to configure the data source, nor does it provide configuration methods to disable sandbox startup mode.
Opened PR #3293 with a batch of verified doc-vs-code fixes (en+zh): the MCP builder examples rewritten to the real McpClientBuilder.create(...) API, the HITL ToolUseBlock.getSuggestedRules() snippets corrected, ToolGroup.builder() usage, the concurrencySafe default, the _structured_output key, the memory-tool count, the plan-mode whitelist, the execute tool name, and the examples README build instructions. Each fix cites the matching source location in the PR description. This addresses the outdated/non-compilable examples part of this issue; the broader documentation-quality work remains open.
Issue Evaluation
Category: bug / area/docs | Status: Partially resolved — one half still open
Checked against main @ 6a056809a (2026-09-26). The report raises two concrete gaps in the dataagent example; they are now in different states.
1. "Documentation does not explain how to configure the data source" — resolved.
agentscope-examples/agents/agentscope-dataagent/README.md:262-266 now documents the switch explicitly: activate the jdbc Spring profile and set DATAAGENT_DB_URL / DATAAGENT_DB_USER / DATAAGENT_DB_PASSWORD. Those keys are read at src/main/resources/application-jdbc.yml:20-21 and the default H2 path at application.yml:27-29, so the documented instructions match the actual property names. Closing this half.
2. "No configuration method to disable sandbox startup mode" — still open, and it is a feature gap rather than a docs gap.
DataAgentWorkspaceConfig exposes only two sandbox knobs:
dataagent.sandbox.idle-ttl-min(default15) — line 55dataagent.sandbox.eviction-poll-sec(default60) — line 58
(dataagent.workspace, line 66, only relocates the workspace root.) There is no dataagent.sandbox.enabled / disable toggle anywhere in the example's resources, and WorkspaceManagerFactory.java:66 and :93 construct SharedSandboxFilesystem unconditionally on the workspace path. So a user who wants to run dataagent without a sandbox has no supported way to do it today — which is exactly what the reporter is asking for. Documenting a switch that does not exist would not fix it.
Severity: low-medium. It is an opt-out/deployment-flexibility gap, not a correctness or security defect; the default path (sandbox on) works and is the safer default.
Fix direction. Two options, and we would lean to A:
- A — add the opt-out. Introduce
dataagent.sandbox.enabled(defaulttrue) and letWorkspaceManagerFactoryfall back to the non-sandbox local workspace path when it isfalse. Needs an explicit note that disabling the sandbox removes the isolation boundary the README sells at lines 24-27, so it should be paired with a warning in the config table and inREADME_zh.md(the two READMEs are mirrors and must be updated together). - B — document only the intended way to reach the same result. If an opt-out is deliberately not supported — which is plausible given the README's "sandbox lifecycle is owned by the application" framing at lines 43 and 50 — then the README should say so in one line under the configuration table, instead of leaving the reader to hunt for a flag that does not exist.
Next step. This needs a product decision from the maintainers, so we are not generating a PR automatically. If option A should be implemented by us, reply /approve and a spec + PR will follow. If the answer is B, a one-line docs change is small enough that no bot involvement is needed.
Caveats. Static verification only: the README text, @Value bindings and factory construction sites were read at HEAD 6a056809a; nothing was compiled or run, so "no switch exists" is a claim about the property surface and unconditional wiring, not an observed startup failure.
Automated evaluation by github-manager-bot
Status: 72 h feedback window expired — no automated PR will be generated, the proposal window here is closed
The evaluation above (5843437763, posted 2026-09-26T05:13:26Z) reached its 72-hour limit at 2026-09-29T05:13:26Z. The thread carries no reply since that evaluation, so there is no community-chosen shape for us to build a spec against, and per our workflow PR generation is skipped for this proposal window. No competing PR will be filed from this proposal window.
What the window was waiting on, restated so this thread is self-contained: the evaluation checked both halves of the report against main @ 6a056809a. The data-source configuration half is resolved — agentscope-examples/agents/agentscope-dataagent/README.md documents activating the jdbc Spring profile and setting DATAAGENT_DB_URL / DATAAGENT_DB_USER / DATAAGENT_DB_PASSWORD, which are the same keys read by application-jdbc.yml and the default H2 path in application.yml. The remaining half is a feature gap, not a docs gap: DataAgentWorkspaceConfig exposes only dataagent.sandbox.idle-ttl-min and dataagent.sandbox.eviction-poll-sec (plus dataagent.workspace, which only relocates the workspace root), and WorkspaceManagerFactory constructs SharedSandboxFilesystem unconditionally, so there is no supported way to run the example without a sandbox today. Documenting a switch that does not exist would not fix it.
The open item was a product decision with two candidate answers: (A) add dataagent.sandbox.enabled (default true) and let the factory fall back to the non-sandbox local workspace path when it is false, paired with an explicit warning that disabling the sandbox removes the isolation boundary the README sells, updated in both README mirrors together; or (B) state in one line under the configuration table that a sandbox opt-out is deliberately not supported, instead of leaving the reader to hunt for a flag that does not exist.
Standing this window down is a timing call, not a verdict on the report or on the feature. The fix path stays open to anyone: no open PR in the repository references this issue, so nothing is blocked, and a community PR in this seam is still the fastest route. If a maintainer wants a first-party patch instead, one reply here settling option A versus B is enough to get a spec and a PR generated against current main. The window closing only means the bot stops waiting. No action is needed from anyone.
Automated by github-manager-bot
Status update: #3293 (merged) fixed a batch of verified doc-vs-code mismatches (MCP examples, HITL, defaults, tool names; en+zh) — it partially addresses this. Keeping open for the broader example runnability / documentation completeness.