KosmoKrator

ai

Together AI CLI for Coding Agents

Use the Together AI CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write API key auth

Together AI CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Together AI CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Together AI CLI for Coding Agents
kosmokrator integrations:configure together-ai --set api_key="$TOGETHER_AI_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call together-ai.togetherai_list_models '{}' --json

Discovery Before Execution

Agents and scripts can inspect Together AI docs and schemas before choosing a function.

kosmo integrations:docs together-ai --json
kosmo integrations:docs together-ai.togetherai_list_models --json
kosmo integrations:schema together-ai.togetherai_list_models --json
kosmo integrations:search "Together AI" --json
kosmo integrations:list --json

Useful Together AI CLI Functions

FunctionTypeParametersDescription
together-ai.togetherai_list_models Read none List all available AI models on Together AI, including open-source and fine-tuned models. Returns model IDs, types, pricing, and capabilities.
together-ai.togetherai_create_completion Write model, messages, max_tokens, temperature, top_p, top_k, frequency_penalty, presence_penalty, stop Create a chat completion using a Together AI model. Send a conversation with messages and receive a generated response. Supports models like Llama, Mixtral, Qwen, DBRX, and more.
together-ai.togetherai_list_fine_tunes Read none List all fine-tuning jobs on Together AI. Returns job IDs, status, base model, training file, and creation timestamps.
together-ai.togetherai_get_fine_tune Read fine_tune_id Get details of a specific fine-tuning job on Together AI. Returns status, training progress, hyperparameters, and the output model ID once complete.
together-ai.togetherai_list_files Read none List all files uploaded to Together AI. Returns file IDs, filenames, sizes, and purposes (e.g. fine-tune training data, results).
together-ai.togetherai_get_file Read file_id Get details of a specific file on Together AI. Returns file metadata including name, size, purpose, and creation date.
together-ai.togetherai_get_current_user Read none Get the authenticated Together AI user's account information, including name, email, and plan details.

Automation Notes

Related Together AI CLI Pages