Custom Actions are powerful building blocks that enable you to create custom functionality while running independently. They can handle everything from simple data processing to complex third-party integrations.

Creating a Custom Tool without Authentication

1

Import necessary modules

2

Creating a custom action

3

Executing the Custom Action

Executing the custom action without Agents (it can be used with agents too)

Output from executing Custom Action

Why Use Custom Tools or Actions?

Custom Tools or Actions provide several advantages:

  • Data privacy: Execution happens on the user’s machine, ensuring sensitive data doesn’t leave the local environment
  • Flexibility: Users can create and customize as many tools and actions as needed
  • Compatibility: Custom actions can be integrated seamlessly across various Composio-supported platforms