Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Update readme.md

haxzie406ee8379886
diff --git a/README.md b/README.md
index dccd69b1b..7d917018c 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,23 @@ The core Composio SDK which allows users to interact with the Composio Platform.
- **ActionExecution**: Track and manage the execution of actions within the platform.
+## Usage
+To use the composio tools with your Provider, please install the recommended packages along with `@composio/core`.
+
+```
+import { Composio } from "@composio/core";
+import { OpenAIToolset } from "@composio/openai-toolset";
+
+
+const composio = new Composio({
+ apiKey: process.env.COMPOSIO_API_KEY,
+ toolset: new OpenAIToolset(),
+});
+
+const tool = await composio.getTool("HACKERNEWS_SEARCH_POSTS");
+console.log(tool);
+```
+
## Creating a new toolset
To create a new Toolset, you need to extend the `BaseComposioToolset<YourToolType>` and implement the `_wrapTool` method to return the tool type of your choice.