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 10 lines 428 Bytes
Raw
1 import { Argument, Command } from 'effect/cli';
2 import { runAgentLogin } from './agent.login.handler';
3
4 const composioAgentKey = Argument.String('composio_agent_key').pipe(
5 Argument.withDescription('Composio agent key for an existing agent identity')
6 );
7
8 export const agentCmd$Login = Command.make('login', { composioAgentKey }, runAgentLogin).pipe(
9 Command.withDescription('Log in with an existing Composio agent key.')
10 );