Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /91_tools /composio_tools.py
| """ | |
| Composio Tools | |
| ============================= | |
| Demonstrates composio tools. | |
| """ | |
| from agno.agent import Agent | |
| from composio_agno import Action, ComposioToolSet | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| toolset = ComposioToolSet() | |
| composio_tools = toolset.get_tools( | |
| actions=[Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER] | |
| ) | |
| agent = Agent(tools=composio_tools) | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| agent.print_response("Can you star agno-agi/agno repo?") | |
Xet Storage Details
- Size:
- 769 Bytes
- Xet hash:
- ba897ad21facd881cf3fc94d02da6dfc472f97ad13327b146af2e2a7611120a5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.