This file was merged to main with formatting issues. Fixing here
since the prettier CI check only runs on PRs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Neither built-in-agent nor agent-spec are valid CLI framework options.
Remove "Start from scratch" CLI paths, keep manual setup only.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Agent-spec: remove invalid CLI `-f agent-spec` option, link to manual setup
- A2A: fix env var (GEMINI_API_KEY) and port (10002) to match starter template
- AWS Strands: fix useRenderTool to use Zod schema and correct render props
- LangGraph: add auth guide cross-reference in configurable docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- gemini/stack_agent.py: initialize tool_calls/tool_msg before try
block, guard usage with null check to prevent NameError on failure
- gemini/posts_generator_agent.py: use async generate_content to avoid
blocking event loop, guard grounding_metadata access, replace bare
except with explicit bounds check, remove dead router_function and
redundant static edges
- gemini/app/api/chat/route.ts: remove dead OpenAI route from Gemini
example (mislabeled as Gemini-powered, no frontend references it)
- gemini/package.json: remove unused @ai-sdk/openai, ai, zod deps
- langgraph-python/agent.py: remove debug print(state), move docstring
to first position so chat_node.__doc__ works
- textarea tutorial: fix StackBlitz URLs pointing to use-tasks.tsx
instead of use-emails.tsx
Rewrite all standalone repo URLs to monorepo paths across 18 doc files
and the root README. Tutorial clone instructions now use
GIT_LFS_SKIP_SMUDGE=1 and point to examples/ subdirectories. Fix
pre-existing copy-paste bug in textarea tutorial and stale branch refs.
- Document runTool() params, return value, and usage in useCopilotKit.mdx
- Add tool-from-button example to programmatic-control.mdx
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Shared MDX snippets had hardcoded langgraph URLs in IframeSwitcher
components. Now they accept a framework prop so each integration page
can specify its own feature viewer path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use @tool decorator instead of @Tool class
- Use Agent(model=, system_prompt=, tools=) instead of wrong kwargs
(state_schema, initial_state, instructions)
- Use StrandsAgent/StrandsAgentConfig from ag_ui_strands for AG-UI integration
- Use OpenAIModel from strands.models.openai
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove context wrapper from createTool execute callbacks
- Add required id to LibSQLStore constructor
- Use :memory: instead of file::memory: for LibSQLStore url
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The agent-spec and built-in-agent CLI starters don't exist.
Replace with the generic `npx copilotkit@latest create` command.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace destructured `run` from useAgent with copilotkit.runAgent()
- Replace agent.run() with agent.addMessage() + copilotkit.runAgent()
- Fix agent.id to agent.agentId in v1 useAgent reference
- Fix headless.mdx to use correct useAgent return type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CopilotKit component is exported from @copilotkit/react-core (v1),
not from @copilotkit/react-core/v2 which exports CopilotKitProvider.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The v2 useAgent hook uses agentId, not name. Updated all integration
guide code examples to use the correct property name.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CopilotKit imports changed to V1 path (@copilotkit/react-core)
- useDefaultTool renamed to useDefaultRenderTool
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>