Skip to content

Examples still reference deprecated "AgentSpan" naming (docstrings + AGENTSPAN_* env vars) — should be Conductor #435

Description

@deeptireddy-lab

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 serverConductor server
  • AGENTSPAN_SERVER_URLCONDUCTOR_SERVER_URL
  • AGENTSPAN_LLM_MODELCONDUCTOR_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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions