Prerequisites
The following example requires thecomposio-agno library.
Example
The following agent will use Github Tool from Composio Toolkit to star a repo.cookbook/tools/composio_tools.py
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You are viewing v1 docs. For the latest documentation, visit docs.agno.com
composio-agno library.
pip install composio-agno
composio add github # Login into Github
from agno.agent import Agent
from composio_agno import Action, ComposioToolSet
toolset = ComposioToolSet()
composio_tools = toolset.get_tools(
actions=[Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER]
)
agent = Agent(tools=composio_tools, show_tool_calls=True)
agent.print_response("Can you star agno-agi/agno repo?")
| Parameter | Type | Default | Description |
|---|---|---|---|
owner | str | - | The owner of the repository to star. |
repo | str | - | The name of the repository to star. |
Was this page helpful?