Holiday offer: Vois Studio Pro for $15 a month and a free copy of The Ghost Audio MethodSee Pro
Vois
Back to BlogTTS and AI Voices

How AI Agents Control Your Voice Studio With vois-cli

Vois TeamVois Team
•
March 18, 2026
•
15 min read

TLDR:vois-cli generates audio from the terminal on paid plans (Pro and AppSumo Lifetime Tier 2 or 3). It has --format json for scripts and agents. On all plans, Free included, vois-cli speak --follow --play speaks the output of an agent with a Sonic voice and does not save audio. Since 2.5, the CLI can also operate a headless Vois Studio and manage the license.

Last change: 20 October 2026, for Vois Studio 2.6.0.

vois-cli is the command line tool of Vois Studio for local text to speech. On paid plans, it generates audio with one of the six engines from a terminal, a script or an AI agent. It has --format json for results that a script can read. On all plans, Free included, vois-cli speak --follow --play speaks the output of an AI agent on your computer.

This post gives more data about one chapter of the full Vois Studio guide. See the command line chapter here:

It is easy to make errors when an agent does the voice production. An agent can generate a folder of files in minutes. But you want a local project with approved scripts and selected voices. The exports must be correct for the location where you release the audio.

Vois Studio gives an agent a controlled method to get that result. All work is on your computer. With the CLI, an agent can make projects, prepare scripts, generate approved audio, and export with the selected export profile. Your scripts and audio stay on the same computer.

Thus, do not give an agent a large number of terminal commands that are possibly not correct. Give it the Vois Studio skills, and tell it to prepare a plan for the workflow. The person in control of the result must keep the approval of the voice, the script and the export.

For which tasks do you use the CLI?

The CLI is part of Vois Studio. It sends instructions to Vois Studio on the same computer, in the desktop app or in the headless service. It uses a local connection that only your user account on the computer can open. Vois Studio does the generation, controls the projects and makes the changes to the audio. The agent does the instructions that you use again and again.

The table shows the work that the agent can do in each part of the production workflow:

Area Tasks that the agent can prepare or operate after your approval
Audio generation Make draft clips and voice previews, and generate approved script sections in groups
Control of voices Examine the library and manage approved clones
Projects and scripts Make local projects, import text, and set the structure of speakers
Production Manage timeline data and select a mastering profile
Export Make WAV, MP3, or AAC/M4A files for the destination that you select
Pronunciation Recommend and update the pronunciation entries of the project
Voice output for AI agents Speak a status update or a summary on your computer

Because the agent can do many tasks, the skill files are important. An agent that read the skill files for this version can find the commands of the installed CLI. It does not use syntax that it does not know, and it does not think that a cloud API is available. vois-cli --help prints each flag and exit code for the version that you installed.

Which plans include it?

Plan Access to the CLI
Free vois-cli speak --follow --play, and the status, license and service commands. With purchased export credits, a set of generation and export commands that use these credits
Pro Full CLI access
AppSumo Lifetime Tier 2 and 3 Full CLI access
AppSumo Lifetime Tier 1 vois-cli speak --follow --play only

The engine limits and the plan limits also apply to the CLI. Omni, Craft and Voice Design are available only on Pro, and voice cloning is available only on a paid plan. A minimum of one time each day, Vois Studio connects to the internet and makes sure that you have a paid plan. If this connection is not possible, the CLI tells you to connect your computer to the internet. Then try again.

Clay toolbox that shows command line tools

Which engines can the CLI use?

Give the engine with --engine (or --quality). The CLI and its JSON output use these IDs as the names of the engines:

Engine --engine value Languages
Sonic sonic 31, the ten Sonic voices
Fast fast 5
Expressive expressive English
Multilingual multilingual 23
Craft craft 10
Omni omni 30

Know these two items. First, the CLI does not use the engine that you selected in the app. Give --engine or set engine in cli.toml. If you do not, tts generate uses the expressive preset. Vois Studio then selects the engine from the preset, the voice and the language.

Second, only Craft and Omni use --instruct, a direction in clear words for the voice. Expressive uses the reaction tags that you write in the text.

vois-cli tts generate --text "The secret is the broth." --engine craft \
  --voice <voice-id> --language English \
  --instruct "quiet, like sharing a secret" --output close.wav

Craft uses library voices, cloned voices that have a transcript and saved designs. For Sonic, use --voice with one of its ten voices (sonic_cedar is the default). If you tell an engine to use a language that it does not speak, the engine does not generate audio and shows a message. The CLI does not automatically change to a different engine.

A terminal with the command vois-cli tts generate, a library voice, the Omni engine, an instruct direction, and the OK Generated result

Get the accurate voice IDs with vois-cli voice list --source all --format json. Do not write voice IDs from memory.

How do you get JSON output?

You can add --format json (or -f json) to all commands:

vois-cli status --format json

You get one JSON document on stdout. Warnings that do not stop the command go to stderr. All errors use the same JSON envelope, and the exit code continues to show the problem.

For example, the exit code is 2 when Vois Studio does not operate, and 7 when the plan does not include the command. It is 64 when the language of a short or mixed text is not clear.

The other values are human and quiet. human is the default, with tables and a spinner. quiet gives only the exit status. You can also set VOIS_FORMAT or format in cli.toml.

How does vois-cli speak operate?

Pipe the output of an agent into vois-cli speak --follow --play. Vois Studio then speaks the output on this computer with a Sonic voice. It speaks one phrase at a time while the text comes in:

printf 'Build finished. Two tests need you.\n' | vois-cli speak --follow --play
  • All plans, Free included, after the registration of Vois Studio or the activation of a license. Without a license, vois-cli speak stops. It tells you to complete the registration or to use vois-cli license activate.
  • No limit for each day. vois-cli speak does not count in the 10 generations each day of Free.
  • It plays audio and does not save it. It does not make a file, and it does not send audio to stdout. To save Sonic audio as a file, use vois-cli tts generate --engine sonic --output <path>.
  • Sonic voices only. Use --voice with one of the ten Sonic voices. Library, cloned and designed voices do not operate here.
  • Language. Use auto, or give --language English (or one of the other 31 languages of Sonic). Vois Studio holds a short text at the start, for example "Hi Praney.", and finds its language together with the text that follows. If the language is then not clear, the operation stops with exit 64.

If you stop a generation in Vois Studio, vois-cli speak does not stop. vois-cli tts cancel also does not stop it. For a full procedure, read the tutorial about spoken status from the CLI.

Which changes did 2.5 add?

Vois Studio 2.5.0 (11 October 2026):

  • Sonic on the CLI. tts generate and tts batch-file accept --engine sonic. They use Cedar unless you give the name of a different Sonic voice. model list, model status, model download and model switch include Sonic.
  • Voice output for AI agents, vois-cli speak --follow --play, as given above.
  • Headless service. vois-cli service start, vois-cli service status and vois-cli service stop operate Vois Studio without a window. Use them when no user session is open in the desktop app. They are for agents that assemble software, for remote shells and for scheduled tasks.
  • License from the terminal. vois-cli license activate, vois-cli license status and vois-cli license deactivate manage the license on a computer with no license window. Pipe the key in (vois-cli license activate < key.txt). Then the key does not go into your shell history.
  • The same engine IDs in all locations. The CLI and its JSON use only these names for engines: fast, expressive, multilingual, omni, sonic and craft. The previous names also operate as input. You must update the scripts that read the previous JSON keys. The CLI skill and vois-cli --help have the names that apply at this time.
  • Clear messages when the CLI stops a command. vois-cli voice clone must have --transcript, the words of the recording with no changes. New exit codes are for a full Sonic queue (10) and for memory that is not sufficient (11). Other new exit codes are for a model download that did not complete (12) and for a canceled task (130).

2.5.1 to 2.5.2: After a day offline, the CLI does not tell you that access is not available on a plan that includes it. It examines your plan first. If you stop a generation in the app, vois-cli speak and CLI generations continue. Ctrl-C in one CLI command does not cancel a different command. On Windows, Vois Studio does not crash when you start vois-cli speak again after it found no audio output device.

2.6.0: vois-cli export audio --normalize uses the loudness that you saved with vois-cli mastering set. Exports tell you which loudness they used.

Give the agent the correct instructions

Vois Studio releases an Agent Skills discovery index that agrees with the applicable standards. The index gives SHA-256 digests for two skills for agents:

  • Full CLI archive, with the primary skill, the list of commands, and the guide to script syntax. You can examine the CLI skill source. It is about installation, local connection requirements, command groups, output, errors, and production procedures.
  • The guide for dialogue scripts. It is about spoken scripts that read correctly when a person speaks them, speaker tags, speed, and dialogue formats.

Prompt for your agent: "Read the Vois CLI and dialogue-writing skills. Examine the local Vois Studio app that operates at this time, and write a production plan for my project. Include the project structure, the speaker assignments, the voice candidates, a preview plan, and an export profile. Do not change my shell configuration. Do not make voices, generate audio, or export files until I give approval for the plan."

Expected result: a short plan with the local project name, a script outline and the voice IDs that the agent recommends. The plan also has one short preview line for each speaker and an export target.

Examine and give approval:

  1. Make sure that Vois Studio operates and that the agent found the CLI that Vois Studio includes. The agent must not change your system configuration.
  2. Before generation starts, examine the script, the approved voice sources, and the destination that the agent recommends.
  3. Give approval for short previews. Then listen to each preview in Vois Studio and select the voice assignments.
  4. Give approval for batch generation only after the previews are correct. Then examine the mastered export before you send it to other persons.

With this procedure, the agent does the work that you give it. But it cannot make decisions about the content or about the items that you release.

Clay podcast microphone for the example of a podcast series

An example: a podcast series

Think of this example. You want five episodes about how a new company gets finance. Each episode has one host, and the voice of the host stays the same in all episodes. First, the agent reads the guide for dialogue scripts and writes spoken scripts with paragraph breaks in the correct positions. Then it reads the CLI skill and prepares a plan. The plan has one local project, five scripts, a possible voice for the host, preview clips, and an Apple Podcasts export profile.

You examine the scripts and give approval for one short preview of the host. When the preview is correct, the agent makes the project content and generates the approved episodes. It does not do this before. The clips stay in the Vois Studio project. There, you can examine the timeline, listen to the speed, and give approval for the last mastered exports.

This is the correct limit for automation. The agent does the tasks that you do again and again. You select the words, the voice, and the items that you release. vois-cli speak has the same limit: the agent can speak the words "Episode three is ready for review", and you examine the episode.

Set up the CLI and let the agent find the commands

Install Vois Studio and open it. The included CLI is a local remote control for Vois Studio on your computer. It is not a different voice service on the servers of a company. If your agent must have terminal access, let the CLI skill for this version help it. The skill tells the agent how to find the binary that Vois Studio includes and how to examine the local connection.

Prompt for your agent: "Read the current Vois CLI skill. Examine if the bundled CLI can make a connection to Vois Studio on this computer. Tell me the installation location and the connection result. Do not make aliases, change PATH, operate privileged commands, or generate audio unless I give approval for each of those actions."

Expected result: a read-only setup report. The report tells if the agent can connect to Vois Studio and which items the agent must have next. It also tells if an optional local configuration change is necessary.

Examine and give approval:

  1. Make sure that the report is about a local connection to Vois Studio on this computer.
  2. If the agent recommends an optional shell configuration change, examine the change before you let the agent do it.
  3. Give approval for the voice and the text. Then tell the agent to make one temporary preview.
  4. Before you use the CLI in a larger workflow, listen to that preview in your usual player.

On a computer with no desktop session, the agent can start the headless service with vois-cli service start. The agent then does not open the app. Only one of the two operates the connection at one time.

Which tasks stay in the app?

The CLI is good for production that you do again and again: groups of lines, projects, scripts, speaker assignments, and exports. Some decisions are easier when the visual studio is open. In the app, you can put clips in position while you listen, and you can examine waveforms. You can also trim the clips, adjust their positions and make the last decisions about the content on the timeline.

We divide the work between the CLI and the app for a cause. A coding agent can remove setup tasks that you do again and again. Vois Studio keeps the inspection of the production in the location where you can hear the audio that the listeners will hear.

Keep a small report of the approvals with the project. Record the last script, the selected voice IDs, the preview decision, the mastering profile, and the export destination. This report gives the next batch a clear start. Then an agent cannot use a previous test as a decision to release.

Start with a small approved task

Do not start with a batch of fifty episodes. Give the agent one paragraph, one approved library voice, and one file destination. Examine the sample.

If the sample is correct, use the plan again for the next project. If it is not correct, adjust the script or the voice before you make more files. If you do not, a small error can go into many files.

Read the guide to CLI automation, then start.

Related

Start with one paragraph, one voice and one file. Give this task to your agent first, this week.

The Vois Team

Frequently Asked Questions

Can Claude Code or Cursor control Vois Studio directly?

Yes, if the agent can operate the installed CLI on the same computer as Vois Studio, with the same user account. A chat-only or remote agent can read the skill. But it cannot get access to the local connection without a local command tool that you approved for this task.

Does the Vois CLI operate when the desktop app is not open?

Yes, since 2.5.0. vois-cli service start operates Vois Studio without a window. Use it for agents, for computers that assemble software and for scheduled tasks. vois-cli service stop stops it. For most commands, the desktop app or the headless service must operate.

Which plans include the CLI?

Pro and AppSumo Lifetime Tier 2 and 3 include general CLI access. The Subscriber plan is not available to new customers, and current Subscriber plans also include it. AppSumo Lifetime Tier 1 does not include it. On Free, vois-cli speak --follow --play operates. A Free account with purchased export credits gets CLI access that uses these credits.

How do you get output from vois-cli that a script can read?

You can add --format json to all commands. The command then prints one JSON document on stdout, and all errors use the same JSON envelope. The exit codes do not change. Thus, a script can examine the JSON and the exit code.

Which voice does vois-cli speak use?

A Sonic voice, Cedar by default. To use a different one of the ten Sonic voices, for example sonic_ember, give --voice and the name of the voice. Library, cloned and designed voices do not operate with speak. The voice plays on your computer, and the CLI does not save it.

CliAutomationTutorialsWorkflowAi Voices
Share:
Vois Team

Written by

Vois Team

Team

The Vois team makes Vois Studio, the AI voice production studio.