Skip to content

docs(agent): Add openresponses guide - #7930

Draft
charlesbvll wants to merge 1 commit into
docs/agent-hubfrom
docs/agent-open-responses
Draft

docs(agent): Add openresponses guide#7930
charlesbvll wants to merge 1 commit into
docs/agent-hubfrom
docs/agent-open-responses

Conversation

@charlesbvll

Copy link
Copy Markdown
Member

Issue

Description

Related issues/PRs

Proposal

Explanation

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Address LLM-reviewer comments, if applicable (e.g., GitHub Copilot)
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

Copilot AI lite review requested due to automatic review settings August 18, 2026 20:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds documentation for using the OpenAI Python SDK inside an AgentApp by calling Flower’s internal Open Responses-compatible runtime endpoint, and updates existing docs to reference/clarify this behavior.

Changes:

  • Added a new how-to guide for using the OpenAI SDK in an AgentApp via runtime-injected base URL and API key.
  • Linked the new guide from the “Write your first AgentApp” tutorial and the AgentApp runtime explanation.
  • Clarified in the docs index that the Open Responses-compatible endpoint is internal (not a public external API).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
agent/docs/source/tutorials/write-your-first-agentapp.md Adds a link directing readers to the new OpenAI SDK how-to guide.
agent/docs/source/index.md Adds the new guide to the docs and clarifies endpoint scope (internal vs public).
agent/docs/source/how-to-guides/use-openai-sdk.md New how-to guide describing how to use the OpenAI Python SDK against Flower’s internal runtime endpoint.
agent/docs/source/explanations/agentapp-runtime.md Adds a reference to the new how-to guide for SDK usage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


Create the client inside the main function so commands such as `flwr build` can
import the module without requiring a running Flower runtime:

Comment on lines +9 to +10
AgentApp](../tutorials/write-your-first-agentapp.md). This guide targets Flower
1.34.0.
Comment on lines +31 to +35
- `FLWR_RUNTIME_BASE_URL` is the base URL of the internal Runtime API
- `FLWR_RUNTIME_API_KEY` authenticates requests from the AgentApp process

Pass both values to `OpenAI` without modifying them. The SDK adds the
`/responses` path when it creates a response.
@github-actions github-actions Bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Aug 18, 2026
@charlesbvll charlesbvll self-assigned this Aug 20, 2026
@danieljanes
danieljanes force-pushed the docs/agent-open-responses branch from f930941 to c8bc5ef Compare August 21, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Used to determine what PRs (mainly) come from Flower maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants