Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 22:00 UTC
fix: grammar
balyan.sid@gmail.com committed
Jul 3, 2025 at 18:07 UTC
58cdbb5e8cccfdc67bb267b34937f1b31b92c4eb
2 files changed
+6
-5
fern/pages/src/providers/py-custom.mdx
+3
-2
@@ -158,7 +158,8 @@ from composio.core.provider import AgenticProvider, AgenticProviderExecuteFn
158
from composio.types import Tool
159
from my_provider import AgentTool
160
161
-# Import the Tool/Function class represents a callable tool for your framework. Optionally define your tool format
161
+# Import the Tool/Function class that represents a callable tool for your framework
162
+# Optionally define your custom tool format below
163
# class AgentTool:
164
# def __init__(self, name: str, description: str, execute: Callable, schema: dict):
165
# self.name = name
@@ -170,7 +171,7 @@ from my_provider import AgentTool
171
AgentToolCollection: TypeAlias = List[AgentTool]
172
173
# Create your provider
173
-class MyAgentProvider(AgenticProvider[AgentTool, list[AgentTool]], name="my-agent-platform"):
174
+class MyAgentProvider(AgenticProvider[AgentTool, List[AgentTool]], name="my-agent-platform"):
175
"""Custom provider for My Agent Platform"""
176
177
def wrap_tool(self, tool: Tool, execute_tool: AgenticProviderExecuteFn) -> AgentTool:
python/scripts/create-provider.sh
+3
-3
@@ -52,7 +52,7 @@ cat > "$PROVIDER_PATH/pyproject.toml" << EOL
52
[project]
53
name = "$PACKAGE_NAME"
54
version = "0.1.0"
55
-description = "${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in Composio SDK"
55
+description = "${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in the Composio SDK"
56
readme = "README.md"
57
requires-python = ">=3.10,<4"
58
authors = [
@@ -85,7 +85,7 @@ setup(
85
python_requires=">=3.10,<4",
86
author="Your Name",
87
author_email="you@example.com",
88
- description="${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in Composio SDK",
88
+ description="${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in the Composio SDK",
89
long_description=open("README.md").read(),
90
long_description_content_type="text/markdown",
91
url="https://github.com/composio/composio",
@@ -378,7 +378,7 @@ fi
378
cat > "$PROVIDER_PATH/README.md" << EOL
379
# $PACKAGE_NAME
380
381
-${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in Composio SDK.
381
+${IS_AGENTIC:+Agentic }Provider for ${TITLE_CASE_PROVIDER_NAME} in the Composio SDK.
382
383
## Features
384