Yera Dev

The dev command starts a local Yera development environment for iterating on agent code. It discovers every decorated agent under a given directory, starts the dev server, and opens the UI in a browser. The server keeps running until you interrupt it with Ctrl-C, making it suitable for tight edit-reload cycles without deploying to Yera Hub.

yera dev

Run a local app development environment.

yera dev [OPTIONS]

Options

--directory
type: str = None

Root directory for app discovery. Falls back to [tool.yera] apps_dir in pyproject.toml, then cwd.

--port
type: int = 8991

Bind port.

--host
type: str = '127.0.0.1'

Bind address (not a URL).

--hub
type: str = None

Hub name override to deploy.

--log-events
type: bool = False
aliases: --no-log-events
negative: --no-log-events

Stream raw events to stdout.

--browser
type: bool = True
aliases: --no-browser
negative: --no-browser

Open the dev UI in a browser on startup.

--dev-ui
type: bool = False
aliases: --no-dev-ui
negative: --no-dev-ui

Enable the experimental dev UI.