copilotkit 4.9.4 → 4.9.24
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.
- package/README.md +26 -12
- package/cli-build-info.json +8 -8
- package/index.js +3508 -2375
- package/onboarding/index.json +15 -1
- package/onboarding/prompts/authenticate/start.md +129 -65
- package/onboarding/prompts/conversion/plan.md +113 -0
- package/onboarding/prompts/credentials/finalize-plan.md +174 -138
- package/onboarding/prompts/credentials/plan.md +26 -21
- package/onboarding/prompts/fallback/best-effort.md +103 -22
- package/onboarding/prompts/framework/ag2.md +7 -7
- package/onboarding/prompts/framework/agno.md +11 -8
- package/onboarding/prompts/framework/built-in.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-python.md +7 -7
- package/onboarding/prompts/framework/claude-sdk-typescript.md +9 -9
- package/onboarding/prompts/framework/crewai-flows.md +27 -11
- package/onboarding/prompts/framework/deep-agents.md +8 -7
- package/onboarding/prompts/framework/google-adk.md +3 -3
- package/onboarding/prompts/framework/langgraph-fastapi.md +3 -3
- package/onboarding/prompts/framework/langgraph-python.md +3 -3
- package/onboarding/prompts/framework/langgraph-typescript.md +3 -3
- package/onboarding/prompts/framework/llamaindex.md +6 -6
- package/onboarding/prompts/framework/mastra.md +3 -3
- package/onboarding/prompts/framework/ms-agent-dotnet.md +3 -3
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +7 -9
- package/onboarding/prompts/framework/ms-agent-python.md +3 -3
- package/onboarding/prompts/framework/pydantic-ai.md +26 -15
- package/onboarding/prompts/framework/strands-python.md +7 -6
- package/onboarding/prompts/framework/strands-typescript.md +9 -7
- package/onboarding/prompts/frontend/angular.md +16 -3
- package/onboarding/prompts/frontend/nextjs.md +3 -3
- package/onboarding/prompts/frontend/plan.md +6 -6
- package/onboarding/prompts/frontend/react-native.md +7 -2
- package/onboarding/prompts/frontend/react-spa.md +2 -2
- package/onboarding/prompts/frontend/vue.md +7 -2
- package/onboarding/prompts/implementation/build-and-validate.md +45 -79
- package/onboarding/prompts/proof/complete.md +31 -12
- package/onboarding/prompts/proof/oss-baseline.md +15 -50
- package/onboarding/prompts/proof/round-trip.md +88 -268
- package/onboarding/prompts/starter/clone.md +17 -8
- package/onboarding/prompts/subagent/create-plan.md +52 -1
- package/onboarding/prompts/subagent/implement-and-validate.md +70 -44
- package/onboarding/prompts/subagent/inspect-repository.md +26 -4
- package/onboarding/prompts/subagent/prove-oss-baseline.md +2 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +156 -36
- package/onboarding/prompts/unsupported/no-validated-path.md +10 -2
- package/package.json +1 -1
- package/release/release-tool.js +1 -1
|
@@ -10,7 +10,7 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/ag2/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/ag2/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/ag2/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/ag2/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/ag2/readables.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `ag2`. Use only the Python examples from these pages.
|
|
@@ -19,19 +19,19 @@ repository with `uv sync`. It does not name a dependency list for an existing pr
|
|
|
19
19
|
Do not replace the project's dependency manifest with a guessed list, and do not change
|
|
20
20
|
an existing endpoint to the quickstart's `/weather` sample route.
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
A2UI is not on this path. If the developer asks for it, say first that its page has no AG2
|
|
23
|
+
backend schema-loading, render-operations, or runtime setup snippet, so there is nothing to
|
|
24
|
+
follow for the backend half.
|
|
25
25
|
|
|
26
26
|
The Readables page includes the AG2 backend context path. Use its `ContextVariables` and
|
|
27
27
|
`AGUIStream` examples when the project needs frontend context. Do not substitute another
|
|
28
28
|
framework's context setup.
|
|
29
29
|
|
|
30
30
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
31
|
-
URLs, and the
|
|
31
|
+
URLs, and the A2UI documentation gap.
|
|
32
32
|
|
|
33
33
|
If the pages support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
35
35
|
|
|
36
36
|
If the documentation does not support the selection, run
|
|
37
|
-
`npx --yes copilotkit@4.9.
|
|
37
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,7 +10,7 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/agno/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/agno/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/agno/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/agno/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/agno/shared-state/agent-readonly.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `agno`. Use only the Python agent examples from these pages.
|
|
@@ -22,16 +22,19 @@ new agent. For a new agent, install the documented Python dependencies
|
|
|
22
22
|
`@ag-ui/agno` targets `/agui`. Do not replace that adapter with a generic agent or change
|
|
23
23
|
the endpoint without repository evidence.
|
|
24
24
|
|
|
25
|
-
The
|
|
26
|
-
setup
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
28
|
+
|
|
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.
|
|
29
32
|
|
|
30
33
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
31
|
-
URLs, the documented dependencies and adapter, and
|
|
34
|
+
URLs, the documented dependencies and adapter, and the context documentation gap.
|
|
32
35
|
|
|
33
36
|
If the pages support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
37
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
35
38
|
|
|
36
39
|
If the documentation does not support the selection, run
|
|
37
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -27,7 +27,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
27
27
|
these URLs.
|
|
28
28
|
|
|
29
29
|
If the pages support the selection, run
|
|
30
|
-
`npx --yes copilotkit@4.9.
|
|
30
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
31
31
|
|
|
32
32
|
If the documentation does not support the selection, run
|
|
33
|
-
`npx --yes copilotkit@4.9.
|
|
33
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -11,7 +11,7 @@ Name the model credential `ANTHROPIC_API_KEY`. The documented model variable is
|
|
|
11
11
|
|
|
12
12
|
- https://docs.copilotkit.ai/claude-sdk-python/quickstart.md
|
|
13
13
|
- https://docs.copilotkit.ai/claude-sdk-python/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/claude-sdk-python/generative-ui/
|
|
14
|
+
- https://docs.copilotkit.ai/claude-sdk-python/generative-ui/tool-based.md
|
|
15
15
|
- https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
|
|
16
16
|
|
|
17
17
|
The documentation scope is `claude-sdk-python`. For an existing agent, install the exact
|
|
@@ -21,19 +21,19 @@ Expose the agent through FastAPI and use `ClaudeAgentAdapter` from `ag_ui_claude
|
|
|
21
21
|
Keep one long-lived adapter at module scope. Register the remote endpoint in Copilot Runtime
|
|
22
22
|
with `HttpAgent`. Do not replace this transport with a different Claude or AG-UI adapter.
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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.
|
|
27
27
|
|
|
28
28
|
No Claude Agent SDK Python agent-app-context Markdown page is available. The reference
|
|
29
29
|
page above documents the frontend hook only. Do not invent the missing agent-side context
|
|
30
30
|
setup. If the requested work needs that setup, run the unsupported route below.
|
|
31
31
|
|
|
32
32
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
33
|
-
URLs, and the context
|
|
33
|
+
URLs, and the context limit.
|
|
34
34
|
|
|
35
35
|
If the pages support the selection, run
|
|
36
|
-
`npx --yes copilotkit@4.9.
|
|
36
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
37
37
|
|
|
38
38
|
If the documentation does not support the selection, run
|
|
39
|
-
`npx --yes copilotkit@4.9.
|
|
39
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -11,7 +11,7 @@ Name the model credential `ANTHROPIC_API_KEY`. The documented model variable is
|
|
|
11
11
|
|
|
12
12
|
- https://docs.copilotkit.ai/claude-sdk-typescript/quickstart.md
|
|
13
13
|
- https://docs.copilotkit.ai/claude-sdk-typescript/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/claude-sdk-typescript/generative-ui/
|
|
14
|
+
- https://docs.copilotkit.ai/claude-sdk-typescript/generative-ui/tool-based.md
|
|
15
15
|
- https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
|
|
16
16
|
|
|
17
17
|
The documentation scope is `claude-sdk-typescript`. For an existing agent, install the
|
|
@@ -21,11 +21,11 @@ documented packages, including `@anthropic-ai/claude-agent-sdk@^0.2.58`,
|
|
|
21
21
|
`ClaudeAgentAdapter` from `@ag-ui/claude-agent-sdk` in that endpoint and `HttpAgent` in
|
|
22
22
|
Copilot Runtime. Do not replace either adapter.
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
server
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
29
29
|
|
|
30
30
|
The adapter appends AG-UI `input.context` entries to the Claude system prompt. Pair that
|
|
31
31
|
backend path with the frontend hook from the reference page. Treat this as read-only app
|
|
@@ -34,10 +34,10 @@ pinned adapter source before using this path. If the package no longer handles
|
|
|
34
34
|
`input.context`, run the unsupported route below.
|
|
35
35
|
|
|
36
36
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
37
|
-
URLs, and the
|
|
37
|
+
URLs, and the context limit.
|
|
38
38
|
|
|
39
39
|
If the pages support the selection, run
|
|
40
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
41
41
|
|
|
42
42
|
If the documentation does not support the selection, run
|
|
43
|
-
`npx --yes copilotkit@4.9.
|
|
43
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
# Configure CrewAI Flows
|
|
2
2
|
|
|
3
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.
|
|
5
|
-
|
|
6
|
-
|
|
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.
|
|
7
20
|
|
|
8
21
|
## Documentation
|
|
9
22
|
|
|
10
23
|
- https://docs.copilotkit.ai/crewai-crews/quickstart.md
|
|
11
24
|
- https://docs.copilotkit.ai/crewai-crews/inspector.md
|
|
12
|
-
- https://docs.copilotkit.ai/crewai-crews/generative-ui/
|
|
25
|
+
- https://docs.copilotkit.ai/crewai-crews/generative-ui/tool-based.md
|
|
13
26
|
- https://docs.copilotkit.ai/crewai-crews/shared-state/in-app-agent-read.md
|
|
14
27
|
|
|
15
28
|
The public onboarding route ID is `crewai-flows`. The canonical documentation scope is
|
|
@@ -26,19 +39,22 @@ project's FastAPI app with
|
|
|
26
39
|
and its regular, non-conversational mode. Use the generic `HttpAgent` for the `/chat`
|
|
27
40
|
endpoint. Do not invent a `CrewAIAgent` runtime class.
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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.
|
|
32
47
|
|
|
33
48
|
The shared-state page is not an agent-app-context guide. Do not use it to invent a
|
|
34
49
|
`useAgentContext` backend setup. If the requested work needs app context rather than the
|
|
35
50
|
documented shared-state path, run the unsupported route below.
|
|
36
51
|
|
|
37
|
-
Record the selected framework, project-defined provider and model,
|
|
38
|
-
|
|
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.
|
|
39
55
|
|
|
40
56
|
If the pages support the selection, run
|
|
41
|
-
`npx --yes copilotkit@4.9.
|
|
57
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
42
58
|
|
|
43
59
|
If the documentation does not support the selection, run
|
|
44
|
-
`npx --yes copilotkit@4.9.
|
|
60
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,7 +10,7 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/deepagents/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/deepagents/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/deepagents/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/deepagents/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/deepagents/shared-state/agent-readonly.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `deepagents`. Do not use `deep-agents` in a documentation URL.
|
|
@@ -19,16 +19,17 @@ Preserve the project's existing deployment path. Choose the same `Deep Agent` or
|
|
|
19
19
|
`FastAPI` tab in both the quickstart and runtime setup. Do not change a Deep Agent
|
|
20
20
|
deployment to FastAPI or a FastAPI deployment to Deep Agent.
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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.
|
|
24
|
+
|
|
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.
|
|
26
27
|
|
|
27
28
|
Record the selected framework, language, vendor, model, required credential variable
|
|
28
29
|
names, these URLs, and each documentation gap.
|
|
29
30
|
|
|
30
31
|
If the pages support the selection, run
|
|
31
|
-
`npx --yes copilotkit@4.9.
|
|
32
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
32
33
|
|
|
33
34
|
If the documentation does not support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
35
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -12,7 +12,7 @@ key.
|
|
|
12
12
|
|
|
13
13
|
- https://docs.copilotkit.ai/google-adk/quickstart.md
|
|
14
14
|
- https://docs.copilotkit.ai/google-adk/inspector.md
|
|
15
|
-
- https://docs.copilotkit.ai/google-adk/generative-ui/
|
|
15
|
+
- https://docs.copilotkit.ai/google-adk/generative-ui/tool-based.md
|
|
16
16
|
- https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
|
|
17
17
|
|
|
18
18
|
The documentation scope is `google-adk`. A `/adk/` URL answers with a redirect stub
|
|
@@ -28,7 +28,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
28
28
|
these URLs.
|
|
29
29
|
|
|
30
30
|
If the pages support the selection, run
|
|
31
|
-
`npx --yes copilotkit@4.9.
|
|
31
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
32
32
|
|
|
33
33
|
If the documentation does not support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -8,7 +8,7 @@ name its credential variables and setup steps.
|
|
|
8
8
|
|
|
9
9
|
- https://docs.copilotkit.ai/langgraph-fastapi/quickstart.md
|
|
10
10
|
- https://docs.copilotkit.ai/langgraph-fastapi/inspector.md
|
|
11
|
-
- https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/
|
|
11
|
+
- https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/tool-based.md
|
|
12
12
|
- https://docs.copilotkit.ai/langgraph-fastapi/agent-app-context.md
|
|
13
13
|
|
|
14
14
|
Read the FastAPI tab of the quickstart.
|
|
@@ -24,7 +24,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
24
24
|
these URLs.
|
|
25
25
|
|
|
26
26
|
If the pages support the selection, run
|
|
27
|
-
`npx --yes copilotkit@4.9.
|
|
27
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
28
28
|
|
|
29
29
|
If the documentation does not support the selection, run
|
|
30
|
-
`npx --yes copilotkit@4.9.
|
|
30
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -8,14 +8,14 @@ name its credential variables and setup steps.
|
|
|
8
8
|
|
|
9
9
|
- https://docs.copilotkit.ai/langgraph-python/quickstart.md
|
|
10
10
|
- https://docs.copilotkit.ai/langgraph-python/inspector.md
|
|
11
|
-
- https://docs.copilotkit.ai/langgraph-python/generative-ui/
|
|
11
|
+
- https://docs.copilotkit.ai/langgraph-python/generative-ui/tool-based.md
|
|
12
12
|
- https://docs.copilotkit.ai/langgraph-python/agent-app-context.md
|
|
13
13
|
|
|
14
14
|
Record the selected framework, vendor, model, required credential variable names, and
|
|
15
15
|
these URLs.
|
|
16
16
|
|
|
17
17
|
If the pages support the selection, run
|
|
18
|
-
`npx --yes copilotkit@4.9.
|
|
18
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
19
19
|
|
|
20
20
|
If the documentation does not support the selection, run
|
|
21
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -8,14 +8,14 @@ name its credential variables and setup steps.
|
|
|
8
8
|
|
|
9
9
|
- https://docs.copilotkit.ai/langgraph-typescript/quickstart.md
|
|
10
10
|
- https://docs.copilotkit.ai/langgraph-typescript/inspector.md
|
|
11
|
-
- https://docs.copilotkit.ai/langgraph-typescript/generative-ui/
|
|
11
|
+
- https://docs.copilotkit.ai/langgraph-typescript/generative-ui/tool-based.md
|
|
12
12
|
- https://docs.copilotkit.ai/langgraph-typescript/agent-app-context.md
|
|
13
13
|
|
|
14
14
|
Record the selected framework, vendor, model, required credential variable names, and
|
|
15
15
|
these URLs.
|
|
16
16
|
|
|
17
17
|
If the pages support the selection, run
|
|
18
|
-
`npx --yes copilotkit@4.9.
|
|
18
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
19
19
|
|
|
20
20
|
If the documentation does not support the selection, run
|
|
21
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,7 +10,7 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/llamaindex/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/llamaindex/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/llamaindex/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/llamaindex/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/llamaindex/shared-state/in-app-agent-read.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `llamaindex`. Use only the Python agent examples from these
|
|
@@ -22,9 +22,9 @@ Preserve the existing `get_ag_ui_workflow_router` and its FastAPI router. In the
|
|
|
22
22
|
documented runtime, `LlamaIndexAgent` from `@ag-ui/llamaindex` targets `/run`. Do not
|
|
23
23
|
replace that adapter or change its route without repository evidence.
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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.
|
|
28
28
|
|
|
29
29
|
The shared-state page is not an agent-app-context guide. Do not use it to invent a
|
|
30
30
|
`useAgentContext` backend setup. If the requested work needs app context rather than the
|
|
@@ -34,7 +34,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
34
34
|
URLs, the documented dependencies and adapter, and both documentation limits.
|
|
35
35
|
|
|
36
36
|
If the pages support the selection, run
|
|
37
|
-
`npx --yes copilotkit@4.9.
|
|
37
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
38
38
|
|
|
39
39
|
If the documentation does not support the selection, run
|
|
40
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -38,14 +38,14 @@ what the developer had.
|
|
|
38
38
|
|
|
39
39
|
- https://docs.copilotkit.ai/mastra/quickstart.md
|
|
40
40
|
- https://docs.copilotkit.ai/mastra/inspector.md
|
|
41
|
-
- https://docs.copilotkit.ai/mastra/generative-ui/
|
|
41
|
+
- https://docs.copilotkit.ai/mastra/generative-ui/tool-based.md
|
|
42
42
|
- https://docs.copilotkit.ai/mastra/agent-app-context.md
|
|
43
43
|
|
|
44
44
|
Record the selected framework, vendor, model, required credential variable names, and
|
|
45
45
|
these URLs.
|
|
46
46
|
|
|
47
47
|
If the pages support the selection, run
|
|
48
|
-
`npx --yes copilotkit@4.9.
|
|
48
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
49
49
|
|
|
50
50
|
If the documentation does not support the selection, run
|
|
51
|
-
`npx --yes copilotkit@4.9.
|
|
51
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -17,7 +17,7 @@ Run `dotnet --version` before you change the project.
|
|
|
17
17
|
|
|
18
18
|
- https://docs.copilotkit.ai/ms-agent-dotnet/quickstart.md
|
|
19
19
|
- https://docs.copilotkit.ai/ms-agent-dotnet/inspector.md
|
|
20
|
-
- https://docs.copilotkit.ai/ms-agent-dotnet/generative-ui/
|
|
20
|
+
- https://docs.copilotkit.ai/ms-agent-dotnet/generative-ui/tool-based.md
|
|
21
21
|
- https://docs.copilotkit.ai/ms-agent-dotnet/agent-app-context.md
|
|
22
22
|
- https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/getting-started
|
|
23
23
|
|
|
@@ -34,7 +34,7 @@ Record the selected framework, provider, model, required credential variable nam
|
|
|
34
34
|
these URLs.
|
|
35
35
|
|
|
36
36
|
If the pages support the selection, run
|
|
37
|
-
`npx --yes copilotkit@4.9.
|
|
37
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
38
38
|
|
|
39
39
|
If the documentation does not support the selection, run
|
|
40
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -11,7 +11,7 @@ you change the project.
|
|
|
11
11
|
|
|
12
12
|
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/quickstart.md
|
|
13
13
|
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/inspector.md
|
|
14
|
-
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/generative-ui/
|
|
14
|
+
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/generative-ui/tool-based.md
|
|
15
15
|
- https://docs.copilotkit.ai/ms-agent-harness-dotnet/agent-app-context.md
|
|
16
16
|
- https://learn.microsoft.com/en-us/agent-framework/get-started/harness
|
|
17
17
|
- https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/getting-started
|
|
@@ -30,11 +30,9 @@ For a new Harness agent, use `AsHarnessAgent` with `HarnessAgentOptions`. Disabl
|
|
|
30
30
|
providers that add environment-dependent tools. Pass the project-owned tools through
|
|
31
31
|
`ChatOptions`.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
action-handler
|
|
36
|
-
from the Python-only note. If the visible C# steps do not cover the requested setup, run
|
|
37
|
-
the unsupported route below.
|
|
33
|
+
A2UI is not on this path. If the developer asks for it, say first that its page omits a
|
|
34
|
+
bundled setup block and that its action-handler note describes Python SDK behavior, so C#
|
|
35
|
+
action-handler support cannot be inferred from it.
|
|
38
36
|
|
|
39
37
|
A bare `HarnessAgent` does not consume AG-UI app context. The published example adds a
|
|
40
38
|
custom `DelegatingAIAgent` wrapper that reads context from `ChatOptions.AdditionalProperties`
|
|
@@ -43,10 +41,10 @@ browser proof. Do not copy the page's generic `CreateAIAgent` constructor over a
|
|
|
43
41
|
Harness agent.
|
|
44
42
|
|
|
45
43
|
Record the selected framework, provider, model, required credential variable names, these
|
|
46
|
-
URLs, and the quickstart
|
|
44
|
+
URLs, and the quickstart gap.
|
|
47
45
|
|
|
48
46
|
If the pages support the selection, run
|
|
49
|
-
`npx --yes copilotkit@4.9.
|
|
47
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
50
48
|
|
|
51
49
|
If the documentation does not support the selection, run
|
|
52
|
-
`npx --yes copilotkit@4.9.
|
|
50
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -16,7 +16,7 @@ so a scaffold that writes `agent/.env` and never loads it starts with no credent
|
|
|
16
16
|
|
|
17
17
|
- https://docs.copilotkit.ai/ms-agent-python/quickstart.md
|
|
18
18
|
- https://docs.copilotkit.ai/ms-agent-python/inspector.md
|
|
19
|
-
- https://docs.copilotkit.ai/ms-agent-python/generative-ui/
|
|
19
|
+
- https://docs.copilotkit.ai/ms-agent-python/generative-ui/tool-based.md
|
|
20
20
|
- https://docs.copilotkit.ai/ms-agent-python/agent-app-context.md
|
|
21
21
|
|
|
22
22
|
The documentation scope is `ms-agent-python`. The quickstart at that scope is
|
|
@@ -28,7 +28,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
28
28
|
these URLs.
|
|
29
29
|
|
|
30
30
|
If the pages support the selection, run
|
|
31
|
-
`npx --yes copilotkit@4.9.
|
|
31
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
32
32
|
|
|
33
33
|
If the documentation does not support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,29 +10,40 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/pydantic-ai/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/pydantic-ai/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/pydantic-ai/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/pydantic-ai/generative-ui/tool-based.md
|
|
14
|
+
- https://docs.copilotkit.ai/pydantic-ai/agent-app-context.md
|
|
14
15
|
- https://docs.copilotkit.ai/reference/v2/hooks/useAgentContext.md
|
|
15
16
|
|
|
16
17
|
The documentation scope is `pydantic-ai`. For an existing agent, install the exact
|
|
17
18
|
documented backend set with
|
|
18
19
|
`uv add 'pydantic-ai-slim[ag-ui,openai]>=2,<3' 'starlette>=0.46.2' uvicorn`.
|
|
19
|
-
Keep the Starlette endpoint that calls `AGUIAdapter.dispatch_request
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
Keep the Starlette endpoint that calls `AGUIAdapter.dispatch_request`, unless the app
|
|
21
|
+
context route below replaces it with the two-step form. Register it in Copilot Runtime
|
|
22
|
+
with `HttpAgent`. Do not replace this transport with a different Pydantic AI adapter.
|
|
23
|
+
|
|
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.
|
|
27
|
+
|
|
28
|
+
The AG-UI adapter does not pass `RunAgentInput.context` to the agent, and it does not
|
|
29
|
+
warn when it drops it. The frontend hook alone leaves the agent with nothing, and the
|
|
30
|
+
agent still answers as though it had the data. Wiring `useAgentContext` is not enough on
|
|
31
|
+
its own.
|
|
32
|
+
|
|
33
|
+
Follow the agent-app-context page above for the agent side. Build the adapter with
|
|
34
|
+
`AGUIAdapter.from_request`, pass `adapter.run_input.context` into `deps`, and read the
|
|
35
|
+
entries back through a tool. `dispatch_request` parses the request itself and leaves no
|
|
36
|
+
`run_input`, so the context route needs the two-step form even though every other route
|
|
37
|
+
here uses the one-liner. Parse `value` with `json.loads`: the hook stringifies it and
|
|
38
|
+
AG-UI types it as a string, so a shape check on it never passes. Never build
|
|
39
|
+
`instructions` from an entry. Entries are client-submitted and reach the model as tool
|
|
40
|
+
output only.
|
|
30
41
|
|
|
31
42
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
32
|
-
URLs, and the context
|
|
43
|
+
URLs, and the two-step context route.
|
|
33
44
|
|
|
34
45
|
If the pages support the selection, run
|
|
35
|
-
`npx --yes copilotkit@4.9.
|
|
46
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
36
47
|
|
|
37
48
|
If the documentation does not support the selection, run
|
|
38
|
-
`npx --yes copilotkit@4.9.
|
|
49
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,13 +10,14 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/strands/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/strands/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/strands/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/strands/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/strands/shared-state/agent-readonly.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `strands`. Use the Python examples from these pages.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
tool
|
|
17
|
+
|
|
18
|
+
A2UI is not on this path. If the developer asks for it, say first that the fixed-schema
|
|
19
|
+
A2UI tool makes its own OpenAI call, so it bills a second model call this plan does not
|
|
20
|
+
account for.
|
|
20
21
|
|
|
21
22
|
No Strands agent-app-context Markdown page is available. Do not invent an
|
|
22
23
|
agent-app-context setup. If the requested work needs that missing setup, run the
|
|
@@ -26,7 +27,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
26
27
|
URLs, and the context documentation gap.
|
|
27
28
|
|
|
28
29
|
If the pages support the selection, run
|
|
29
|
-
`npx --yes copilotkit@4.9.
|
|
30
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
30
31
|
|
|
31
32
|
If the documentation does not support the selection, run
|
|
32
|
-
`npx --yes copilotkit@4.9.
|
|
33
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|
|
@@ -10,23 +10,25 @@ Name the default model credential `OPENAI_API_KEY`.
|
|
|
10
10
|
|
|
11
11
|
- https://docs.copilotkit.ai/strands-typescript/quickstart.md
|
|
12
12
|
- https://docs.copilotkit.ai/strands-typescript/inspector.md
|
|
13
|
-
- https://docs.copilotkit.ai/strands-typescript/generative-ui/
|
|
13
|
+
- https://docs.copilotkit.ai/strands-typescript/generative-ui/tool-based.md
|
|
14
14
|
- https://docs.copilotkit.ai/strands-typescript/shared-state/agent-readonly.md
|
|
15
15
|
|
|
16
16
|
The documentation scope is `strands-typescript`. Use only the TypeScript examples from
|
|
17
17
|
these pages. Install `@modelcontextprotocol/sdk` as a runtime dependency.
|
|
18
18
|
`@strands-agents/sdk` loads it even when the application does not use MCP.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
example or invent either missing setup. If the requested work needs either missing setup,
|
|
20
|
+
No Strands TypeScript agent-app-context Markdown page is available. Do not translate
|
|
21
|
+
another language's backend example or invent that setup. If the requested work needs it,
|
|
23
22
|
run the unsupported route below.
|
|
24
23
|
|
|
24
|
+
A2UI is not on this path. If the developer asks for it, say first that its page has no
|
|
25
|
+
Strands TypeScript backend example, so a TypeScript project has nothing to follow.
|
|
26
|
+
|
|
25
27
|
Record the selected framework, vendor, model, required credential variable names, these
|
|
26
|
-
URLs, and
|
|
28
|
+
URLs, and the context documentation gap.
|
|
27
29
|
|
|
28
30
|
If the pages support the selection, run
|
|
29
|
-
`npx --yes copilotkit@4.9.
|
|
31
|
+
`npx --yes copilotkit@4.9.24 onboard read frontend/plan`.
|
|
30
32
|
|
|
31
33
|
If the documentation does not support the selection, run
|
|
32
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.24 onboard read unsupported/no-validated-path`.
|