Skip to content

Quickstart

By the end of this page, you’ll have published a script that greets someone by name. You’ll also have run it from the CLI and the app.

Want to see Reminix work first? If the Scripts page is empty, an owner or admin can click Add example scripts. Reminix adds four small scripts, published and ready to run from the app. Remove examples takes them away again.

Sign up, verify your email and create a workspace. Scripts, secrets and runs all belong to a workspace.

Terminal window
npm install -g @reminix/cli
reminix login

Your browser opens. Choose your workspace, keep the access at Publish and run scripts, and click Allow.

Any command you can run works. Here it’s a few lines of Python, saved as hello.py in a new folder called hello:

hello/hello.py
import json, sys
name = sys.argv[1]
print(f"greeting {name}", file=sys.stderr)
print(json.dumps({"message": f"Hello, {name}!"}))

What the script prints to standard output is its result, and what it prints to standard error is its log.

In the hello folder, publish the script. Put {name} in the command where the input goes:

Terminal window
cd hello && reminix publish --command "python hello.py {name}"

Reminix packs the folder, turns {name} into an input and creates a script called Hello, after the folder. It then publishes version 1, which is the version runs use. To upload a draft that nobody else can run yet, use reminix upload instead.

A script without inputs needs only reminix publish. Reminix works out how to run the folder from its one script file, its pyproject.toml or its package.json. Publishing a folder explains how.

To give the input a label, or the script a description or tags, add a reminix.json to the folder.

From the CLI:

Terminal window
reminix run hello -f name=Ada --log
{ "message": "Hello, Ada!" }

In the app, open Scripts → Hello. Its input is a form with a Run button, and the run you just made is in its history.

You can run it in these ways too:

  • With the TypeScript SDK: reminix.run("hello", { name: "Ada" })
  • With the Python SDK: reminix.run("hello", {"name": "Ada"})
  • From an AI agent connected over MCP: the agent sees a tool called hello.

Next, read Scripts to call APIs with your secrets. For a real script from start to finish, follow Let your agents run scripts, with approval: a refund that an agent asks for and a person approves.