Skip to content

Configuration ​

You change almost everything in the console: global settings in the ⚙️ menu, project settings in the 🎛️ menu. VideoAgents saves them as files in its data folder. A small set of environment variables, read once at startup, controls the rest: ports, folders, agent permissions and a few safety features.

Where settings are saved ​

Everything lives in the data folder:

How you run VideoAgentsData folder
Desktop app on macOS~/Library/Application Support/@videoagents/desktop/data/
From sourcedata/ in the repository
File or folderWhat it holdsChanged from
.videoagents/genconfig.jsonGeneration providers, models and their API keys⚙️ → Generation Models
.videoagents/state.jsonGlobal switches: interface language, auto-run idle time and threshold, agent advanced settings, Resource Usage settings (including any keys entered there), enabled plugins, disabled skills⚙️ → Auto-Run, ⚙️ → Resource Usage, ⚙️ → Advanced → Agent Advanced Settings, ⚙️ → Plugins, and others
.videoagents/agentmodels.jsonPer-agent engine and model choicesModel in the chat header, Smart Assignment
.videoagents/feishu.json, wechat.json, whatsapp.jsonMobile messaging links⚙️ → Advanced → Mobile Messages
.videoagents/chats/Chat histories, per project and agentThe chat panel
.videoagents/runtime.sqlite3Runs, confirmations and the event logThe Run Panel
projects/<name>/settings.jsonProject settingsThe 🎛️ menu
projects/<name>/brief.mdCreative brief and narrative rhythm🎛️ → Creative Brief, Video Rhythm
plugins/, skills/Plugins and skills you installed⚙️ → Plugins, an agent's Skill dialog

WARNING

genconfig.json and state.json can contain API keys in plain text, and the chats and projects are your private work. Don't share the .videoagents/ folder or commit data/ to Git.

Edit these files by hand only while VideoAgents is stopped, and keep a copy first. The console is the supported way to change them.

Environment variables ​

VideoAgents doesn't read a .env file. Set variables in the shell that starts it. .env.example in the repository lists the common ones.

bash
# macOS / Linux
VIDEOAGENTS_PORT=8650 videoagents-web
powershell
# Windows PowerShell
$env:VIDEOAGENTS_PORT = "8650"; videoagents-web

The desktop app passes its environment on to its service, with the exceptions noted in the tables: it always listens on 127.0.0.1, picks free ports unless you set them, and uses its own data folder unless you set VIDEOAGENTS_DATA_DIR.

Network and ports ​

VariableDefaultEffect
VIDEOAGENTS_HOST127.0.0.1Address the console listens on. Read Security and LAN access before changing it.
VIDEOAGENTS_PORT8630Console port.
VIDEOAGENTS_WEB_HOST, VIDEOAGENTS_WEB_PORTThe two aboveOverride host and port for the console only. The desktop app always uses 127.0.0.1 and a free port.
VIDEOAGENTS_API_PORT8640Port of the internal API service the console starts. It always listens on 127.0.0.1.
VIDEOAGENTS_API_URL—Use an API service that is already running at this address instead of starting one.
VIDEOAGENTS_START_APIOn, unless VIDEOAGENTS_API_URL is setWhether the console starts its own API service.
VIDEOAGENTS_DRAW_HOST, VIDEOAGENTS_DRAW_PORT0.0.0.0, console port + 1The page phones open to sketch a storyboard. VIDEOAGENTS_DRAW_PORT=0 turns it off.
VIDEOAGENTS_LAN_IPDetectedThe computer's address used in the sketch QR code. Set it when the code shows a VPN or proxy address.
VIDEOAGENTS_FILM_PORTConsole port + 2The motion graphics code preview. 0 turns it off; a busy port falls back to a free one.

Folders ​

VariableDefaultEffect
VIDEOAGENTS_DATA_DIRSee the table aboveThe whole data folder: projects, settings, plugins, skills. The desktop app also honours it.
VIDEOAGENTS_RUNTIME_DIR<data folder>/.videoagentsSettings, chats and run state only.
VIDEOAGENTS_PLUGINS_DIR<data folder>/pluginsWhere uploaded plugins go.
VIDEOAGENTS_SKILLS_DIR<data folder>/skillsWhere skills you load go.

Agents and engines ​

VariableDefaultEffect
VIDEOAGENTS_PERMISSION_MODEacceptEdits from source; bypassPermissions in the desktop app and with make run-auto or ./run.shPermission mode for agents on the Claude Code engine. bypassPermissions lets them run any command without asking. See Security and LAN access.
CLAUDE_BIN, CODEX_BIN, KIMI_BIN, PI_BIN, OPENCODE_BIN, GROK_BIN, AGY_BINFound on PATHPath to an engine's command when it isn't on PATH.
VIDEOAGENTS_NODEnode on PATHNode.js used to run the built-in Agentics engine from source.
AGENTICS_CONTEXT_WINDOW128000Context window declared for the Agentics engine's model.
AGENTICS_MAX_OUTPUT_TOKENS65536 (8192 for a local model)Output limit for the Agentics engine. Raise it only if the model server allows more.
VIDEOAGENTS_NET_RETRY_LIMIT0How many connection drops a Claude Code run may retry before it is stopped as a network failure. 0 stops at the first one.
VIDEOAGENTS_ENABLE_CLAUDE_USAGE_PROBEfalseLets VideoAgents read your local Claude sign-in to show usage in Resource Usage. It also turns on when Claude Code is the top-bar engine or when you tick it in ⚙️ → Resource Usage.

Project snapshots ​

Before an agent starts, VideoAgents copies the project outside the data folder so you can recover from accidental deletes (from v1.0.43).

VariableDefaultEffect
VIDEOAGENTS_SNAPSHOTOn0 turns snapshots off.
VIDEOAGENTS_SNAPSHOT_DIRmacOS: ~/Library/Application Support/VideoAgents-Snapshots; Windows: %LOCALAPPDATA%\VideoAgents-Snapshots; others: ~/.local/share/videoagents-snapshotsWhere snapshots go. It must be on the same drive as the projects, or snapshots are skipped.
VIDEOAGENTS_SNAPSHOT_INTERVAL1800Seconds before the same project is snapshotted again.
VIDEOAGENTS_SNAPSHOT_KEEP3Newest snapshots kept per project, plus the newest of each day…
VIDEOAGENTS_SNAPSHOT_DAYS7…within this many days. Older ones are removed.

See Command line to restore one.