Skip to content

docs(samples): add DaoXE OpenAI-compatible model provider sample#290

Open
seven7763 wants to merge 1 commit into
strands-agents:mainfrom
seven7763:docs/add-daoxe-openai-provider-sample
Open

docs(samples): add DaoXE OpenAI-compatible model provider sample#290
seven7763 wants to merge 1 commit into
strands-agents:mainfrom
seven7763:docs/add-daoxe-openai-provider-sample

Conversation

@seven7763

Copy link
Copy Markdown

Summary

Adds a model-providers tutorial for DaoXE under python/01-learn/03-model-providers/04-daoxe-model/, following the existing OpenAI/LiteLLM sample style.

  • Base URL: https://daoxe.com/v1
  • Uses built-in strands.models.openai.OpenAIModel (no separate package)
  • Account-scoped model IDs only (DAOXE_MODEL_ID / dashboard / GET /v1/models)
  • Notes multi-protocol surface (OpenAI-compatible + Anthropic Messages where available); this sample covers the OpenAI path for Strands
  • Notes service is not available in mainland China
  • CLI script + notebook + README; parent model-providers README updated
  • Discloses maintainer affiliation (seven7763)

Related docs PR on the monorepo: strands-agents/harness-sdk#3218
(strands-agents/sdk-python redirects to harness-sdk; this samples PR is the complementary runnable example.)

Why

Strands already documents OpenAI-compatible gateways. DaoXE is a multi-model multi-protocol gateway users can point at with base_url=https://daoxe.com/v1.

Test plan

  • Files appear under python/01-learn/03-model-providers/04-daoxe-model/
  • requirements.txt installs strands-agents[openai] + tools
  • CLI uses OpenAIModel(client_args={api_key, base_url}, model_id=...)
  • Optional: smoke with real DAOXE_API_KEY + account model id
  • Parent README lists the new sample

I maintain DaoXE. Examples: https://github.com/seven7763/DaoXE-AI

Add a model-providers tutorial for DaoXE (https://daoxe.com/v1) using
Strands OpenAIModel: CLI script + notebook, account-scoped model IDs,
multi-protocol note, and mainland China availability note.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant