Docs

Command Line

Look up any agent command, with what it does, how to invoke it, and every flag it accepts.

 

Look up a command here when you know roughly what you want to do and need the exact invocation: the arguments it takes, the flags it accepts, and what each one defaults to.

If you are trying to accomplish something rather than look something up (installing the agent, registering it, checking its health), start with the CLI and agent guides instead.

Sort or search the table to find a command, then follow it through for its full reference.

CommandDescription
add-jobAdd a job to the project configuration.
add-targetAdd a target data platform to the project configuration.
adviseProfile source tables and generate PCF configuration recommendations.
channelKeep the agent connected so the platform can dispatch runs.
commitCommit the bound project’s config to Git (git-lite push).
completionGenerate the autocompletion script for the specified shell.
contract-gateCompare two contract versions and check the declared version bump.
deployDeploy a data contract to a target database.
docsGenerate and verify project documentation.
docs checkVerify the project’s committed Markdown documentation is up to date.
docs generateGenerate the project’s Markdown documentation.
doctorDiagnose the agent’s install + posture.
downloadDownload the latest agent binary.
importCreate a data contract for a given source.
initInitialize a new project configuration.
init-agentInitialize the agent identity and generate its keypair.
lintValidate syntax of the project configuration.
pluginPlugin commands.
plugin importImport and install a specific plugin.
plugin installInstall configured plugins.
plugin listList available plugins.
plugin updateUpdate installed plugins to latest version.
pullPull the environment’s committed config from Git (git-lite pull).
registerRegister this agent with your organization.
sqlWork with the SQL Amfelt generates for your warehouse.
sql checkCheck the generated SQL is still up to date.
sql generateWrite out the generated SQL for this project.
syncExecute a pipeline job defined in amfelt.yaml.
templateCustomize the SQL a target plugin generates.
template ejectCopy a target plugin’s SQL template into your project.
template validateCheck the SQL templates you have customized.
validateValidate a source against a data contract.
versionShow version information.

Global flags  

Every command accepts these, and each command page repeats them under Global flags:

FlagDescription
--configDirectory or filename of the application configuration
--amfelt-dirDirectory for the agent’s workspace: downloaded plugins and the project files a pull materializes (default .amfelt, resolved against the working directory). It does not move the agent identity: the keypair, the agent id, the organization id, and projects.yaml live under $AMFELT_DIR, or ~/.amfelt when that is unset
-l, --levelMinimum log level: error, warn, info, or debug
-f, --formatLog format: default, pretty, or json
-v, --verboseVerbose logging

--amfelt-dir moves the workspace root only; $AMFELT_DIR moves the identity root as well. Where the agent keeps its state has the full resolution order and the layout worth backing up.


Last updated on October 28, 2026