Commit Graph

154 Commits

Author SHA1 Message Date
Ran Shemtov 5a24f28894 feat: create copilotkit langgraph middleware (#2928) 2026-01-09 16:46:40 +01:00
Charlie Tonneslan fb613ad07a fix(sdk-python): add dict_repr method to LangGraphAGUIAgent
Adds missing dict_repr() method to LangGraphAGUIAgent class to fix
AttributeError when SDK tries to serialize agent info.

The method was present in the parent LangGraphAgent class but not
overridden in LangGraphAGUIAgent, causing failures when calling
sdk.info() with AGUI agents in FastAPI integrations.

Fixes #2667
2025-10-27 15:37:31 -04:00
alexforrestf 8f76efc384 fix(sdk-python): compatibility with langchain v1 (#2633) (#2634) 2025-10-23 15:47:53 -04:00
Ran Shemtov a0155b03e6 fix: ensure stringified args when emitting tool calls (#2571) 2025-10-03 17:05:25 +02:00
Ran Shemtov 19cae45de6 fix: deprecate lg platform remote endpoint (#2540) 2025-09-30 12:13:30 +02:00
Ran Shemtov b7bc3a03e9 feat: pass copilot readable context to agui agents (#2426) 2025-09-15 12:37:55 +02:00
Ran Shemtov 85e09eea2b fix(sdk-python): preserve state messages on subsequent get_state calls (#2216) 2025-07-23 10:21:38 +02:00
Ran Shemtov ec6969b27a Fix/serializable state py (#2177) 2025-07-23 09:56:02 +02:00
Ran Shemtov a010b323d5 chore: use url from deployment when routing to agent (#2171) 2025-07-17 18:15:58 +02:00
Ran Shemtov df25f34d30 feat: add agui fastAPI compatible langgraph agent (#2117) 2025-07-15 19:49:15 +02:00
Ran Shemtov cf90f85aad fix: reduce checkpointer calls lg events (#2063) 2025-07-08 14:39:42 +02:00
Ran Shemtov bffb410b9f fix: consider empty array content for tool message (#2103) 2025-07-04 12:13:52 +02:00
Ran Shemtov 3f8c575363 fix: time travel regenerate (#2071) 2025-07-01 20:25:12 +02:00
Ran Shemtov c0e799e787 Fix/support langgraph 0.5.0 (#2073) 2025-06-30 23:02:48 +02:00
Suhas Deshpande 1d1c51d2f2 surface every possible errors in clean structured way (#2036) 2025-06-23 15:03:38 -07:00
Ran Shemtov 11b7a29686 fix: use active interrupt from thread instead of saving to global state (python sdk) (#2040) 2025-06-23 14:23:16 +02:00
Ran Shemtov c361a16d31 fix: fix regenerate to rerun tool call on click (#2019) 2025-06-19 18:36:33 +02:00
Suhas Deshpande a188b4f902 adds state update event to crew flow (#1963) 2025-06-09 21:29:27 -07:00
Suhas Deshpande 760db7a405 feat(crewai): Add CopilotKit integration utilities for CrewAI enterprise (#1858) 2025-06-05 14:59:11 -07:00
Ran Shemtov 9bc69d8b99 fix: fix reading and spreading configs in langgraph stream events (#1904) 2025-05-30 11:08:08 +02:00
Nick Stanish 9b26f12ba0 fix:python Invert condition for merge_state deprecation check (#1749) 2025-05-23 13:20:08 -07:00
Suhas Deshpande d40e0027a3 udpates crewai to 0.118.0 (#1743) 2025-05-12 08:29:47 -07:00
Ran Shemtov 5f613e667b fix: refrain from overriding graph level config in python sdk (#1773) 2025-05-08 12:10:43 +02:00
Ran Shemtov 742efbb1a8 feat: enable setting langgraph config from ui (#1704) 2025-04-29 17:14:59 +02:00
Ran Shemtov 7a04bd1fd2 fix: langgraph interrupt in chat (#1642) 2025-04-16 16:27:58 +02:00
Suhas Deshpande 0ff04ed159 fix(crewai): Retrieve and convert messages from stored state (#1655) 2025-04-10 16:06:14 -07:00
Ran Shemtov d0e8a1ec5b fix: fix duplicate messages on regenerate (#1613) 2025-04-04 12:08:52 +02:00
Ran Shemtov e652aac4b3 feat: add support for langgraph config schema (#1596) 2025-03-28 18:59:39 +01:00
Ran Shemtov ff58c77595 fix: improve schema fetching for langgraph agent (#1558) 2025-03-26 17:23:11 +01:00
Markus Ecker 8c66caed1b dump from state_as_dict when state is a pydantic model 2025-03-18 17:38:30 +01:00
Markus Ecker bed63cb2ae Fix CrewAI pydantic state issues (#1487) 2025-03-14 14:53:35 +01:00
Markus Ecker 2546e95438 Make the crew dependency optional (#1468)
Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2025-03-11 11:26:38 -07:00
Markus Ecker 082db7a996 Add CrewAI support (#1308)
Co-authored-by: Suhas Deshpande <suhasdeshpande@users.noreply.github.com>
Co-authored-by: Ariel Weinberger <Weinberger.Ariel@gmail.com>
Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2025-02-28 12:21:54 +01:00
Ran Shemtov fea916fc92 feat: support input and output schema of langgraph (#1406) 2025-02-24 12:04:40 +01:00
Ran Shemtov cc300f9081 fix: enable usage of async savers by using lg async interface (#1384) 2025-02-17 14:50:22 +01:00
Ran Shemtov 7d061d9e84 feat(configurable): execute langgraph with user config (#1376) 2025-02-17 10:44:43 +01:00
Markus Ecker d49c3517be Fix concurrency issues (#1350) 2025-02-12 16:30:23 +01:00
Ran Shemtov f0e753dad0 fix(interrupt): enable multi type for interrupt value (#1329) 2025-02-11 15:51:43 +01:00
Md Abid Hussain 1a055c9e45 Fix mixing synchronous and asynchronous calls in the LangGraph agent implementation (#1327) 2025-02-11 14:44:34 +01:00
Ran Shemtov 06f9f35405 feat: support message based lg interrupt with convenience function (#1305) 2025-02-06 18:13:05 +01:00
Ran Shemtov 7114d92b5e fix: fastapi no thread pool (#1303) 2025-02-04 18:17:34 +01:00
Ran Shemtov 7b3141d3a9 feat: langgraph interrupt hook (#1273) 2025-02-04 17:32:42 +01:00
Markus Ecker 926499bb4e Load agent state (#1251) 2025-01-20 16:53:51 +01:00
Markus Ecker 7e80ef0a2a import TypedDict from typing_extensions (#1152) 2025-01-09 15:06:12 +01:00
Markus Ecker 8521f217c1 bump version 2025-01-08 11:31:29 +01:00
Markus Ecker 1b47092b43 CoAgents v0.3 (#1193)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
Co-authored-by: Ariel Weinberger <Weinberger.Ariel@gmail.com>
2025-01-07 19:48:51 -06:00
Ran Shemtov fe8a514e7d fix: increase time of waiting on async force fix (#1088) 2024-12-12 15:34:46 +01:00
Ran Shemtov 75cb5ce110 fix(python-sdk): fix intermediate state not emitting until next async fn (#1063) 2024-12-10 14:26:53 +01:00
Markus Ecker dd48edfe0f use AsyncTavilyClient everywhere in python code 2024-12-03 13:59:29 +01:00
Ran Shemtov 9468014edd fix: fix emitted state being overridden by llm calls (#994)
* fix: fix emitted state being overridden by llm calls

* fix: align state continueity with python sdk implementation
2024-11-29 16:04:06 +01:00