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, 08:30 UTC
docs: route agents directly to Session SDK references
Brendan O'Leary committed
Oct 20, 2026 at 16:57 UTC
7293420b767b2ab83f8602e55c9ac44965b040c0
2 files changed
+21
-1
docs/app/llms.txt/route.ts
+9
@@ -38,6 +38,15 @@ If it is unclear whether the goal is to integrate Composio into the application
38
- [Troubleshooting](https://docs.composio.dev/kb.md): Diagnose authentication, connection, and execution failures.
39
- [Production rate limits](https://docs.composio.dev/reference/rate-limits.md): Plan for request limits before deployment.
40
41
+## Session SDK reference
42
+
43
+- [TypeScript session creation and reuse](https://docs.composio.dev/reference/sdk-reference/typescript/sessions.md): Look up the exact \`sessions.create()\` and \`sessions.use()\` signatures.
44
+- [TypeScript Session methods and results](https://docs.composio.dev/reference/sdk-reference/typescript/session.md): Look up \`tools()\`, \`search()\`, \`execute()\`, \`update()\`, and returned properties.
45
+- [Python Session methods and results](https://docs.composio.dev/reference/sdk-reference/python/session.md): Look up Python argument names, return types, and examples.
46
+- [Session configuration examples](https://docs.composio.dev/docs/configuring-sessions.md): Find language-specific create options and update behavior.
47
+
48
+Fetch these Markdown pages directly for exact call shapes; search-result summaries may omit code. Use the installed package's version-matched reference when it differs from the current website.
49
+
50
## API Reference (v3.1, current)
51
52
- [Current REST API](https://docs.composio.dev/reference.md): Use the current base URL and browse endpoint groups.
skills/composio/references/platform.md
+12
-1
@@ -99,10 +99,21 @@ tools = session.tools()
99
100
Both SDKs also expose `composio.sessions.create(...)`; do not teach an artificial TypeScript/Python asymmetry. The SDK reads `COMPOSIO_API_KEY` from the environment, so do not pass it inline.
101
102
-For a multi-turn conversation, persist the returned session ID and resume it instead of creating a fresh session on every message. Confirm current method names against `configuring-sessions.md` before writing production code.
102
+For a multi-turn conversation, persist the returned session ID and resume it instead of creating a fresh session on every message. Use the [Session API lookup](#look-up-the-session-api) below for exact method names and configuration shapes.
103
104
Pass the session tools to the repository's existing model or agent using its native tool integration. Preserve the current prompt, model, streaming, and request lifecycle unless tools require a targeted change.
105
106
+### Look up the Session API
107
+
108
+Fetch the relevant Markdown page directly when you need an exact signature, option shape, or return type. Search-result summaries can omit code:
109
+
110
+- [TypeScript creation and reuse](https://docs.composio.dev/reference/sdk-reference/typescript/sessions.md)
111
+- [TypeScript Session methods and results](https://docs.composio.dev/reference/sdk-reference/typescript/session.md)
112
+- [Python Session methods and results](https://docs.composio.dev/reference/sdk-reference/python/session.md)
113
+- [Create options and configuration updates in both languages](https://docs.composio.dev/docs/configuring-sessions.md)
114
+
115
+Check the installed SDK version first. Prefer its bundled reference for that version when it differs from the current website. API discovery does not require constructing a client, providing an API key, or calling the backend. Public Session types can retain the former `ToolRouter` name; follow their definitions rather than guessing a renamed import.
116
+
117
## Choose tools and authentication behavior
118
119
For Instant Tools, read https://docs.composio.dev/docs/instant-tools.md before choosing authentication or usage settings. Use that guide for current eligibility, pricing, project access, Session controls, account routing, and charge reporting.