When you create a product image in Blender, the viewport makes it easy to adjust the camera and lighting. For repeated renders of the same scene, a command with an explicit input file, frame number, and output path is easier to manage. If an AI agent runs the job, it also needs a way to tell whether the render succeeded.
Agent-native software exposes operations, arguments, current state, and execution results in a form programs can read. CLI-Anything is a project that adds this kind of command interface to existing professional software.
What GUI, CLI, API, and MCP do
A graphical user interface (GUI) lets users operate on-screen controls. A command-line interface (CLI) accepts commands and arguments through an executable. An application programming interface (API) lets programs call each other, and this comparison uses HTTP APIs as the example. The Model Context Protocol (MCP) defines how an agent host discovers and invokes tools exposed by a connected server.
An MCP server could expose render_preview and run a local CLI behind it. It could also call an existing HTTP API. MCP clients use tools/list to discover tool names and input schemas, and tools/call to invoke a selected tool.
| Interface | Input and result | Product image workflow |
|---|---|---|
| GUI | Buttons and menus → screen update | Adjust the camera composition in the viewport |
| CLI | Arguments → output streams and exit code | Ask local Blender to render a frame |
| HTTP API | HTTP request → status code and response body | Submit a job to a render server and query its status |
| MCP | Tool name and schema-defined arguments → tool result | Expose preview rendering to an agent host |
How CLI-Anything connects existing applications

A CLI-Anything harness is adapter code that presents an application's operations as commands and arguments. The project's methodology starts with the target code and file formats, designs commands around the required operations, and tests that the real backend produces an artifact. CLI-Hub helps users find and install existing harnesses.
Depending on the harness, it can persist state in a file or keep a session open in a REPL, an interactive loop for entering commands and reading their results. Where supported, --json returns structured state or results. When designing a CLI, putting machine-readable results on stdout and diagnostics on stderr makes the two easier to process separately.

The project's methodology calls for running the actual application for rendering and export. Saving edits in a project file and confirming they are visible in the exported image are separate checks. Check that the harness exposes the operations you need, that it works with your application version, and that its tests inspect actual output files. The project preprint was submitted on June 2, 2026. This article focuses on the design and methodology described by the project.
The repository's LibreOffice harness shows how an agent can inspect a saved project using structured output. The following documented command requires the installed harness and an existing harness project named report.json. This command was reviewed against the documentation.
cli-anything-libreoffice --json document info --project report.jsonRunning a repeatable Blender render

The example uses Blender's own CLI, so you can try it before installing CLI-Anything. Prepare a product.blend file with a camera and run the command from the project directory. -b runs Blender in the background and -t 2 limits it to two threads. The // output path is relative to the .blend file. Set the output path and format before -f 1, which starts the render.
mkdir -p renders
blender -b product.blend -t 2 -o '//renders/product_' -F PNG -x 1 -f 1With Blender 4.3.2, the example produced a decodable 64 × 64 PNG from a test scene. -x 1 enables the file extension. The render engine and scene settings come from the input project.
To expose this operation to an agent, define a tool that accepts only approved project paths and frame numbers. After the run, check the exit code and diagnostics, then verify that the PNG decodes and has the expected dimensions. Open a preview to review the visual result if you changed the composition or materials.

| When to check | What to verify |
|---|---|
| Before running | Input file, camera, frame number, and output path |
| Immediately after running | Exit code, diagnostics, and output file existence |
| Artifact review | PNG decoding, dimensions, and visual preview |
Choosing what to automate
The interface depends on how and where the work runs. A GUI is useful for visual decisions and adjustments. A CLI suits repeatable local work with explicit inputs. For remote rendering, an existing HTTP API may already handle job submission. Expose an MCP tool when several agent hosts need a common way to discover and invoke the operation.
When a tool writes files, you can expose inspection and saving as separate commands, limit output to a working directory, and require explicit confirmation before overwriting an existing file. Give long jobs a timeout and check for an existing artifact before retrying. Predictable retries depend on an explicit command, observable state, and an output you can verify.



