Skip to main content

CLI interface to use MakoraGenerate as a standalone tool or inside your favourite coding agent.

Project description

Makora CLI

The Makora CLI is a command-line interface (CLI) for interacting with Makora Generate.

Use it as a standalone tool or with your favourite coding agent!

Installation and Setup

Prerequisites

  • Python 3.10+
  • pip

Install

pip install makora

or for editable mode (development), after cloning this repo:

pip install -e .

Verify install

makora --help

Login Before Using Protected Commands

Most commands require authentication first.

  1. Create/copy an API token from: https://generate.makora.com/tokens

  2. Login interactively:

    makora login
    

    or non-interactively:

    makora login --token <token_value_or_file_containing_it>
    
  3. Confirm login state:

    makora info
    

To clear credentials:

makora logout

Subcommands

Below is the summary of available subcommands provided by the package. For a more comprehensive introduction and overview, please see: https://docs.makora.com.

Note: also try consulting each subcommands --help!

Subcommand Login required Purpose
login No Save API credentials for CLI use.
logout No Remove saved credentials.
info No Show version, env vars, and current login status.
generate Yes Validate code and create a new optimization session.
jobs Yes List your sessions/jobs.
stop Yes Stop a running job/session.
kernels Yes List kernels for a session or show kernel code.
check Yes Validate a kernel/problem file without creating a full run.
refcode Yes Show the original reference code for a session.
profile Yes Profile optimized vs reference code on remote hardware.
evaluate Yes Benchmark optimized vs reference code on remote hardware.
expert-generate Yes Generate improved kernel code with additional tools.
document-search Yes Search documents via the additional-tools document search API.
install Yes Install the Makora plugin (currently claude).

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

makora-1.0.4.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

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

makora-1.0.4-py3-none-any.whl (86.2 kB view details)

Uploaded Python 3

File details

Details for the file makora-1.0.4.tar.gz.

File metadata

  • Download URL: makora-1.0.4.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for makora-1.0.4.tar.gz
Algorithm Hash digest
SHA256 dc5e1dd22e861fb679f9dfeb2eaeb14ec839b6a51f4c000b3b9f0072c78e91e8
MD5 889e7d88f7375d80af6c8b7899ee5889
BLAKE2b-256 fed63cd515f914c68683e4405a42e858cf5fac607121211894f46fd48a4129c8

See more details on using hashes here.

File details

Details for the file makora-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: makora-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 86.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for makora-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f49f58a4716f5f3935a86ff697e80e709dceb489610ecdcdd5e926ebc5665c4e
MD5 173e37a94c569fea026f815f7bf65a0c
BLAKE2b-256 33d36b5b93110a8f36bf468045c41cc1b6dc5c92e289c6853e4710481a7f2171

See more details on using hashes here.

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