Skip to content

docs: update dev guides for the current agent runtime - #484

Open
Chenglong Wang (Chenglong-MS) wants to merge 1 commit into
devfrom
docs/dev-guides-cleanup
Open

Chenglong Wang (Chenglong-MS) wants to merge 1 commit into
devfrom
docs/dev-guides-cleanup

Conversation

@Chenglong-MS

Copy link
Copy Markdown
Collaborator

The dev guides still described the agents removed in the agent-runtime refactor (DataAgent, DataRecAgent, DataTransformationAgent, InteractiveExploreAgent, ReportGenAgent, ChartInsightAgent, DataLoadingAgent, ...) and pointed at files, functions, routes, scripts and tests that no longer exist. Each guide was checked against the code on dev and now describes AnalystAgent, the helper agents and the workflow agent as they are. Docs only; no code changes.

Guide Main changes
1 streaming protocol analyst-streaming / workflows/run events, interact replaces clarify, heartbeat and error shapes, streamRequest()
3 data loaders current hooks (preview_data, auth_paths, discover_param_options, ...), catalog-cache metadata, plugin rules, test setup
5 data connector API route tables match data_connector.py (removed get-node-detail), JSON connector storage, plugin precedence
6 i18n / language injection current agents and routes, 8 locales with key-parity test, real message codes
7 error handling existing tests and ESLint rule instead of the missing guardrail script
10 knowledge / reasoning log current state of knowledge integration, reasoning-log events, tests
11 catalog metadata sync discovery tools, cache v2 format, find_catalog_cache, metadata matrices
12 sandbox session who uses SandboxSession, what persists across calls
13 row limits ephemeral mode keeps tables on the server, data-operation loading limits
14 model capability runtime fallbacks in Client, current model tiers

Also fixes references to removed files and agents in tests/backend/README.md and tests/test_plan.md.

Findings worth a separate look (not changed here):

  • No agent reads the knowledge base since the refactor: AnalystAgent creates a KnowledgeStore but never reads it, _get_knowledge_store() in routes/agents.py has no callers, and KnowledgePanel is not mounted. Guide 10 documents this as the current state.
  • WorkflowAgent runs Python through _run_in_warm_subprocess, which only the local sandbox has, so --sandbox docker likely fails there.
  • The Settings hint config.localRowLimitHint still says rows are "not stored on server", which no longer matches ephemeral mode.

The guides still described the agents removed in the agent-runtime refactor
(DataAgent, DataRecAgent, DataTransformationAgent, InteractiveExploreAgent,
ReportGenAgent, ChartInsightAgent, DataLoadingAgent, ...) and pointed at
files, functions, routes, scripts and tests that no longer exist. Each guide
was checked against the code and now describes AnalystAgent, the helper
agents and the workflow agent as they are:

- 1 streaming: analyst-streaming and workflows/run events, interact, errors
- 3/5 data loaders and connector API: current hooks, routes, storage, plugins
- 6 i18n: current agents' language injection, 8 locales, message codes
- 7 errors: existing tests in place of the missing guardrail script
- 10 knowledge: the current (unused) knowledge integration and reasoning log
- 11 catalog: discovery tools, cache format, find_catalog_cache, matrices
- 12 sandbox session: who uses SandboxSession and what persists
- 13 row limits: ephemeral server-side storage, data-operation loading
- 14 model capability: runtime fallbacks in Client, current tiers
- tests/backend/README.md and tests/test_plan.md: removed files and agents

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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