ai
Together AI CLI for Cron Jobs
Use the Together AI CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Together AI CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. 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 Cron Jobs
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
| Function | Type | Parameters | Description |
|---|---|---|---|
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
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.