Skip to content

add exports of AgentTool, AgentTools in index.ts #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2025

Conversation

PPraneesh
Copy link
Contributor

Issue Link #311

Fixes #311

Summary

Changes

This PR adds missing exports for AgentTool and AgentTools from the TypeScript SDK. While the documentation describes how to use AgentTool for adding custom tools to a SupervisorAgent, the package's index.ts file does not export AgentTool, making it inaccessible to users importing from the SDK directly.

This change ensures that developers can now follow the documented examples without encountering missing export errors.

User experience

Before:
Users trying to use AgentTool (as per the documentation) would encounter errors due to it not being exported from the SDK.

After:
AgentTool is now correctly exported, allowing users to implement custom tools in their multi-agent workflows as shown in the documentation.

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.

@cornelcroi cornelcroi merged commit e0d9805 into awslabs:main May 7, 2025
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.

Agent Tools and Agent Tool is Missing from the exported functions of "multi-agent-orchestrator"
2 participants