copilotkit 4.9.2 → 4.9.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +13 -12
  2. package/cli-build-info.json +8 -8
  3. package/index.js +1879 -685
  4. package/onboarding/index.json +15 -0
  5. package/onboarding/prompts/authenticate/start.md +180 -71
  6. package/onboarding/prompts/conversion/plan.md +103 -0
  7. package/onboarding/prompts/credentials/finalize-plan.md +105 -135
  8. package/onboarding/prompts/credentials/plan.md +42 -25
  9. package/onboarding/prompts/fallback/best-effort.md +107 -16
  10. package/onboarding/prompts/framework/ag2.md +8 -19
  11. package/onboarding/prompts/framework/agno.md +12 -20
  12. package/onboarding/prompts/framework/built-in.md +4 -14
  13. package/onboarding/prompts/framework/claude-sdk-python.md +8 -18
  14. package/onboarding/prompts/framework/claude-sdk-typescript.md +10 -20
  15. package/onboarding/prompts/framework/crewai-flows.md +31 -27
  16. package/onboarding/prompts/framework/deep-agents.md +10 -20
  17. package/onboarding/prompts/framework/google-adk.md +4 -16
  18. package/onboarding/prompts/framework/langgraph-fastapi.md +4 -16
  19. package/onboarding/prompts/framework/langgraph-python.md +4 -16
  20. package/onboarding/prompts/framework/langgraph-typescript.md +4 -16
  21. package/onboarding/prompts/framework/llamaindex.md +8 -19
  22. package/onboarding/prompts/framework/mastra.md +4 -16
  23. package/onboarding/prompts/framework/ms-agent-dotnet.md +19 -50
  24. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +24 -36
  25. package/onboarding/prompts/framework/ms-agent-python.md +4 -16
  26. package/onboarding/prompts/framework/pydantic-ai.md +27 -26
  27. package/onboarding/prompts/framework/strands-python.md +9 -18
  28. package/onboarding/prompts/framework/strands-typescript.md +10 -18
  29. package/onboarding/prompts/frontend/angular.md +22 -19
  30. package/onboarding/prompts/frontend/nextjs.md +6 -16
  31. package/onboarding/prompts/frontend/plan.md +9 -14
  32. package/onboarding/prompts/frontend/react-native.md +11 -14
  33. package/onboarding/prompts/frontend/react-spa.md +5 -15
  34. package/onboarding/prompts/frontend/vue.md +12 -14
  35. package/onboarding/prompts/implementation/build-and-validate.md +61 -101
  36. package/onboarding/prompts/proof/complete.md +24 -5
  37. package/onboarding/prompts/proof/oss-baseline.md +15 -50
  38. package/onboarding/prompts/proof/round-trip.md +96 -271
  39. package/onboarding/prompts/starter/clone.md +4 -4
  40. package/onboarding/prompts/subagent/create-plan.md +49 -11
  41. package/onboarding/prompts/subagent/implement-and-validate.md +71 -51
  42. package/onboarding/prompts/subagent/inspect-repository.md +38 -9
  43. package/onboarding/prompts/subagent/prove-oss-baseline.md +2 -1
  44. package/onboarding/prompts/subagent/prove-round-trip.md +154 -51
  45. package/onboarding/prompts/unsupported/no-validated-path.md +10 -2
  46. package/package.json +1 -1
  47. package/release/release-tool.js +1 -1
@@ -6,18 +6,13 @@ credential variables and setup steps.
6
6
 
7
7
  Name the default model credential `OPENAI_API_KEY`.
8
8
 
9
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
10
- store, or request a secret value.
11
-
12
9
  ## Documentation
13
10
 
14
11
  - https://docs.copilotkit.ai/agno/quickstart.md
15
12
  - https://docs.copilotkit.ai/agno/inspector.md
16
- - https://docs.copilotkit.ai/agno/generative-ui/a2ui/fixed-schema.md
13
+ - https://docs.copilotkit.ai/agno/generative-ui/tool-based.md
17
14
  - https://docs.copilotkit.ai/agno/shared-state/agent-readonly.md
18
15
 
19
- Fetch all four pages in one step rather than one after another.
20
-
21
16
  The documentation scope is `agno`. Use only the Python agent examples from these pages.
22
17
  When the repository already has an Agno agent, use the quickstart's
23
18
  `Use an existing agent` path. Use `Start from scratch` only when the repository needs a
@@ -27,22 +22,19 @@ new agent. For a new agent, install the documented Python dependencies
27
22
  `@ag-ui/agno` targets `/agui`. Do not replace that adapter with a generic agent or change
28
23
  the endpoint without repository evidence.
29
24
 
30
- The fixed-schema page has no Agno backend schema-loading, render-operations, or runtime
31
- setup snippet. The agent-readonly page does not bundle its Agno backend context setup.
32
- Do not invent either missing backend setup. If the requested work needs one of those
33
- setups and the project does not already have it, run the unsupported route below.
25
+ The agent-readonly page does not bundle its Agno backend context setup. Do not invent it.
26
+ If the requested work needs that setup and the project does not already have it, run the
27
+ unsupported route below.
34
28
 
35
- Record the selected framework, vendor, model, required credential variable names, these
36
- URLs, the documented dependencies and adapter, and both documentation gaps. Do not use
37
- remembered CopilotKit instructions.
29
+ A2UI is not on this path. If the developer asks for it, say first that its page has no Agno
30
+ backend schema-loading, render-operations, or runtime setup snippet, so there is nothing to
31
+ follow for the backend half.
38
32
 
39
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
40
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
41
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
42
- unavailable only after a second method also fails.
33
+ Record the selected framework, vendor, model, required credential variable names, these
34
+ URLs, the documented dependencies and adapter, and the context documentation gap.
43
35
 
44
36
  If the pages support the selection, run
45
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
46
38
 
47
- If a second method also fails, or a page that loads does not support the selection, run
48
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
39
+ If the documentation does not support the selection, run
40
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -6,9 +6,6 @@ its credential variables and setup steps.
6
6
 
7
7
  Name the default model credential `OPENAI_API_KEY`.
8
8
 
9
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
10
- store, or request a secret value.
11
-
12
9
  The built-in agent runs in the CopilotKit Runtime process.
13
10
  Do not create or start a separate agent server.
14
11
  Keep the agent, model choice, tools, and runtime endpoint in the project's existing
@@ -23,21 +20,14 @@ runtime setup.
23
20
  - https://docs.copilotkit.ai/model-selection.md
24
21
  - https://docs.copilotkit.ai/generative-ui/tool-based.md
25
22
 
26
- Fetch all six pages in one step rather than one after another.
27
-
28
23
  These pages use the root documentation scope. Do not add a framework path segment to
29
24
  their URLs. Use the tool-based generative UI page for this built-in route.
30
25
 
31
26
  Record the selected framework, vendor, model, required credential variable names, and
32
- these URLs. Do not use remembered CopilotKit instructions.
33
-
34
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
35
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
36
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
37
- unavailable only after a second method also fails.
27
+ these URLs.
38
28
 
39
29
  If the pages support the selection, run
40
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
30
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
41
31
 
42
- If a second method also fails, or a page that loads does not support the selection, run
43
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
32
+ If the documentation does not support the selection, run
33
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -7,18 +7,13 @@ name its credential variables and setup steps.
7
7
  Name the model credential `ANTHROPIC_API_KEY`. The documented model variable is
8
8
  `ANTHROPIC_MODEL`.
9
9
 
10
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
11
- store, or request a secret value.
12
-
13
10
  ## Documentation
14
11
 
15
12
  - https://docs.copilotkit.ai/claude-sdk-python/quickstart.md
16
13
  - https://docs.copilotkit.ai/claude-sdk-python/inspector.md
17
- - https://docs.copilotkit.ai/claude-sdk-python/generative-ui/a2ui/fixed-schema.md
14
+ - https://docs.copilotkit.ai/claude-sdk-python/generative-ui/tool-based.md
18
15
  - https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
19
16
 
20
- Fetch all four pages in one step rather than one after another.
21
-
22
17
  The documentation scope is `claude-sdk-python`. For an existing agent, install the exact
23
18
  documented backend set with
24
19
  `uv add claude-agent-sdk ag-ui-claude-sdk ag-ui-protocol anthropic fastapi uvicorn python-dotenv`.
@@ -26,24 +21,19 @@ Expose the agent through FastAPI and use `ClaudeAgentAdapter` from `ag_ui_claude
26
21
  Keep one long-lived adapter at module scope. Register the remote endpoint in Copilot Runtime
27
22
  with `HttpAgent`. Do not replace this transport with a different Claude or AG-UI adapter.
28
23
 
29
- For fixed-schema A2UI, keep the tool in the agent. Set `injectA2UITool` to `false` in the
30
- runtime. The documented Python setup does not support `action_handlers` on
31
- `a2ui.render`. Do not add them or claim that the fixed-schema button callback works.
24
+ A2UI is not on this path. If the developer asks for it, say first that the documented
25
+ Python setup does not support `action_handlers` on `a2ui.render`, so its button callback
26
+ cannot return a decision to the agent.
32
27
 
33
28
  No Claude Agent SDK Python agent-app-context Markdown page is available. The reference
34
29
  page above documents the frontend hook only. Do not invent the missing agent-side context
35
30
  setup. If the requested work needs that setup, run the unsupported route below.
36
31
 
37
32
  Record the selected framework, vendor, model, required credential variable names, these
38
- URLs, and the context and A2UI limits. Do not use remembered CopilotKit instructions.
39
-
40
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
41
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
42
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
43
- unavailable only after a second method also fails.
33
+ URLs, and the context limit.
44
34
 
45
35
  If the pages support the selection, run
46
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
36
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
47
37
 
48
- If a second method also fails, or a page that loads does not support the selection, run
49
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
38
+ If the documentation does not support the selection, run
39
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -7,18 +7,13 @@ name its credential variables and setup steps.
7
7
  Name the model credential `ANTHROPIC_API_KEY`. The documented model variable is
8
8
  `CLAUDE_MODEL`.
9
9
 
10
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
11
- store, or request a secret value.
12
-
13
10
  ## Documentation
14
11
 
15
12
  - https://docs.copilotkit.ai/claude-sdk-typescript/quickstart.md
16
13
  - https://docs.copilotkit.ai/claude-sdk-typescript/inspector.md
17
- - https://docs.copilotkit.ai/claude-sdk-typescript/generative-ui/a2ui/fixed-schema.md
14
+ - https://docs.copilotkit.ai/claude-sdk-typescript/generative-ui/tool-based.md
18
15
  - https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
19
16
 
20
- Fetch all four pages in one step rather than one after another.
21
-
22
17
  The documentation scope is `claude-sdk-typescript`. For an existing agent, install the
23
18
  documented packages, including `@anthropic-ai/claude-agent-sdk@^0.2.58`,
24
19
  `@anthropic-ai/sdk`, `@ag-ui/claude-agent-sdk`, `@ag-ui/core`, `@ag-ui/encoder`,
@@ -26,11 +21,11 @@ documented packages, including `@anthropic-ai/claude-agent-sdk@^0.2.58`,
26
21
  `ClaudeAgentAdapter` from `@ag-ui/claude-agent-sdk` in that endpoint and `HttpAgent` in
27
22
  Copilot Runtime. Do not replace either adapter.
28
23
 
29
- For fixed-schema A2UI, expose the backend tool through the in-process Claude SDK MCP
30
- server. Set `injectA2UITool` to `false` so the agent-owned tool is the only A2UI tool.
31
- The Claude Agent SDK adapter does not bridge CopilotKit frontend or runtime tools through
32
- AG-UI. If the requested path needs those tools, run the unsupported route below. Do not
33
- replace the Claude Agent SDK with the direct Anthropic Messages API fallback.
24
+ The adapter bridges CopilotKit frontend tools: it converts the run's tool list into an
25
+ in-process MCP server and halts its own stream on a frontend tool call so the browser
26
+ renders it. A component registered on the frontend therefore needs nothing added to this
27
+ agent. Do not replace the Claude Agent SDK with the direct Anthropic Messages API
28
+ fallback.
34
29
 
35
30
  The adapter appends AG-UI `input.context` entries to the Claude system prompt. Pair that
36
31
  backend path with the frontend hook from the reference page. Treat this as read-only app
@@ -39,15 +34,10 @@ pinned adapter source before using this path. If the package no longer handles
39
34
  `input.context`, run the unsupported route below.
40
35
 
41
36
  Record the selected framework, vendor, model, required credential variable names, these
42
- URLs, and the adapter and context limits. Do not use remembered CopilotKit instructions.
43
-
44
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
45
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
46
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
47
- unavailable only after a second method also fails.
37
+ URLs, and the context limit.
48
38
 
49
39
  If the pages support the selection, run
50
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
40
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
51
41
 
52
- If a second method also fails, or a page that loads does not support the selection, run
53
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
42
+ If the documentation does not support the selection, run
43
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -1,30 +1,37 @@
1
1
  # Configure CrewAI Flows
2
2
 
3
- Preserve the project's existing CrewAI Flow, model, and deployment. The selected pages do
4
- not name a default model vendor or model credential variable. Do not choose a vendor or
5
- credential name for the developer. Ask only for a choice that the repository does not
6
- show and the documentation supports.
7
-
8
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
9
- store, or request a secret value.
3
+ Preserve the project's existing CrewAI Flow, provider, model, and deployment. The selected
4
+ pages do not name a default model vendor or model credential variable. Do not choose a
5
+ vendor or credential name for the developer.
6
+
7
+ When the repository shows a provider, keep it and ask nothing further about it. When
8
+ neither the repository nor these pages show one, the developer decides, so ask. Ask one
9
+ short question: which model vendor the CrewAI Flow will call. Say that the CopilotKit
10
+ CrewAI pages name no vendor, so this release makes no recommendation here and will not
11
+ pick one. If the developer names a vendor and no variable name, propose the variable name
12
+ that vendor's own client reads and ask them to confirm it. A proposal the developer
13
+ confirms is theirs. Ask for a variable name, never the value it holds. Do not combine this
14
+ with a frontend, project, or plan-approval question. Record the answer as the
15
+ project-defined provider, model, and credential variable name, and continue.
16
+
17
+ A vendor nobody has chosen yet is not a missing supported path. This release supports
18
+ CrewAI Flows. Do not run the unsupported route below because the project defines no
19
+ vendor. That route is for a documentation page that does not support the selection.
10
20
 
11
21
  ## Documentation
12
22
 
13
23
  - https://docs.copilotkit.ai/crewai-crews/quickstart.md
14
24
  - https://docs.copilotkit.ai/crewai-crews/inspector.md
15
- - https://docs.copilotkit.ai/crewai-crews/generative-ui/a2ui/fixed-schema.md
25
+ - https://docs.copilotkit.ai/crewai-crews/generative-ui/tool-based.md
16
26
  - https://docs.copilotkit.ai/crewai-crews/shared-state/in-app-agent-read.md
17
27
 
18
- Fetch all four pages in one step rather than one after another.
19
-
20
28
  The public onboarding route ID is `crewai-flows`. The canonical documentation scope is
21
29
  `crewai-crews`. The quickstart and feature pages also contain older `/crewai-flows/`
22
30
  links. Use the canonical Markdown URLs above and keep the project's CrewAI Flow name.
23
31
 
24
32
  The quickstart offers `Use the CopilotKit CLI (NextJS only)` and `Code along`. It assumes
25
- an existing Flow. Preserve the vendor, model, and credential variable that the project
26
- already uses. The new quickstart example uses GitHub Models. An existing OpenAI Flow can
27
- keep OpenAI and `OPENAI_API_KEY`. Do not change vendors to match the example.
33
+ an existing Flow. Preserve the provider, model, and credential variable that the project
34
+ already uses. Do not change the provider to match an example.
28
35
 
29
36
  The current Python base adapter is `ag-ui-crewai==0.3.0`. Add the endpoint to the
30
37
  project's FastAPI app with
@@ -32,25 +39,22 @@ project's FastAPI app with
32
39
  and its regular, non-conversational mode. Use the generic `HttpAgent` for the `/chat`
33
40
  endpoint. Do not invent a `CrewAIAgent` runtime class.
34
41
 
35
- The fixed-schema page extends this base adapter. Keep the fixed-schema tool on the CrewAI
36
- Flow path, call `copilotkit_emit_tool_result`, and set `injectA2UITool: false` in the
37
- runtime catalog. Do not replace the existing Flow with a Crew, Agent, or Task graph.
42
+ Do not replace the existing Flow with a Crew, Agent, or Task graph.
43
+
44
+ A2UI is not on this path. If the developer asks for it, say first that its page extends
45
+ this base adapter rather than standing alone, so it needs the Flow to call
46
+ `copilotkit_emit_tool_result` itself.
38
47
 
39
48
  The shared-state page is not an agent-app-context guide. Do not use it to invent a
40
49
  `useAgentContext` backend setup. If the requested work needs app context rather than the
41
50
  documented shared-state path, run the unsupported route below.
42
51
 
43
- Record the selected framework, project-defined vendor and model, repository-proven
44
- credential variable names, these URLs, the adapter, and both documentation limits. Do not
45
- use remembered CopilotKit instructions.
46
-
47
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
48
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
49
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
50
- unavailable only after a second method also fails.
52
+ Record the selected framework, project-defined provider and model, the credential
53
+ variable names the repository proves or the developer named, these URLs, the adapter, and the
54
+ shared-state limit.
51
55
 
52
56
  If the pages support the selection, run
53
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
57
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
54
58
 
55
- If a second method also fails, or a page that loads does not support the selection, run
56
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
59
+ If the documentation does not support the selection, run
60
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -6,40 +6,30 @@ page must name its credential variables and setup steps.
6
6
 
7
7
  Name the default model credential `OPENAI_API_KEY`.
8
8
 
9
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
10
- store, or request a secret value.
11
-
12
9
  ## Documentation
13
10
 
14
11
  - https://docs.copilotkit.ai/deepagents/quickstart.md
15
12
  - https://docs.copilotkit.ai/deepagents/inspector.md
16
- - https://docs.copilotkit.ai/deepagents/generative-ui/a2ui/fixed-schema.md
13
+ - https://docs.copilotkit.ai/deepagents/generative-ui/tool-based.md
17
14
  - https://docs.copilotkit.ai/deepagents/shared-state/agent-readonly.md
18
15
 
19
- Fetch all four pages in one step rather than one after another.
20
-
21
16
  The documentation scope is `deepagents`. Do not use `deep-agents` in a documentation URL.
22
17
  The quickstart has Python and TypeScript tabs. Preserve the project's current language.
23
18
  Preserve the project's existing deployment path. Choose the same `Deep Agent` or
24
19
  `FastAPI` tab in both the quickstart and runtime setup. Do not change a Deep Agent
25
20
  deployment to FastAPI or a FastAPI deployment to Deep Agent.
26
21
 
27
- The fixed-schema A2UI backend example is Python-only. No Deep Agents agent-app-context
28
- Markdown page is available. Do not invent a TypeScript A2UI backend or an
29
- agent-app-context setup. If the requested work needs either missing setup, run the
30
- unsupported route below.
22
+ No Deep Agents agent-app-context Markdown page is available. Do not invent an
23
+ agent-app-context setup. If the requested work needs it, run the unsupported route below.
31
24
 
32
- Record the selected framework, language, vendor, model, required credential variable
33
- names, these URLs, and each documentation gap. Do not use remembered CopilotKit
34
- instructions.
25
+ A2UI is not on this path. If the developer asks for it, say first that its backend example
26
+ is Python-only, so a TypeScript project has nothing to follow.
35
27
 
36
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
37
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
38
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
39
- unavailable only after a second method also fails.
28
+ Record the selected framework, language, vendor, model, required credential variable
29
+ names, these URLs, and each documentation gap.
40
30
 
41
31
  If the pages support the selection, run
42
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
32
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
43
33
 
44
- If a second method also fails, or a page that loads does not support the selection, run
45
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
34
+ If the documentation does not support the selection, run
35
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -8,19 +8,13 @@ Name the model credential `GOOGLE_API_KEY`. This framework accepts more than one
8
8
  spelling, and a scaffold that reaches for a different one looks finished and reads no
9
9
  key.
10
10
 
11
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
12
- store, or request a secret value.
13
-
14
11
  ## Documentation
15
12
 
16
13
  - https://docs.copilotkit.ai/google-adk/quickstart.md
17
14
  - https://docs.copilotkit.ai/google-adk/inspector.md
18
- - https://docs.copilotkit.ai/google-adk/generative-ui/a2ui/fixed-schema.md
15
+ - https://docs.copilotkit.ai/google-adk/generative-ui/tool-based.md
19
16
  - https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
20
17
 
21
- Fetch all four pages in one step rather than one after another. Sequential fetching
22
- cost about nine minutes of the first proven journey.
23
-
24
18
  The documentation scope is `google-adk`. A `/adk/` URL answers with a redirect stub
25
19
  whose body is the canonical path, so fetch the `google-adk` form.
26
20
 
@@ -32,15 +26,9 @@ agent and not for ADK.
32
26
 
33
27
  Record the selected framework, vendor, model, required credential variable names, and
34
28
  these URLs.
35
- Do not use remembered CopilotKit instructions.
36
-
37
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
38
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
39
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
40
- unavailable only after a second method also fails.
41
29
 
42
30
  If the pages support the selection, run
43
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
31
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
44
32
 
45
- If a second method also fails, or a page that loads does not support the selection, run
46
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
33
+ If the documentation does not support the selection, run
34
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -4,19 +4,13 @@ Preserve an existing LangGraph FastAPI model setup. Start with OpenAI for a new
4
4
  Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
5
  name its credential variables and setup steps.
6
6
 
7
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
- store, or request a secret value.
9
-
10
7
  ## Documentation
11
8
 
12
9
  - https://docs.copilotkit.ai/langgraph-fastapi/quickstart.md
13
10
  - https://docs.copilotkit.ai/langgraph-fastapi/inspector.md
14
- - https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/a2ui/fixed-schema.md
11
+ - https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/tool-based.md
15
12
  - https://docs.copilotkit.ai/langgraph-fastapi/agent-app-context.md
16
13
 
17
- Fetch all four pages in one step rather than one after another. Sequential fetching
18
- cost about nine minutes of the first proven journey.
19
-
20
14
  Read the FastAPI tab of the quickstart.
21
15
  Preserve an existing FastAPI transport and its persistence.
22
16
  The FastAPI graph must have a checkpointer.
@@ -28,15 +22,9 @@ Do not copy the LangSmith path, its no-checkpointer rule, or its `LangGraphAgent
28
22
 
29
23
  Record the selected framework, vendor, model, required credential variable names, and
30
24
  these URLs.
31
- Do not use remembered CopilotKit instructions.
32
-
33
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
34
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
35
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
36
- unavailable only after a second method also fails.
37
25
 
38
26
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
27
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
40
28
 
41
- If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
29
+ If the documentation does not support the selection, run
30
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -4,30 +4,18 @@ Preserve an existing LangGraph Python model setup. Start with OpenAI for a new a
4
4
  Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
5
  name its credential variables and setup steps.
6
6
 
7
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
- store, or request a secret value.
9
-
10
7
  ## Documentation
11
8
 
12
9
  - https://docs.copilotkit.ai/langgraph-python/quickstart.md
13
10
  - https://docs.copilotkit.ai/langgraph-python/inspector.md
14
- - https://docs.copilotkit.ai/langgraph-python/generative-ui/a2ui/fixed-schema.md
11
+ - https://docs.copilotkit.ai/langgraph-python/generative-ui/tool-based.md
15
12
  - https://docs.copilotkit.ai/langgraph-python/agent-app-context.md
16
13
 
17
- Fetch all four pages in one step rather than one after another. Sequential fetching
18
- cost about nine minutes of the first proven journey.
19
-
20
14
  Record the selected framework, vendor, model, required credential variable names, and
21
15
  these URLs.
22
- Do not use remembered CopilotKit instructions.
23
-
24
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
25
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
26
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
27
- unavailable only after a second method also fails.
28
16
 
29
17
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
31
19
 
32
- If a second method also fails, or a page that loads does not support the selection, run
33
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
20
+ If the documentation does not support the selection, run
21
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -4,30 +4,18 @@ Preserve an existing LangGraph TypeScript model setup. Start with OpenAI for a n
4
4
  Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
5
  name its credential variables and setup steps.
6
6
 
7
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
- store, or request a secret value.
9
-
10
7
  ## Documentation
11
8
 
12
9
  - https://docs.copilotkit.ai/langgraph-typescript/quickstart.md
13
10
  - https://docs.copilotkit.ai/langgraph-typescript/inspector.md
14
- - https://docs.copilotkit.ai/langgraph-typescript/generative-ui/a2ui/fixed-schema.md
11
+ - https://docs.copilotkit.ai/langgraph-typescript/generative-ui/tool-based.md
15
12
  - https://docs.copilotkit.ai/langgraph-typescript/agent-app-context.md
16
13
 
17
- Fetch all four pages in one step rather than one after another. Sequential fetching
18
- cost about nine minutes of the first proven journey.
19
-
20
14
  Record the selected framework, vendor, model, required credential variable names, and
21
15
  these URLs.
22
- Do not use remembered CopilotKit instructions.
23
-
24
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
25
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
26
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
27
- unavailable only after a second method also fails.
28
16
 
29
17
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
31
19
 
32
- If a second method also fails, or a page that loads does not support the selection, run
33
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
20
+ If the documentation does not support the selection, run
21
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -6,18 +6,13 @@ its credential variables and setup steps.
6
6
 
7
7
  Name the default model credential `OPENAI_API_KEY`.
8
8
 
9
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
10
- store, or request a secret value.
11
-
12
9
  ## Documentation
13
10
 
14
11
  - https://docs.copilotkit.ai/llamaindex/quickstart.md
15
12
  - https://docs.copilotkit.ai/llamaindex/inspector.md
16
- - https://docs.copilotkit.ai/llamaindex/generative-ui/a2ui/fixed-schema.md
13
+ - https://docs.copilotkit.ai/llamaindex/generative-ui/tool-based.md
17
14
  - https://docs.copilotkit.ai/llamaindex/shared-state/in-app-agent-read.md
18
15
 
19
- Fetch all four pages in one step rather than one after another.
20
-
21
16
  The documentation scope is `llamaindex`. Use only the Python agent examples from these
22
17
  pages. When the repository already has a LlamaIndex agent, use the quickstart's
23
18
  `Use an existing agent` path. Use `Start from scratch` only when the repository needs a
@@ -27,25 +22,19 @@ Preserve the existing `get_ag_ui_workflow_router` and its FastAPI router. In the
27
22
  documented runtime, `LlamaIndexAgent` from `@ag-ui/llamaindex` targets `/run`. Do not
28
23
  replace that adapter or change its route without repository evidence.
29
24
 
30
- The fixed-schema page includes LlamaIndex backend code but does not bundle its runtime
31
- setup. Use it only when the project already has the working quickstart runtime that the
32
- page extends. Do not invent a replacement runtime setup.
25
+ A2UI is not on this path. If the developer asks for it, say first that its page includes
26
+ LlamaIndex backend code but does not bundle its runtime setup, so it only works on top of
27
+ the quickstart runtime it extends.
33
28
 
34
29
  The shared-state page is not an agent-app-context guide. Do not use it to invent a
35
30
  `useAgentContext` backend setup. If the requested work needs app context rather than the
36
31
  documented shared-state path, run the unsupported route below.
37
32
 
38
33
  Record the selected framework, vendor, model, required credential variable names, these
39
- URLs, the documented dependencies and adapter, and both documentation limits. Do not use
40
- remembered CopilotKit instructions.
41
-
42
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
43
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
44
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
45
- unavailable only after a second method also fails.
34
+ URLs, the documented dependencies and adapter, and both documentation limits.
46
35
 
47
36
  If the pages support the selection, run
48
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
49
38
 
50
- If a second method also fails, or a page that loads does not support the selection, run
51
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
39
+ If the documentation does not support the selection, run
40
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.
@@ -6,9 +6,6 @@ its credential variables and setup steps.
6
6
 
7
7
  Name the model credential `OPENAI_API_KEY`.
8
8
 
9
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
10
- store, or request a secret value.
11
-
12
9
  `mastra dev` loads the `.env` beside the project it serves and does not look in a
13
10
  parent directory. When one credential file serves more than one part of the repository,
14
11
  name the path in the dev script as `mastra dev --env <path>` rather than relying on a
@@ -41,23 +38,14 @@ what the developer had.
41
38
 
42
39
  - https://docs.copilotkit.ai/mastra/quickstart.md
43
40
  - https://docs.copilotkit.ai/mastra/inspector.md
44
- - https://docs.copilotkit.ai/mastra/generative-ui/a2ui/fixed-schema.md
41
+ - https://docs.copilotkit.ai/mastra/generative-ui/tool-based.md
45
42
  - https://docs.copilotkit.ai/mastra/agent-app-context.md
46
43
 
47
- Fetch all four pages in one step rather than one after another. Sequential fetching
48
- cost about nine minutes of the first proven journey.
49
-
50
44
  Record the selected framework, vendor, model, required credential variable names, and
51
45
  these URLs.
52
- Do not use remembered CopilotKit instructions.
53
-
54
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
55
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
56
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
57
- unavailable only after a second method also fails.
58
46
 
59
47
  If the pages support the selection, run
60
- `npx --yes copilotkit@4.9.2 onboard read frontend/plan`.
48
+ `npx --yes copilotkit@4.9.17 onboard read frontend/plan`.
61
49
 
62
- If a second method also fails, or a page that loads does not support the selection, run
63
- `npx --yes copilotkit@4.9.2 onboard read unsupported/no-validated-path`.
50
+ If the documentation does not support the selection, run
51
+ `npx --yes copilotkit@4.9.17 onboard read unsupported/no-validated-path`.