Found by: Deepti
Summary
The agent examples still reference the old "AgentSpan" product name in docstrings and use AGENTSPAN_* environment variables. The product is Conductor, so this is stale branding that confuses new users following the getting-started.
Example — examples/agents/01_basic_agent.py docstring:
"""Basic Agent — 5-line hello world.
Demonstrates the simplest possible agent: define an agent, call
``runtime.run()`` and print the result.
Requirements:
- Agentspan server with LLM support
- AGENTSPAN_SERVER_URL=http://localhost:8080/api in .env or environment
- AGENTSPAN_LLM_MODEL set in .env or environment (optional)
"""
Also affected
examples/agents/settings.py reads AGENTSPAN_LLM_MODEL / AGENTSPAN_SECONDARY_LLM_MODEL.
- Likely other examples reference
Agentspan / AGENTSPAN_* in headers and env vars.
Expected
Examples should reference Conductor and use CONDUCTOR_* env vars:
Agentspan server → Conductor server
AGENTSPAN_SERVER_URL → CONDUCTOR_SERVER_URL
AGENTSPAN_LLM_MODEL → CONDUCTOR_LLM_MODEL
Note: the SDK already accepts CONDUCTOR_SERVER_URL (see conductor/ai/agents/runtime/runtime.py — it reads both CONDUCTOR_SERVER_URL and AGENTSPAN_SERVER_URL), so renaming in the examples is safe and just needs the docstrings + settings.py + any os.environ.get('AGENTSPAN_*') updated.
Suggested fix
Replace all Agentspan / AGENTSPAN_* references across examples/ with Conductor / CONDUCTOR_*.
Where seen: conductor-oss/python-sdk main, examples/agents/01_basic_agent.py, examples/agents/settings.py.
Found by: Deepti
Summary
The agent examples still reference the old "AgentSpan" product name in docstrings and use
AGENTSPAN_*environment variables. The product is Conductor, so this is stale branding that confuses new users following the getting-started.Example —
examples/agents/01_basic_agent.pydocstring:Also affected
examples/agents/settings.pyreadsAGENTSPAN_LLM_MODEL/AGENTSPAN_SECONDARY_LLM_MODEL.Agentspan/AGENTSPAN_*in headers and env vars.Expected
Examples should reference Conductor and use
CONDUCTOR_*env vars:Agentspan server→Conductor serverAGENTSPAN_SERVER_URL→CONDUCTOR_SERVER_URLAGENTSPAN_LLM_MODEL→CONDUCTOR_LLM_MODELNote: the SDK already accepts
CONDUCTOR_SERVER_URL(seeconductor/ai/agents/runtime/runtime.py— it reads bothCONDUCTOR_SERVER_URLandAGENTSPAN_SERVER_URL), so renaming in the examples is safe and just needs the docstrings +settings.py+ anyos.environ.get('AGENTSPAN_*')updated.Suggested fix
Replace all
Agentspan/AGENTSPAN_*references acrossexamples/withConductor/CONDUCTOR_*.Where seen:
conductor-oss/python-sdkmain,examples/agents/01_basic_agent.py,examples/agents/settings.py.