Skip to main content
The Artemis Platform CLI lets you create, review, customize, test, and deploy agents, tools, and enterprise content connectors from your terminal or CI pipeline, without opening the browser. The CLI supports both interactive development and repeatable automation workflows. Before you begin, install and configure the CLI.

Create

Create a project

Create an agent

Create an agent from an ABL file:

Create tools

Create an HTTP tool and associate it with an ABL file:

Connect enterprise content

Connectors ingest enterprise content into a SearchAI index. The available options vary by connector type. Use the help command to see the current options:
For example, create and authenticate a SharePoint connector:
After completing OAuth authentication, start a full synchronization and check its status:
Use connector filter --help and connector permission --help to configure the content scope and permission mode before production ingestion.

Generate a project with Arch AI

Start an Arch AI onboarding session to generate a new project from natural language:
Send the initial build request:
To generate using Arch AI, you must configure a primary model. You can create a session even when the tenant isn’t configured for generation. Related articles:

Review

Inspect and compile an agent

Inspect Arch AI-generated state

After Arch AI generates or updates a project, inspect the resulting state:

Export and verify a project package

Export the supported project layers:
Verify the exported files locally:
Related articles: Arch AI-generated projects are,

Customize

Update an agent

Update an agent from an ABL file and read it back:

Keep enterprise content current

After the initial full synchronization, run an incremental synchronization to pick up content changes:

Iterate with Arch AI

Open a session for an existing project and continue the conversation:
Send a follow-up request or start an interactive chat:

Track customizations with Git

Git operations require a project-shared authentication profile created by a Platform administrator. Initialize Git synchronization:
Push project state to Git:
Related articles:

Test

Test models and agents

Agent execution requires a working primary model connection. List and test available models before testing an agent:
If model testing fails, ask a tenant administrator to configure and select a primary model before retrying agent, evaluation, or Arch generation commands.

Validate and evaluate a project

The lifecycle command tree is designed for CI and release automation. Each invocation writes one versioned JSON envelope to stdout and returns a stable exit code. Validate a project package, then run an evaluation gate:

Deploy

Apply Git updates

Preview a pull before applying it:
Apply the pull after reviewing the preview:

Import a project package

Preview an import before applying it:
Review the preview before applying the import. Then apply the package and run post-import checks:
Do not acknowledge warnings until you understand the proposed changes. Use a dedicated project when evaluating an unfamiliar package.

Synchronize a validated package

Once validation and evaluation succeed, synchronize the package:
Related article:

Automate and integrate

Use the CLI in CI

CI jobs can provide a user access token without writing it to CLI storage:
Store the token in your CI secret manager. Don’t place access tokens in command arguments, committed scripts, build logs, or documentation. To isolate CLI state for a CI job, set a separate configuration directory:
The directory must be an absolute path. Remove it when the job finishes.

Use the CLI with MCP

You can run the CLI as an MCP stdio server. To start the server, use the command artemis-platform-cli mcp. A sample config for your MCP client to launch the CLI is below.
The MCP process uses the same stored login, selected workspace, selected project, and service URLs as direct CLI commands. If your desktop MCP client doesn’t inherit or can’t use the PATH value, it can’t launch the CLI directly. In such a case, use the absolute binary path returned by the command command -v artemis-platform-cli. Keep the stdout reserved for MCP JSON-RPC messages.

Reference

CLI commands

The following commands provide the primary CLI capabilities: Use the installed command help as the syntax source of truth:

Troubleshooting

For the configured service URLs and CLI state paths, run:

Safety considerations

  • Use explicit project IDs in automation.
  • Read previews before applying imports, synchronization operations, or Git pulls.
  • Do not bypass qualification gates without an approval record and reason.
  • Do not retry an OUTCOME_UNKNOWN mutation blindly. Read the authoritative resource state first.
  • Keep API tokens, OAuth credentials, provider keys, and Git credentials out of command arguments and logs.
  • Use non-production projects and repositories when evaluating a release candidate.