Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agno.com/llms.txt

Use this file to discover all available pages before exploring further.

ComposioTools enable an Agent to work with tools like Gmail, Salesforce, Github, etc.

Prerequisites

The following example requires the composio-agno library.
uv pip install composio-agno
composio add github # Login into Github

Example

The following agent will use Github Tool from Composio Toolkit to star a repo.
cookbook/14_tools/composio_tools.py
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)
agent.print_response("Can you star agno-agi/agno repo?")

Toolkit Params

The following parameters are used when calling the GitHub star repository action:
ParameterTypeDefaultDescription
ownerstr-The owner of the repository to star.
repostr-The name of the repository to star.

Toolkit Functions

Composio Toolkit provides 1000+ functions to connect to different software tools. Open this link to view the complete list of functions.