Skip to content

Add tool calling for Openai (compatiable) agent and then using Openai (compatiable) agent as SupervisorAgent (python)#364

Open
ycysuk wants to merge 7 commits into2FastLabs:mainfrom
ycysuk:patch-2
Open

Add tool calling for Openai (compatiable) agent and then using Openai (compatiable) agent as SupervisorAgent (python)#364
ycysuk wants to merge 7 commits into2FastLabs:mainfrom
ycysuk:patch-2

Conversation

@ycysuk
Copy link
Copy Markdown

@ycysuk ycysuk commented Jul 25, 2025

Issue Link (REQUIRED)

Fixes #363

Summary

Changes

Add tool calling for Openai (compatiable) agent :

python/src/agent_squad/types/types.py
python/src/agent_squad/utils/tools.py
python/src/agent_squad/agents/openai_agent.py

Using Openai (compatiable) agent as SupervisorAgent:
python/src/agent_squad/agents/supervisor_agent.py

and also modified an OpenAIAgent as SupervisorAgent demo:
examples/supervisor-mode/openaiagent-as-supervisoragent-demo

User experience

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented
  • I have linked this PR to an existing issue (required)
Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

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.

Feature request: Tool calling for Openai (compatiable) agent and using Openai (compatiable) agent as SupervisorAgent (python)

1 participant