@devries-cameron20 / composio Mirror · read-only
Fork 0

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 21, 03:37 UTC

next
json 161 lines 6.72 KB
Raw
1 {
2 "libraryId": "/composiohq/composio",
3 "queries": [
4 {
5 "id": "python-install-current-sdk",
6 "query": "How do I install the current Composio Python SDK for OpenAI Agents, and which Python version is required?",
7 "source": "https://docs.composio.dev/docs/quickstart.md",
8 "expect": [
9 ["pip install", "uv add"],
10 ["composio"],
11 ["composio-openai-agents"],
12 ["openai-agents"],
13 ["Python 3.10"]
14 ]
15 },
16 {
17 "id": "typescript-install-current-sdk",
18 "query": "How do I install Composio for the OpenAI Agents SDK in TypeScript, and what Node.js version and module format does it require?",
19 "source": "https://docs.composio.dev/docs/quickstart.md",
20 "expect": [
21 [
22 "npm install @composio/core @composio/openai-agents @openai/agents",
23 "pnpm add @composio/core @composio/openai-agents @openai/agents",
24 "bun add @composio/core @composio/openai-agents @openai/agents",
25 "yarn add @composio/core @composio/openai-agents @openai/agents"
26 ],
27 ["Node.js 22.22.3"],
28 ["ESM-only"]
29 ]
30 },
31 {
32 "id": "python-initialize-api-key",
33 "query": "How do I import and initialize Composio in Python with an explicit project API key?",
34 "source": "https://docs.composio.dev/docs/authentication/manually-authenticating.md",
35 "expect": [["from composio import Composio"], ["Composio(api_key="]]
36 },
37 {
38 "id": "typescript-initialize-api-key",
39 "query": "How do I import and initialize the Composio TypeScript client with an explicit project API key?",
40 "source": "https://docs.composio.dev/docs/configuring-sessions.md",
41 "expect": [
42 [
43 "import { Composio } from '@composio/core'",
44 "import { Composio } from \"@composio/core\""
45 ],
46 ["new Composio({ apiKey:"]
47 ]
48 },
49 {
50 "id": "project-api-key-environment",
51 "query": "Which environment variable configures the Composio project API key, and how do I initialize the Python OpenAI Agents provider after loading dotenv?",
52 "source": "https://docs.composio.dev/docs/quickstart.md",
53 "expect": [
54 ["COMPOSIO_API_KEY"],
55 ["load_dotenv()"],
56 ["Composio(provider=OpenAIAgentsProvider())"]
57 ]
58 },
59 {
60 "id": "auth-config-versus-connected-account",
61 "query": "What is the difference between a toolkit auth config and a user's connected account, and how does the session manage connections?",
62 "source": "https://docs.composio.dev/docs/authentication.md",
63 "expect": [
64 ["auth config"],
65 ["credentials"],
66 ["connected account"],
67 ["COMPOSIO_MANAGE_CONNECTIONS"]
68 ]
69 },
70 {
71 "id": "python-connect-user-account",
72 "query": "How do I manually connect a user's Gmail account in a Python Composio session, display the Connect Link, and wait for authorization?",
73 "source": "https://docs.composio.dev/docs/authentication/manually-authenticating.md",
74 "expect": [
75 ["session.authorize(\"gmail\")"],
76 ["connection_request.redirect_url"],
77 ["connection_request.wait_for_connection("]
78 ]
79 },
80 {
81 "id": "typescript-connect-user-account",
82 "query": "How do I manually connect a user's Gmail account in a TypeScript Composio session, display the Connect Link, and wait for authorization?",
83 "source": "https://docs.composio.dev/docs/authentication/manually-authenticating.md",
84 "expect": [
85 ["await session.authorize(\"gmail\")"],
86 ["connectionRequest.redirectUrl"],
87 ["connectionRequest.waitForConnection("]
88 ]
89 },
90 {
91 "id": "python-create-session-tools",
92 "query": "How do I create a Composio tool-router session for my application's user in Python and obtain the session's framework-formatted tools?",
93 "source": "https://docs.composio.dev/docs/how-composio-works.md",
94 "expect": [
95 ["composio.sessions.create(user_id=", "composio.create(user_id="],
96 ["tools = session.tools()"]
97 ]
98 },
99 {
100 "id": "typescript-create-session-tools",
101 "query": "How do I create a Composio tool-router session for my application's user in TypeScript and obtain the session's framework-formatted tools?",
102 "source": "https://docs.composio.dev/docs/how-composio-works.md",
103 "expect": [["await composio.create("], ["await session.tools()"]]
104 },
105 {
106 "id": "execute-tools-through-session",
107 "query": "How should Python and TypeScript execute COMPOSIO_SEARCH_TOOLS through the session tool router rather than the direct tools execution path?",
108 "source": "https://docs.composio.dev/docs/how-composio-works.md",
109 "expect": [
110 ["session.execute(\"COMPOSIO_SEARCH_TOOLS\", arguments="],
111 ["await session.execute(\"COMPOSIO_SEARCH_TOOLS\","],
112 ["can only be called inside a tool-router session"]
113 ]
114 },
115 {
116 "id": "select-session-toolkits",
117 "query": "How do I restrict a Composio session to GitHub, Gmail, and Slack instead of exposing every toolkit, in Python and TypeScript?",
118 "source": "https://docs.composio.dev/docs/configuring-sessions.md",
119 "expect": [
120 [
121 "toolkits=[\"github\", \"gmail\", \"slack\"]",
122 "toolkits={\"enable\": [\"github\", \"gmail\", \"slack\"]}"
123 ],
124 [
125 "toolkits: [\"github\", \"gmail\", \"slack\"]",
126 "toolkits: { enable: [\"github\", \"gmail\", \"slack\"] }"
127 ]
128 ]
129 },
130 {
131 "id": "current-rest-api-base",
132 "query": "What is the current Composio REST API base URL for new integrations, and which header authenticates a project API key?",
133 "source": "https://docs.composio.dev/reference.md",
134 "expect": [["https://backend.composio.dev/api/v3.1"], ["x-api-key"]]
135 },
136 {
137 "id": "rest-latest-version-defaults",
138 "query": "On Composio REST v3.1, what happens when the toolkit version is omitted on GET /tools, GET /tools/{tool_slug}, POST /tools/execute/{tool_slug}, POST /tools/execute/{tool_slug}/input, and POST /tools/scopes/required?",
139 "source": "https://docs.composio.dev/reference.md",
140 "expect": [
141 ["latest toolkit version"],
142 ["v3.1"],
143 ["GET /tools/{tool_slug}"],
144 ["POST /tools/execute/{tool_slug}/input"],
145 ["POST /tools/scopes/required"],
146 ["toolkit_versions"]
147 ]
148 },
149 {
150 "id": "rest-explicit-pinned-version",
151 "query": "How do I preserve the old Composio REST v3 pinned toolkit version when calling v3.1, and does the previous v3 API remain supported?",
152 "source": "https://docs.composio.dev/reference.md",
153 "expect": [
154 ["00000000_00"],
155 ["remains supported"],
156 ["/api/v3"],
157 ["version", "toolkit_versions"]
158 ]
159 }
160 ]
161 }