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

next
ts 17 lines 344 Bytes
Raw
1 import { Composio } from '@composio/core';
2
3 const composio = new Composio({
4 apiKey: process.env.COMPOSIO_API_KEY,
5 });
6
7 const session = await composio.create('userId', {
8 experimental: {
9 assistivePrompt: {
10 userTimezone: 'America/New_York',
11 }
12 }
13 })
14
15 const prompt = session.experimental?.assistivePrompt;
16
17 console.log({ prompt })