Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(docs): shorten AnthropicProvider line in from-langgraph + fix 0.8.0 changelog links

xf gongffca5ab3d48c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 030cd7b..2d83479 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -283,7 +283,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **[0.2.0]** - 2026-05-10 — see the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.2.0).
- **[0.1.0]** - 2026-05-09 — initial release. See the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.1.0).
-[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.7.0...HEAD
+[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.8.0...HEAD
+[0.8.0]: https://github.com/cubeplexai/cubepi/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/cubeplexai/cubepi/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/cubeplexai/cubepi/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/cubeplexai/cubepi/compare/v0.4.0...v0.5.0
diff --git a/website/docs/migration/from-langgraph.md b/website/docs/migration/from-langgraph.md
index 4227e2b..033cc28 100644
--- a/website/docs/migration/from-langgraph.md
+++ b/website/docs/migration/from-langgraph.md
@@ -82,8 +82,9 @@ async def get_weather(city: str) -> str:
return f"72°F and sunny in {city}"
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[get_weather],
)
agent.subscribe(lambda e, s=None: print(e.type))
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/migration/from-langgraph.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/migration/from-langgraph.md
index 52bc727..a5907bc 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/migration/from-langgraph.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/migration/from-langgraph.md
@@ -81,8 +81,9 @@ async def get_weather(city: str) -> str:
return f"72°F and sunny in {city}"
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[get_weather],
)
agent.subscribe(lambda e, s=None: print(e.type))
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.7/migration/from-langgraph.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.7/migration/from-langgraph.md
index 91270e2..b3a6cc2 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.7/migration/from-langgraph.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.7/migration/from-langgraph.md
@@ -84,8 +84,9 @@ async def get_weather(tool_call_id, params: GetWeatherParams, *, signal=None, on
return AgentToolResult(content=[TextContent(text=f"72°F and sunny in {params.city}")])
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[AgentTool(
name="get_weather",
description="Get current weather for a city.",
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.8/migration/from-langgraph.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.8/migration/from-langgraph.md
index 52bc727..a5907bc 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.8/migration/from-langgraph.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.8/migration/from-langgraph.md
@@ -81,8 +81,9 @@ async def get_weather(city: str) -> str:
return f"72°F and sunny in {city}"
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[get_weather],
)
agent.subscribe(lambda e, s=None: print(e.type))
diff --git a/website/versioned_docs/version-0.7/migration/from-langgraph.md b/website/versioned_docs/version-0.7/migration/from-langgraph.md
index d97da49..74dcac9 100644
--- a/website/versioned_docs/version-0.7/migration/from-langgraph.md
+++ b/website/versioned_docs/version-0.7/migration/from-langgraph.md
@@ -85,8 +85,9 @@ async def get_weather(tool_call_id, params: GetWeatherParams, *, signal=None, on
return AgentToolResult(content=[TextContent(text=f"72°F and sunny in {params.city}")])
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[AgentTool(
name="get_weather",
description="Get current weather for a city.",
diff --git a/website/versioned_docs/version-0.8/migration/from-langgraph.md b/website/versioned_docs/version-0.8/migration/from-langgraph.md
index 4227e2b..033cc28 100644
--- a/website/versioned_docs/version-0.8/migration/from-langgraph.md
+++ b/website/versioned_docs/version-0.8/migration/from-langgraph.md
@@ -82,8 +82,9 @@ async def get_weather(city: str) -> str:
return f"72°F and sunny in {city}"
+provider = AnthropicProvider(provider_id="anthropic", api_key="…")
agent = Agent(
- model=AnthropicProvider(provider_id="anthropic", api_key="…").model("claude-sonnet-4-5-20250929"),
+ model=provider.model("claude-sonnet-4-5-20250929"),
tools=[get_weather],
)
agent.subscribe(lambda e, s=None: print(e.type))