Skip to content

Add doc for OpenAI Agents SDK with LiteLLM#21311

Merged
Sameerlite merged 3 commits intomainfrom
litellm_add_agents_sdk_openai
Feb 16, 2026
Merged

Add doc for OpenAI Agents SDK with LiteLLM#21311
Sameerlite merged 3 commits intomainfrom
litellm_add_agents_sdk_openai

Conversation

@Sameerlite
Copy link
Collaborator

Relevant issues

Fixes #21123

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
  • I have requested a Greptile review by commenting @greptileai and received a Confidence Score of at least 4/5 before requesting a maintainer review

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:

  • CI run for the last commit
    Link:

  • Merge / cherry-pick CI run
    Links:

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

@vercel
Copy link

vercel bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Feb 16, 2026 1:35pm

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 16, 2026

Greptile Summary

This PR expands the OpenAI Agents SDK documentation page with a comprehensive Quick Start guide, tabbed proxy vs. direct usage examples, usage tracking instructions, and environment variable references. It also adds the page to the "Agent SDKs" sidebar category.

  • Build-breaking bug in sidebars.js: The new sidebar entry uses a raw filesystem path (litellm/docs/my-website/docs/projects/openai-agents.md) instead of the Docusaurus doc ID (projects/openai-agents). This will cause the documentation site build to fail.
  • The markdown content itself is well-structured and follows existing documentation conventions.

Confidence Score: 2/5

  • The sidebar change will break the documentation build and must be fixed before merging.
  • The documentation content is good, but the sidebar entry uses an incorrect path format that will prevent the Docusaurus site from building. This is a simple fix (change to "projects/openai-agents") but blocks the PR as-is.
  • Pay close attention to docs/my-website/sidebars.js — the new entry on line 179 uses an invalid doc ID format.

Important Files Changed

Filename Overview
docs/my-website/sidebars.js Sidebar entry uses full filesystem path instead of Docusaurus doc ID — will break the documentation build.
docs/my-website/docs/projects/openai-agents.md Documentation content is well-structured with clear Quick Start guide, tabbed examples for proxy vs. direct usage, usage tracking, and environment variable reference. No issues found.

Flowchart

flowchart TD
    A["OpenAI Agents SDK"] -->|"Via Proxy"| B["LiteLLM Proxy<br/>localhost:4000"]
    A -->|"Direct (No Proxy)"| D["LLM Provider APIs"]
    B --> C["config.yaml<br/>model_list"]
    C --> D
    D --> E["OpenAI / Anthropic / Gemini / etc."]
Loading

Last reviewed commit: 5b6e232

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

2 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@Sameerlite Sameerlite merged commit 0f2b086 into main Feb 16, 2026
17 of 70 checks passed
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.

Docs: Add OpenAI Agents SDK Guide with LiteLLM

1 participant