Skip to content

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

fix(examples): remove Ark endpoint references from docstrings

xf gongf0521681e23b
diff --git a/examples/ask_user_form.py b/examples/ask_user_form.py
index fb21af2..6ce949d 100644
--- a/examples/ask_user_form.py
+++ b/examples/ask_user_form.py
@@ -8,7 +8,7 @@ structured multi-question form before proceeding.
The host loop answers the form programmatically (simulating a UI). In a real
app you'd render each question to a frontend and collect the response.
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio
diff --git a/examples/persistent_chat.py b/examples/persistent_chat.py
index b3fed6c..d8bea88 100644
--- a/examples/persistent_chat.py
+++ b/examples/persistent_chat.py
@@ -13,7 +13,7 @@ file; pass a thread_id as the first argument to identify the user/session.
# Different thread, clean slate.
Requires: cubepi[sqlite]
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio
diff --git a/examples/postgres_fastapi.py b/examples/postgres_fastapi.py
index b44eb2c..4dad951 100644
--- a/examples/postgres_fastapi.py
+++ b/examples/postgres_fastapi.py
@@ -13,7 +13,7 @@ streaming, a shared PostgresCheckpointer for persistence.
-d '{"text":"hi"}'
Requires: cubepi[postgres], fastapi, uvicorn[standard], sse-starlette
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio
diff --git a/examples/resumable_tasks.py b/examples/resumable_tasks.py
index c5b3bc2..ae6fd3c 100644
--- a/examples/resumable_tasks.py
+++ b/examples/resumable_tasks.py
@@ -11,7 +11,7 @@ skips already-completed work.
uv run python examples/resumable_tasks.py job-1
Requires: cubepi[sqlite]
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio
diff --git a/examples/sandbox_confirm.py b/examples/sandbox_confirm.py
index ab1af84..483bf41 100644
--- a/examples/sandbox_confirm.py
+++ b/examples/sandbox_confirm.py
@@ -6,7 +6,7 @@ human-confirm requests by auto-approving them (simulating a UI).
uv run python examples/sandbox_confirm.py
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio
diff --git a/examples/weather_agent.py b/examples/weather_agent.py
index fd15597..78207e1 100644
--- a/examples/weather_agent.py
+++ b/examples/weather_agent.py
@@ -6,7 +6,7 @@ Demonstrates HTTP-calling tools, error handling, streaming UI, and cancellation.
uv run python examples/weather_agent.py
Requires: httpx (pip install httpx)
-Uses the Ark coding endpoint by default — override via CUBEPI_* env vars (see _provider.py).
+Set ANTHROPIC_API_KEY or OPENAI_API_KEY before running (see _provider.py).
"""
import asyncio