Skip to main content

No project description provided

Project description

Remyx AI command-line client

Installation

To install the Remyx AI CLI in Python virtual environment, run:

pip install remyxai

Token authentication

Remyx AI API requires authentication token, which can be obtained on this page: https://engine.remyx.ai/account

Provide api key to the CLI through an environment variable REMYXAI_API_KEY.

export REMYXAI_API_KEY=<your-key-here>

Usage

Quickly get started with the following examples:

Model

List all models:

  • cli command:
$ remyxai model list
  • python command:
from remyxai.api import list_models
print(list_models())

Get the summary of a model:

  • cli command:
$ remyxai model summarize --model_name=<your-model-name>
  • python command:
from remyxai.api import get_model_summary
print(get_model_summary(model_name))

Delete a model by name:

  • cli command:
$ remyxai model delete --model_name=<your-model-name>
  • python command:
from remyxai.api import delete_model

model_name = "<your-model-name>"
print(delete_model(model_name))

Download and convert a model:

  • cli command:
# possible model formats are "blob", "onnx", or "tflite"
$ remyxai model download --model_name=<your-model-name> --model_format="onnx"
  • python command:
from remyxai.api import download_model 

model_name = "<your-model-name>"
model_format = "onnx"
print(download_model(model_name, model_format))

Tasks

Train an image classifier:

  • cli command:
$ remyxai classify --model_name=<your-model-name> --labels="comma,separated,labels" --model_size=<int between 1-5>

add the optional --hf_dataset if you want to train with your own image dataset on 🤗. See the docs for more details

  • python command:
from remyxai.api import train_classifier

model_name = "<your-model-name>"
labels = ["comma", "separated", "labels"]
model_size = 3 # use 1 for microcontrollers

# Optional HF dataset
hf_dataset = "your/hf-dataset"

print(train_classifier(model_name, labels, model_size, hf_dataset))

Train an object detector:

  • cli command:
$ remyxai detect --model_name=<your-model-name> --labels="comma,separated,labels" --model_size=<int between 1-5>

add the optional --hf_dataset if you want to train with your own image dataset on 🤗. See the docs for more details

  • python command:
from remyxai.api import train_detector

model_name = "<your-model-name>"
labels = ["comma", "separated", "labels"]
model_size = 3

# Optional HF dataset
hf_dataset = "your/hf-dataset"
print(train_detector(model_name, labels, model_size, hf_dataset))

Train a text generator:

  • cli command:
$ remyxai generate --model_name=<your-model-name> --hf_dataset=<your/hf-dataset>

Your Huggingface dataset should have two columns with naming conventions like:

  • "question", "response"

  • "question", "answer"

  • "input", "output"

  • "prompt", "response"

  • python command:

from remyxai.api import train_generator

model_name = "<your-model-name>"
hf_dataset = "your/hf-dataset"

print(train_generator(model_name, hf_dataset))

Deploy

Launch a Triton Server containerized deployment for your model. Currently supported for generate models. More model types support coming soon!

System requirements

Please make sure you have Docker, Docker Compose, and the NVIDIA Container Toolkit are installed.

Deploy a model with:

  • cli command:
# Bring up
remyxai deploy --model_name="<your-model-name>"

# Bring down
remyxai deploy down --model_name="<your-model-name>"
  • python command:
from remyxai.api import deploy_model

model_name = "<your-model-name>"

deploy_model(model_name, action='up') # action can be "up" or "down"

And you can run inference with:

  • cli command:
remyxai infer --model_name="<your-model-name>" --prompt="Your prompt here"
  • python command:
from remyxai.api import run_inference

model_name = "<your-model-name>"
prompt="Your prompt here"

result, time_elapsed = run_inference(model_name, prompt, server_url="localhost:8000", model_version="1")
print(result)

Outrider — weekly arXiv → draft PR for your repo

Outrider is a GitHub Action that, on a weekly schedule, finds the most implementable recent paper for your repository and opens a draft PR wiring it into a real call site. remyxai outrider sets it up for you.

There are two ways to install it — both end with the same Action running in your repo; they differ in who provisions it:

outrider init outrider setup-local
Best for Most users Teams that can't grant a third-party GitHub App yet (e.g. a pending security review)
How it works The Remyx GitHub App provisions it server-side; PRs are authored by remyx-ai[bot] The CLI uses your own gh to provision it; PRs authored by github-actions[bot]
You provide The Remyx App installed on the repo (the command links you to it) An authenticated gh with admin on the repo

Either way you'll need a Remyx API key (from engine.remyx.ai → Settings) and an Anthropic API key (from console.anthropic.com). Set the Remyx key once:

export REMYXAI_API_KEY=...   # from engine.remyx.ai → Settings

Option A — outrider init (via the Remyx GitHub App) — recommended

# Set up on a repo, auto-creating a research interest from it:
$ remyxai outrider init --repo owner/name --auto-interest

# …or use an existing research interest (UUID from engine.remyx.ai):
$ remyxai outrider init --repo owner/name --interest <uuid>

If the Remyx App isn't installed on the repo yet, the command prints an install link and waits. Then the engine provisions the workflow, repo secrets, and a setup PR, and — in the default auto mode — merges it and starts the first run. Connect your Anthropic key once on the engine's Integrations page, or pass --anthropic-key (or set ANTHROPIC_API_KEY) and the CLI connects it for you.

--mode: auto (default — set it up and start the first run), review (open the setup PR for you to merge), off (just create the research interest).

Option B — outrider setup-local (no GitHub App)

For teams that can't install a third-party App yet. The CLI uses your own authenticated gh to do everything — nothing new to security-review.

$ export ANTHROPIC_API_KEY=...   # stored as a repo secret by the CLI

$ remyxai outrider setup-local --repo owner/name --auto-interest

Using your gh credentials, the CLI sets the REMYX_API_KEY + ANTHROPIC_API_KEY repo secrets, writes .github/workflows/outrider.yml, opens a setup PR, and — in auto mode — merges it and dispatches the first run. So the Action can open its recommendation PRs, the CLI enables the repo's "Allow GitHub Actions to create and approve pull requests" setting; the Action then uses the repo's built-in GITHUB_TOKEN (no GitHub token is stored as a secret — only REMYX_API_KEY and ANTHROPIC_API_KEY).

Requires gh authenticated (gh auth login, or $GITHUB_TOKEN with repo + workflow scopes) and admin on the target repo.

Common options

  • --repo owner/name — target repo (or a GitHub URL); defaults to the current directory's git remote.
  • --interest <uuid> / --auto-interest — use an existing research interest, or create one from the repo.
  • --mode auto|review (init also has off) — how far to take setup.
  • --dry-run — print the plan (and, for setup-local, the rendered workflow) and exit without making changes.
  • -y / --yes — skip the confirmation prompt.

Preview either path safely before committing to it:

$ remyxai outrider setup-local --repo owner/name --auto-interest --dry-run

A note on credentials: with setup-local, your REMYXAI_API_KEY is stored as the repo's REMYX_API_KEY secret so the Action can fetch recommendations — anyone with write access to the repo's workflows can consume Remyx credits on that key, so use it on repos you control. With outrider init, the Remyx App provisions a scoped key for you. In both paths your Anthropic key is stored as a repo secret to run the agent.

User

Get user profile info:

  • cli command:
$ remyxai user profile
  • python command:
from remyxai.api import get_user_profile

print(get_user_profile())

Get user credit/subscription info:

  • cli command:
$ remyxai user credits
  • python command:
from remyxai.api import get_user_credits

print(get_user_credits())

Utils

Label images locally:

  • cli command:
$ remyxai utils label --labels="comma,separated,labels" --image_dir="/path/to/image/dir"
  • python command:
from remyxai.utils import labeler
model_name = "<your-model-name>"
labels = ["comma", "separated", "labels"]
image_dir = "/path/to/image/dir"
print(labeler(labels, image_dir, model_name))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remyxai-0.2.7.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remyxai-0.2.7-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

Details for the file remyxai-0.2.7.tar.gz.

File metadata

  • Download URL: remyxai-0.2.7.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remyxai-0.2.7.tar.gz
Algorithm Hash digest
SHA256 09032f3e18de34a65e32dcf6205ffa37b0439097737ee6991dc5487865324a56
MD5 f43a5bcd7caa9adddbd4427840d139f4
BLAKE2b-256 17050ae90b096e059c74b63783793d2913aad3c4983705a5878ac6fb9a707d58

See more details on using hashes here.

Provenance

The following attestation bundles were made for remyxai-0.2.7.tar.gz:

Publisher: publish.yml on remyxai/remyxai-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file remyxai-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: remyxai-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 47.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remyxai-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 df3be1041390d1fd2017e2a2f9311be6fa3b8d34d91b98300292541580c34fb4
MD5 2c53905523875b9285bbc44b1db39d34
BLAKE2b-256 821a784681a81568d2d8107088f0fa8efe454913ae41c4918ff5dc31ef18912c

See more details on using hashes here.

Provenance

The following attestation bundles were made for remyxai-0.2.7-py3-none-any.whl:

Publisher: publish.yml on remyxai/remyxai-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page