Commit Graph

957 Commits

Author SHA1 Message Date
Martha Kelly Schumann 5d9ad8ca5c style: fix pre-existing prettier formatting in integration-features
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>
2026-03-23 16:48:47 -07:00
Ran Shemtov d6dba0368a Merge branch 'main' into docs/intermediate-state-lg-prebuilt 2026-03-23 11:12:54 +01:00
Claude 7a78f3f081 Add redirect from /whats-new/v1-50 to root page
https://claude.ai/code/session_017vEXQbgYTwxWfrmBRcsCQG
2026-03-19 18:27:46 -07:00
Ran Shem Tov 420d6ad4b6 docs: point imports to copilotkit re-export of the middleware 2026-03-19 13:04:52 +01:00
Ran Shem Tov 2beade6006 docs: add prebuilt agent state streaming docs 2026-03-19 13:04:52 +01:00
Tyler Slaton 5d4ed8f312 fix: run formatter to resolve lint issues
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-18 15:36:46 -04:00
johnprg 16361eb781 fix: change useAgentContext and useInterrupt links to go to v2 (fix broken links) 2026-03-17 10:52:25 -07:00
johnprg 3540f36f74 add banners to link checker. remove unused FeatureGrid 2026-03-17 10:48:35 -07:00
johnprg ffa80c6aad fix: remove v1.50 announcement. Fix MCP-apps link 2026-03-17 10:35:56 -07:00
Ran Shemtov 9b2c840466 docs: add documentation about a2ui and mcpApps options in copilotkit (#3411) 2026-03-13 10:00:20 +01:00
Tyler Slaton 55b5739ad5 fix(docs): remove CLI scaffolding from built-in-agent and agent-spec quickstarts
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>
2026-03-12 20:53:40 -04:00
Tyler Slaton 3051bd1ff1 fix(docs): correct quickstart errors and API examples across integrations
- 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>
2026-03-12 20:53:40 -04:00
github-actions[bot] ea746d4629 chore(post-release): update version to 1.54.0 2026-03-12 22:32:04 +00:00
Jordan Ritter eab4855e67 fix: address review findings in consolidated examples
- 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
2026-03-12 13:06:04 -07:00
Jordan Ritter 79bdaddf0c docs: update tutorials and READMEs for consolidated demo paths
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.
2026-03-12 13:06:03 -07:00
Ran Shem Tov 09d31e1230 docs: recommend runtime mcpApps by default and note A2UI auto-render 2026-03-12 13:52:56 +01:00
Maxim bbea168304 docs: add runTool() API reference and programmatic control example
- 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>
2026-03-11 18:17:25 +04:00
Tyler Slaton 8f8567f0b5 fix(quickstart): include globals.css in manual step
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-10 18:56:20 -04:00
Tyler Slaton 8e1f1ec5f0 fix(docs): make shared snippets framework-aware for IframeSwitcher URLs
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>
2026-03-10 18:56:20 -04:00
Ran Shem Tov 96740260ef docs: add documentation about a2ui and mcpApps options in copilotkit 2026-03-10 10:51:58 +01:00
Maxim 7a6f7ba1c3 docs: add v2 onError documentation for CopilotKitProvider and CopilotChat
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 16:25:16 -05:00
Tyler Slaton d461af035c fix(docs): update AWS Strands examples to current API
- 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>
2026-03-05 13:01:09 -05:00
Tyler Slaton 683f618e40 fix(docs): update Mastra examples to current API
- 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>
2026-03-05 13:01:09 -05:00
Tyler Slaton 16b0651b83 fix(docs): remove nonexistent CLI framework options
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>
2026-03-05 13:01:09 -05:00
Tyler Slaton c47038a38a fix(docs): fix agent API usage patterns across guides
- 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>
2026-03-05 13:01:09 -05:00
Tyler Slaton 2c0ff2bd62 fix(docs): use correct CopilotKit import path in connect-mcp-servers
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>
2026-03-05 13:01:09 -05:00
Tyler Slaton e1246733ae fix(docs): rename useAgent name prop to agentId across all guides
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>
2026-03-05 13:01:09 -05:00
Tyler Slaton b3fc19e129 chore: remove plan files from tracking and gitignore docs/plans/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton 5670c8c24e fix(docs): fix useAgent patterns, useRenderToolCall, useFrontendTool params, and missing deps
- useAgent: remove type params, change {agentState} to {agent}, use agent.state (35 files)
- useRenderToolCall replaced with useRenderTool across 9 tool-rendering pages
- useFrontendTool: plain array params replaced with Zod schemas (10 files)
- Mastra quickstart: add missing @ai-sdk/openai dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton 0cba6cb4da fix(docs): fix V2 import issues across integration pages
- CopilotKit imports changed to V1 path (Cat 1)
- useCopilotReadable replaced with useAgentContext (Cat 2)
- useDefaultTool replaced with useDefaultRenderTool (Cat 2)
- useLangGraphInterrupt replaced with useInterrupt (Cat 2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton 74dfd09d32 fix(docs): update shared snippets to correct V2 API patterns
- CopilotKit imports changed to V1 path (@copilotkit/react-core)
- useDefaultTool renamed to useDefaultRenderTool

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton 3a306e281a docs(root): update initial code snippet for programmatic control page
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-02 14:24:09 -05:00
Tyler Slaton f5b28ec99a fix(docs): address issue with scrolling on homepage
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-02 13:50:22 -05:00
Tyler Slaton cc8c945893 refactor(docs): optimize structure, content and navigability
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-02 11:30:16 -05:00
Alem Tuzlak b60707563f feat: accept agentId parameter in useLangGraphInterrupt (#3272) 2026-02-26 17:24:32 +01:00
Ran Shemtov d77f3475a6 feat: create use-interrupt hook (#3184)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:50:21 +01:00
Jordan Ritter 0f47b01d06 feat: Enable Git LFS for binary assets (.gif, .jpg, .png, .pdf, .mp4) (#3238)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-23 13:56:48 +01:00
Alem Tuzlak 2007f8be55 feat: useComponent improvements (#3248)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-20 18:38:44 -08:00
Ran Shemtov 593859fd9f feat: add useComponent wrapper around useFrontendTool (#3175)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-20 00:38:31 -05:00
Max Korp 980d3f5b55 docs: add v2 interface reference docs (#3197)
Also fixing some linting/build issues.

Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-02-17 17:14:41 -05:00
Alem Tuzlak ef0f539867 feat: Added reasoning for improved information display (#3165)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-17 11:11:47 +01:00
Tyler Slaton 86d0f7acfb docs: add Copilot Runtime guide across all integrations (#3219)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:27:10 -05:00
CaptnCode 387120dc4f docs: port AG2 integration docs to AG-UI backend examples (#3151) 2026-02-13 17:46:46 -05:00
Maxim 02371e89ff docs: add MemorySaver checkpointer to deep agent examples (#3212)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-13 14:13:06 -05:00
Rob Clevenger 063a644ad6 docs: update useRenderToolCall wildcard syntax from "" to "*" (#3112)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2026-02-13 19:08:50 +01:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00
Pascal zhang c0f2f0bc20 docs(langChain): change langChain docs link (#3191) 2026-02-13 01:42:53 -05:00
Nathan 🔶 Tarbert 49c78d94ae chore(docs): fix updated research canvas video link (#3145) 2026-02-03 13:34:17 -05:00
Nathan 🔶 Tarbert 4296124e99 chore(docs): Add taco example2 (#3144) 2026-02-03 08:06:05 -05:00
John Rae-Grant f88e9a1e8c Docs/broken links 2026 02 01 (#3137) 2026-02-01 22:56:29 -08:00