Skip to main content

Installation

Windows:
Verify: datagen --help

datagen login

Authenticate with DataGen via browser OAuth or API key.

datagen mcp

Configure the DataGen MCP server in local tools (Codex, Claude, Gemini).

datagen github

Manage GitHub connection and repository access.

github connect

Install the DataGen GitHub App via browser.

github repos

List all repositories accessible via your GitHub App.

github connected

List repositories already connected to DataGen.

github connect-repo

Connect a specific repository.
Argument: <owner/repo> (required)

github sync

Re-sync agents from a connected repository.
Argument: <repo-id> (required)

github status

Check GitHub App installation status.

datagen agents

Manage agents, skills, and commands discovered from GitHub repositories.

agents list

List all discovered agents.

agents show

Show detailed info about an agent.

agents deploy

Deploy an agent to DataGen.

agents undeploy

Remove an agent deployment and its webhook.

agents run

Trigger an agent execution.

agents logs

View execution history.

agents output

Show execution output.

agents config

View or update agent configuration. With no flags, displays current config.

agents schedule

Manage cron schedules. With no flags, lists all schedules.

datagen skills / datagen commands

Aliases for datagen agents with type filtering.
All agents subcommands are available (show, deploy, undeploy, run, logs, output, config, schedule).

datagen tools

Manage custom Python tools deployed as API endpoints.

tools list

List all custom tools.

tools show

Show custom tool details including code and schemas.

tools deploy

Deploy a new custom tool.
Argument: <name> (required)

tools update

Update an existing custom tool.
Same flags as tools deploy (only provided fields are updated).

tools run

Run a custom tool with input.

datagen secrets

Manage API keys and secrets for agents and tools.

secrets list

List all stored secrets (values are masked).

secrets set

Create or update a secret.
Argument: <KEY=VALUE> or <KEY> (required)

Environment Variables