VELADocsvelab.si ↗

Vela documentation

Vela is a self-hosted AI coworker for your team’s group chats. You run it on your own machine with the model you choose; Lark ships built in. It is built on a terminal agent and TypeScript SDK. In a group chat it answers short questions, opens a topic for each larger task and keeps that topic’s progress up to date. On its own, the same agent takes a task and a working folder, and reads files, runs commands, edits code and searches until the task is done.

Run Vela in group chats

  • Channels: enabling chats, topics, schedules, costs and permissions.
  • Deploy: run vela daemon run under a dedicated user.
  • Security: what a chat member can make Vela do, and how to limit it.

Use Vela in your terminal

New to Vela? Follow the Quickstart to install it, connect a model and run your first task.

  • CLI: options, run modes, keybindings and slash commands.
  • Models: built-in providers, providers config, thinking levels and the offline demo model.
  • Settings: config.json, the data directory, project trust, AGENTS.md, skills and prompt templates.
  • Tools: the built-in tools the model can call.
  • Sessions and context: continuing sessions, queued messages and compaction.
  • Upgrading to v0.9: unified config.json, tool renames, and removed v0.8 options.

Automate or embed Vela

  • JSON mode streams the events of one run as JSON lines.
  • The SDK embeds Vela in your application (createRuntime()) or connects over the local daemon socket with connectRuntime(); Packages describes the package exports.

Extend Vela

  • Extensions: add tools, slash commands, model providers and channels, and hook into the agent loop.
  • Built-in extensions: memory, web, Lark and MCP.
  • MCP servers: connect Model Context Protocol servers and use their tools.
  • Channels reference: writing a channel, the gateway lifecycle, custom transports, external events and SDK host access.
  • Testing: test extensions and SDK code offline with the faux model.
  • Session format: the SQLite session model and JSONL export format.

Runnable examples are in examples/.

Work safely

By default, Vela’s tools run on the host with your user’s permissions and no local OS sandbox. Sessions bound to a configured Docker environment run their file and shell tools inside that container, while extensions and daemon operations always execute on the host. Read Security before running Vela on untrusted repositories, connecting a channel or leaving it unattended. For a background service, deploy vela daemon under a dedicated user.