copilotkit 4.9.1 → 4.9.4

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 (45) hide show
  1. package/cli-build-info.json +8 -8
  2. package/index.js +151 -21
  3. package/onboarding/index.json +11 -0
  4. package/onboarding/prompts/authenticate/start.md +83 -32
  5. package/onboarding/prompts/credentials/finalize-plan.md +51 -33
  6. package/onboarding/prompts/credentials/plan.md +37 -25
  7. package/onboarding/prompts/fallback/best-effort.md +22 -11
  8. package/onboarding/prompts/framework/ag2.md +4 -15
  9. package/onboarding/prompts/framework/agno.md +4 -15
  10. package/onboarding/prompts/framework/built-in.md +4 -14
  11. package/onboarding/prompts/framework/claude-sdk-python.md +4 -14
  12. package/onboarding/prompts/framework/claude-sdk-typescript.md +4 -14
  13. package/onboarding/prompts/framework/crewai-flows.md +11 -23
  14. package/onboarding/prompts/framework/deep-agents.md +4 -15
  15. package/onboarding/prompts/framework/google-adk.md +3 -15
  16. package/onboarding/prompts/framework/langgraph-fastapi.md +3 -15
  17. package/onboarding/prompts/framework/langgraph-python.md +3 -15
  18. package/onboarding/prompts/framework/langgraph-typescript.md +3 -15
  19. package/onboarding/prompts/framework/llamaindex.md +4 -15
  20. package/onboarding/prompts/framework/mastra.md +3 -15
  21. package/onboarding/prompts/framework/ms-agent-dotnet.md +18 -49
  22. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +20 -30
  23. package/onboarding/prompts/framework/ms-agent-python.md +3 -15
  24. package/onboarding/prompts/framework/pydantic-ai.md +4 -14
  25. package/onboarding/prompts/framework/strands-python.md +4 -14
  26. package/onboarding/prompts/framework/strands-typescript.md +4 -14
  27. package/onboarding/prompts/frontend/angular.md +13 -18
  28. package/onboarding/prompts/frontend/nextjs.md +20 -15
  29. package/onboarding/prompts/frontend/plan.md +9 -14
  30. package/onboarding/prompts/frontend/react-native.md +7 -15
  31. package/onboarding/prompts/frontend/react-spa.md +5 -15
  32. package/onboarding/prompts/frontend/vue.md +8 -15
  33. package/onboarding/prompts/implementation/build-and-validate.md +22 -13
  34. package/onboarding/prompts/proof/complete.md +32 -5
  35. package/onboarding/prompts/proof/oss-baseline.md +3 -3
  36. package/onboarding/prompts/proof/round-trip.md +197 -72
  37. package/onboarding/prompts/starter/clone.md +67 -0
  38. package/onboarding/prompts/subagent/create-plan.md +26 -15
  39. package/onboarding/prompts/subagent/implement-and-validate.md +19 -10
  40. package/onboarding/prompts/subagent/inspect-repository.md +19 -7
  41. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  42. package/onboarding/prompts/subagent/prove-round-trip.md +176 -68
  43. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  44. package/package.json +1 -1
  45. package/release/release-tool.js +15 -1
@@ -4,9 +4,6 @@ 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
@@ -14,9 +11,6 @@ store, or request a secret value.
14
11
  - https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/a2ui/fixed-schema.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.1 onboard read frontend/plan`.
27
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
29
+ If the documentation does not support the selection, run
30
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -4,9 +4,6 @@ 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
@@ -14,20 +11,11 @@ store, or request a secret value.
14
11
  - https://docs.copilotkit.ai/langgraph-python/generative-ui/a2ui/fixed-schema.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.1 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
20
+ If the documentation does not support the selection, run
21
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -4,9 +4,6 @@ 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
@@ -14,20 +11,11 @@ store, or request a secret value.
14
11
  - https://docs.copilotkit.ai/langgraph-typescript/generative-ui/a2ui/fixed-schema.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.1 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
20
+ If the documentation does not support the selection, run
21
+ `npx --yes copilotkit@4.9.4 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
  ## Documentation
13
10
 
14
11
  - https://docs.copilotkit.ai/llamaindex/quickstart.md
@@ -16,8 +13,6 @@ store, or request a secret value.
16
13
  - https://docs.copilotkit.ai/llamaindex/generative-ui/a2ui/fixed-schema.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
@@ -36,16 +31,10 @@ The shared-state page is not an agent-app-context guide. Do not use it to invent
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.1 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
39
+ If the documentation does not support the selection, run
40
+ `npx --yes copilotkit@4.9.4 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
@@ -44,20 +41,11 @@ what the developer had.
44
41
  - https://docs.copilotkit.ai/mastra/generative-ui/a2ui/fixed-schema.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.1 onboard read frontend/plan`.
48
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
50
+ If the documentation does not support the selection, run
51
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -1,44 +1,17 @@
1
1
  # Configure Microsoft Agent Framework for .NET
2
2
 
3
- Preserve an existing Microsoft Agent Framework model setup. Start with GitHub Models for
4
- a new agent, which is what the starter configures. Offer another vendor only after an
5
- exact CopilotKit Markdown page names it. The page must name its credential variables and
6
- setup steps.
3
+ Preserve an existing Microsoft Agent Framework model setup. Use direct OpenAI for a new
4
+ agent. Name its credential `OPENAI_API_KEY`. Do not change an existing provider.
7
5
 
8
- This agent resolves its model credential in a fixed order: the `OPENAI_API_KEY`
9
- environment variable, then `OPENAI_API_KEY` in configuration, then a `GitHubToken` user
10
- secret. The environment variable wins.
6
+ .NET configuration reads appsettings, environment variables, and user secrets. It does not
7
+ read a `.env` file. If the project uses `.env`, application code must load it before the
8
+ OpenAI client starts. Do not create a `.env` file without that loader.
11
9
 
12
- Neither this framework nor .NET configuration reads a `.env`. `builder.Configuration`
13
- sources appsettings, environment variables, and user secrets, and none of those is a
14
- dotenv file. A credential in `.env` works only if application code loads it into the
15
- environment before the chat client constructs: walk up from the working directory for a
16
- `.env` and set each name that is not already set. Otherwise pick a mechanism .NET reads
17
- on its own, an exported variable or a user secret. A scaffold that writes `.env`, reads
18
- `builder.Configuration["OPENAI_API_KEY"]`, and loads nothing falls silently to the
19
- `GitHubToken` branch.
10
+ For a user secret, run `dotnet user-secrets set OPENAI_API_KEY` from the agent directory.
11
+ The app must read the same name through .NET configuration. An exported environment
12
+ variable with that name takes precedence over the user secret.
20
13
 
21
- Pick one and say which. For GitHub Models, set the user secret from the agent directory
22
- with `dotnet user-secrets set GitHubToken`. The agent reads it through
23
- `builder.Configuration["GitHubToken"]`, so the name in the store and the name in the
24
- code have to match exactly. For an OpenAI-compatible vendor, name `OPENAI_API_KEY`
25
- instead.
26
-
27
- The GitHub Models catalog is not the OpenAI catalog. A model name that is valid against
28
- `api.openai.com` can return 404 against `https://models.inference.ai.azure.com`, so a
29
- run that falls back to the `GitHubToken` branch and keeps the same model name gets a 404
30
- that looks like an outage rather than a wrong catalog. Name a model the endpoint you
31
- selected serves.
32
-
33
- Check whether `OPENAI_API_KEY` is already set in the environment before you configure a
34
- user secret. It takes precedence, so a run on a machine that already exports one uses
35
- that key rather than the token you just set, and reports success for the wrong reason.
36
-
37
- The .NET SDK has to be installed before any of this. Confirm `dotnet --version` answers
38
- before scaffolding, rather than after.
39
-
40
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
41
- store, or request a secret value.
14
+ Run `dotnet --version` before you change the project.
42
15
 
43
16
  ## Documentation
44
17
 
@@ -46,26 +19,22 @@ store, or request a secret value.
46
19
  - https://docs.copilotkit.ai/ms-agent-dotnet/inspector.md
47
20
  - https://docs.copilotkit.ai/ms-agent-dotnet/generative-ui/a2ui/fixed-schema.md
48
21
  - https://docs.copilotkit.ai/ms-agent-dotnet/agent-app-context.md
49
-
50
- Fetch all four pages in one step rather than one after another. Sequential fetching
51
- cost about nine minutes of the first proven journey.
22
+ - https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/getting-started
52
23
 
53
24
  The documentation scope is `ms-agent-dotnet`. The quickstart at that scope is
54
25
  byte-identical to the one at `ms-agent-python`: one page serves both languages through
55
26
  a `.NET` and `Python` tab group. The scope in the URL does not select the language, so
56
27
  read the .NET tab.
57
28
 
58
- Record the selected framework, vendor, model, required credential variable names, and
59
- these URLs.
60
- Do not use remembered CopilotKit instructions.
29
+ Use `Microsoft.Agents.AI.Hosting.AGUI.AspNetCore` from the Learn guide. Register the server
30
+ with `AddAGUIServer`. Map the existing `AIAgent` with `MapAGUIServer`. The endpoint accepts
31
+ `RunAgentInput` requests and streams AG-UI events with server-sent events.
61
32
 
62
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
63
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
64
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
65
- unavailable only after a second method also fails.
33
+ Record the selected framework, provider, model, required credential variable names, and
34
+ these URLs.
66
35
 
67
36
  If the pages support the selection, run
68
- `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.4 onboard read frontend/plan`.
69
38
 
70
- If a second method also fails, or a page that loads does not support the selection, run
71
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
39
+ If the documentation does not support the selection, run
40
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -1,17 +1,11 @@
1
1
  # Configure MS Agent Harness for .NET
2
2
 
3
- Preserve an existing MS Agent Harness model, vendor, credential name, and host setup. The
4
- documented .NET starter uses GitHub Models. Use that vendor for a new matching setup.
3
+ Preserve an existing MS Agent Harness model, provider, credential name, and host setup.
4
+ Use direct OpenAI for a new setup. Name its credential `OPENAI_API_KEY`.
5
5
 
6
- For GitHub Models, name the user secret `GitHubToken`. Set it from the agent directory
7
- with `dotnet user-secrets set GitHubToken`. The app must read the same name through .NET
8
- configuration. Confirm `dotnet --version` works before changing the project.
9
-
10
- For an existing OpenAI setup, keep `OPENAI_API_KEY` and the existing OpenAI client. Do not
11
- convert it to GitHub Models.
12
-
13
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
14
- store, or request a secret value.
6
+ For a user secret, run `dotnet user-secrets set OPENAI_API_KEY` from the agent directory.
7
+ The app must read the same name through .NET configuration. Run `dotnet --version` before
8
+ you change the project.
15
9
 
16
10
  ## Documentation
17
11
 
@@ -19,21 +13,22 @@ store, or request a secret value.
19
13
  - https://docs.copilotkit.ai/ms-agent-harness-dotnet/inspector.md
20
14
  - https://docs.copilotkit.ai/ms-agent-harness-dotnet/generative-ui/a2ui/fixed-schema.md
21
15
  - https://docs.copilotkit.ai/ms-agent-harness-dotnet/agent-app-context.md
22
-
23
- Fetch all four pages in one step rather than one after another.
16
+ - https://learn.microsoft.com/en-us/agent-framework/get-started/harness
17
+ - https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/getting-started
24
18
 
25
19
  The documentation scope is `ms-agent-harness-dotnet`. Read only the `.NET` tab of the
26
20
  quickstart. Do not use its Python tab. Use `Microsoft.Agents.AI.Harness --version 1.19.0`
27
21
  for the stable agent package. The current AG-UI host package is
28
22
  `Microsoft.Agents.AI.Hosting.AGUI.AspNetCore --version 1.19.0-preview.260822.1`.
29
- Use `AddAGUIServer` service registration and a `MapAGUIServer` endpoint. The older
30
- showcase uses `AddAGUI` and `MapAGUI`. Do not copy those stale names into the current
31
- host. Register the remote endpoint in Copilot Runtime with `HttpAgent`.
23
+ Use `AddAGUIServer` service registration and a `MapAGUIServer` endpoint. Register the
24
+ remote endpoint in Copilot Runtime with `HttpAgent`.
32
25
 
33
- The quickstart's generic .NET example uses `CreateAIAgent`. Do not replace an existing
34
- Harness agent with that example. For a new Harness agent, use `AsHarnessAgent` with
35
- `HarnessAgentOptions`. Disable built-in providers that add environment-dependent tools,
36
- then pass the project-owned tools through `ChatOptions`.
26
+ The Learn Harness guide creates a Harness agent from an `IChatClient` with
27
+ `AsHarnessAgent`. Keep one `AgentSession` across turns. The quickstart's generic .NET
28
+ example uses `CreateAIAgent`. Do not replace an existing Harness agent with that example.
29
+ For a new Harness agent, use `AsHarnessAgent` with `HarnessAgentOptions`. Disable built-in
30
+ providers that add environment-dependent tools. Pass the project-owned tools through
31
+ `ChatOptions`.
37
32
 
38
33
  For fixed-schema A2UI, keep the C# tool and its inline schema in the Harness agent. Set
39
34
  `injectA2UITool` to `false` in the runtime. The page omits a bundled setup block, and its
@@ -47,16 +42,11 @@ and injects a system message. Keep app context unsupported until that wrapper pa
47
42
  browser proof. Do not copy the page's generic `CreateAIAgent` constructor over an existing
48
43
  Harness agent.
49
44
 
50
- Record the selected framework, vendor, model, required credential variable names, these
51
- URLs, and the quickstart and A2UI gaps. Do not use remembered CopilotKit instructions.
52
-
53
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
54
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
55
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
56
- unavailable only after a second method also fails.
45
+ Record the selected framework, provider, model, required credential variable names, these
46
+ URLs, and the quickstart and A2UI gaps.
57
47
 
58
48
  If the pages support the selection, run
59
- `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
49
+ `npx --yes copilotkit@4.9.4 onboard read frontend/plan`.
60
50
 
61
- If a second method also fails, or a page that loads does not support the selection, run
62
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
51
+ If the documentation does not support the selection, run
52
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -12,9 +12,6 @@ looks finished and reads no key.
12
12
  This framework reads no `.env` on its own. Whatever loads the file is application code,
13
13
  so a scaffold that writes `agent/.env` and never loads it starts with no credential.
14
14
 
15
- Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
16
- store, or request a secret value.
17
-
18
15
  ## Documentation
19
16
 
20
17
  - https://docs.copilotkit.ai/ms-agent-python/quickstart.md
@@ -22,9 +19,6 @@ store, or request a secret value.
22
19
  - https://docs.copilotkit.ai/ms-agent-python/generative-ui/a2ui/fixed-schema.md
23
20
  - https://docs.copilotkit.ai/ms-agent-python/agent-app-context.md
24
21
 
25
- Fetch all four pages in one step rather than one after another. Sequential fetching
26
- cost about nine minutes of the first proven journey.
27
-
28
22
  The documentation scope is `ms-agent-python`. The quickstart at that scope is
29
23
  byte-identical to the one at `ms-agent-dotnet`: one page serves both languages through
30
24
  a `.NET` and `Python` tab group. The scope in the URL does not select the language, so
@@ -32,15 +26,9 @@ read the Python tab. The first code block on the page is the .NET one.
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.1 onboard read frontend/plan`.
31
+ `npx --yes copilotkit@4.9.4 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.1 onboard read unsupported/no-validated-path`.
33
+ If the documentation does not support the selection, run
34
+ `npx --yes copilotkit@4.9.4 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
  ## Documentation
13
10
 
14
11
  - https://docs.copilotkit.ai/pydantic-ai/quickstart.md
@@ -16,8 +13,6 @@ store, or request a secret value.
16
13
  - https://docs.copilotkit.ai/pydantic-ai/generative-ui/a2ui/fixed-schema.md
17
14
  - https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
18
15
 
19
- Fetch all four pages in one step rather than one after another.
20
-
21
16
  The documentation scope is `pydantic-ai`. For an existing agent, install the exact
22
17
  documented backend set with
23
18
  `uv add 'pydantic-ai-slim[ag-ui,openai]>=2,<3' 'starlette>=0.46.2' uvicorn`.
@@ -34,15 +29,10 @@ documents the frontend hook only. Do not invent the missing agent-side context s
34
29
  the requested work needs that setup, run the unsupported route below.
35
30
 
36
31
  Record the selected framework, vendor, model, required credential variable names, these
37
- URLs, and the context and A2UI limits. Do not use remembered CopilotKit instructions.
38
-
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.
32
+ URLs, and the context and A2UI limits.
43
33
 
44
34
  If the pages support the selection, run
45
- `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
35
+ `npx --yes copilotkit@4.9.4 onboard read frontend/plan`.
46
36
 
47
- If a second method also fails, or a page that loads does not support the selection, run
48
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
37
+ If the documentation does not support the selection, run
38
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -6,9 +6,6 @@ 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/strands/quickstart.md
@@ -16,8 +13,6 @@ store, or request a secret value.
16
13
  - https://docs.copilotkit.ai/strands/generative-ui/a2ui/fixed-schema.md
17
14
  - https://docs.copilotkit.ai/strands/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 `strands`. Use the Python examples from these pages.
22
17
  The fixed-schema A2UI tool makes its own OpenAI call. Set `injectA2UITool` to `false` when
23
18
  the fixed-schema A2UI tool makes its own OpenAI call. This prevents a second injected A2UI
@@ -28,15 +23,10 @@ agent-app-context setup. If the requested work needs that missing setup, run the
28
23
  unsupported route below.
29
24
 
30
25
  Record the selected framework, vendor, model, required credential variable names, these
31
- URLs, and the context documentation gap. 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.
26
+ URLs, and the context documentation gap.
37
27
 
38
28
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
29
+ `npx --yes copilotkit@4.9.4 onboard read frontend/plan`.
40
30
 
41
- If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
31
+ If the documentation does not support the selection, run
32
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -6,9 +6,6 @@ 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/strands-typescript/quickstart.md
@@ -16,8 +13,6 @@ store, or request a secret value.
16
13
  - https://docs.copilotkit.ai/strands-typescript/generative-ui/a2ui/fixed-schema.md
17
14
  - https://docs.copilotkit.ai/strands-typescript/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 `strands-typescript`. Use only the TypeScript examples from
22
17
  these pages. Install `@modelcontextprotocol/sdk` as a runtime dependency.
23
18
  `@strands-agents/sdk` loads it even when the application does not use MCP.
@@ -28,15 +23,10 @@ example or invent either missing setup. If the requested work needs either missi
28
23
  run the unsupported route below.
29
24
 
30
25
  Record the selected framework, vendor, model, required credential variable names, these
31
- URLs, and both documentation gaps. 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.
26
+ URLs, and both documentation gaps.
37
27
 
38
28
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
29
+ `npx --yes copilotkit@4.9.4 onboard read frontend/plan`.
40
30
 
41
- If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
31
+ If the documentation does not support the selection, run
32
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -2,32 +2,27 @@
2
2
 
3
3
  Preserve an existing Angular frontend. Use the selected page for a new frontend.
4
4
 
5
- ## Documentation
5
+ Use the starter shortcut only if all these facts are true: the target directory contains
6
+ no entries, its name is a valid `init` project name, and the selected framework is ADK.
7
+ If all three facts are true, record Angular as the selected frontend. Then run
8
+ `npx --yes copilotkit@4.9.4 onboard read starter/clone` before you fetch documentation.
6
9
 
7
- - Credentials and plan: `Not applicable`
8
- - Implementation and validation: https://docs.copilotkit.ai/angular.md
9
- - Proof: https://docs.copilotkit.ai/angular.md
10
- - Frontend context: https://docs.copilotkit.ai/reference/angular/directives/CopilotKitAgentContext.md
10
+ ## Documentation
11
11
 
12
- Fetch both selected documentation pages in one step rather than one after another.
13
- Record Angular as the selected frontend and keep these URLs. Do not use remembered
14
- CopilotKit instructions.
12
+ - https://docs.copilotkit.ai/angular.md
13
+ - https://docs.copilotkit.ai/angular/inspector.md
14
+ - https://docs.copilotkit.ai/reference/angular/directives/CopilotKitAgentContext.md
15
15
 
16
16
  Take the frontend-context step from the directive page. The agent-framework page shows
17
17
  the React hook, and Angular shares the same context through this directive instead.
18
+ Use the Inspector page for proof.
18
19
 
19
20
  Angular CLI 22 requires Node `^22.22.3 || ^24.15.0 || >=26`. Check the Node version before
20
21
  you create or build an Angular project. If the installed version is lower, select a
21
22
  supported version first and use it for every later command in this project.
22
23
 
23
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
24
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
25
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
26
- unavailable only after a second method also fails.
27
-
28
- If the page supports the selection, run
29
- `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
24
+ If the pages support the selection, record Angular and these URLs. Then run
25
+ `npx --yes copilotkit@4.9.4 onboard read credentials/finalize-plan`.
30
26
 
31
- If a second method also fails, or the page that loads does not support the selection,
32
- run
33
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
27
+ If the documentation does not support the selection, run
28
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.
@@ -2,27 +2,32 @@
2
2
 
3
3
  Preserve an existing Next.js frontend. Use the selected pages for a new frontend.
4
4
 
5
- ## Documentation
5
+ Use the starter shortcut only if the target directory contains no entries and its name is
6
+ a valid `init` project name. The selected framework must also match one of these options.
7
+
8
+ These Python options have Next.js starters: Agno, Claude Agent SDK Python, CrewAI Flows,
9
+ LangGraph Python, LlamaIndex, and ADK.
6
10
 
7
- - Credentials and plan: `Not applicable`
8
- - Implementation and validation: https://docs.copilotkit.ai/quickstart.md
9
- - Proof: https://docs.copilotkit.ai/quickstart.md
11
+ These Python options also have starters: Microsoft Agent Framework Python, Pydantic AI,
12
+ and Strands Agents Python.
10
13
 
11
- Fetch each selected documentation URL. Record Next.js as the selected frontend and keep
12
- these URLs. Do not use remembered CopilotKit instructions.
14
+ These TypeScript options have starters: Claude Agent SDK TypeScript, LangGraph TypeScript,
15
+ Mastra, and Strands Agents TypeScript. The .NET option is Microsoft Agent Framework .NET.
16
+
17
+ If all shortcut conditions are true, record Next.js as the selected frontend. Then run
18
+ `npx --yes copilotkit@4.9.4 onboard read starter/clone` before you fetch documentation.
19
+
20
+ ## Documentation
21
+
22
+ - https://docs.copilotkit.ai/quickstart.md
13
23
 
14
24
  Take the frontend scaffolding from this page. Take the runtime agent wiring from the
15
25
  agent framework documentation instead. This page configures the CopilotKit built-in
16
26
  agent as the default agent, which is correct only for a project that has no agent.
17
27
  Do not replace the developer's existing agent with the built-in agent.
18
28
 
19
- A fetch tool that refuses a URL, or fails to reach it, reports a limit of the tool and
20
- not a fact about the page. Retrieve the same URL a second way before you judge it. Run
21
- `curl -fsSL <url>`, or read the same page without the `.md` suffix. Treat a page as
22
- unavailable only after a second method also fails.
23
-
24
- If the pages support the selection, run
25
- `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
29
+ If the page supports the selection, record Next.js and this URL. Then run
30
+ `npx --yes copilotkit@4.9.4 onboard read credentials/finalize-plan`.
26
31
 
27
- If a second method also fails, or a page that loads does not support the selection, run
28
- `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
32
+ If the documentation does not support the selection, run
33
+ `npx --yes copilotkit@4.9.4 onboard read unsupported/no-validated-path`.