For your code

Packages

Packages are the hiringsai packages for npm and for Python (pip). Each gives you an SDK and the command line, so you can list tools, run them and ask the text model from your own code.

Packages

See it at work

Real tool results from the HiringsAI API, shown the way you will see them.

Packages
npm
PyPI
Tools
SDK
CLI
Python
Docs
npm view hiringsai
the JavaScript SDK and CLI
install from npm
pip show hiringsai
the Python package
install from PyPI
hiringsai tools --runnable
139 tools
sdk.hiringsai.comcli.hiringsai.comPyPI and npm
SDK
import the SDK
call a tool
CLI
hiringsai tools
139 tools
Python
pip install
run a tool from Python
MCP
143 MCP entries
tools/list and tools/call
A laptop on a wooden desk with a person typing
npmJavaScript SDK
Install the package that fits your stack.
A desktop computer on a white desk with a lamp
PyPIPython package
Python and JavaScript read the same tools.
A laptop glowing in a dark room
hiringsai tools139 tools
One catalogue of 139 tools.
A desk seen from above with a laptop, headphones and a camera
sdk.hiringsai.comdocs
Read the docs at sdk and cli.

Packages

Packages: install HiringsAI with npm or pip

Packages are the hiringsai packages for npm and for Python (pip). Each gives you an SDK and the command line, so you can list tools, run them and ask the text model from your own code.

Explore

What it is for

HiringsAI inside your code

The package is on npm as hiringsai, version 0.1.2. It uses ES modules, needs Node 18 or newer and has no dependencies.

The same file is served as a tarball from sdk.hiringsai.com and cli.hiringsai.com, so you can check its SHA-256 before installing.

0.1.2npm version
0.1.1pip version
0dependencies
npm install hiringsai

Python

The Python package

The Python package is on PyPI as hiringsai, version 0.1.1. It needs Python 3.8 or newer, uses only the standard library and is MIT licensed. It covers the tool catalogue, running tools, text generation and the MCP endpoint, with the same hiringsai command line. See hiringsai on PyPI.

pip install hiringsai

from hiringsai import HiringsAI
c = HiringsAI()
print(c.run_tool("regex-workshop", {"pattern": r"(\d+)", "text": "a1b22"}))

What you can do

A short example

Errors throw HiringsAIError with the status and code. The complete method uses a shared daily free allowance, so it can return 429 or 503 when that allowance is used.

import { HiringsAI } from "hiringsai";

const c = new HiringsAI();
const { count, runnable_count, tools } = await c.listTools({ suite: "build" });
const out = await c.runTool("regex-workshop", { pattern: "(\\d+)", text: "a1b22" });
console.log(out.match_count); // 2

Methods

What the SDK calls

MethodCalls
listTools({suite})GET /api/v1/tools
getTool(slug)GET /api/v1/tools/{slug}
runTool(slug, input)MCP run_tool, for tools the catalogue marks runnable
complete(prompt, {maxTokens})POST /api/v1/ai/complete
mcpInitialize(), mcpTools(), mcpCall(name, args)MCP initialize, tools/list, tools/call

Where to go next

Related

See Terminal for the command line in the same package and Hiringsai LLM for the text model.

Questions

Questions, answered in plain words

Which languages are supported?

JavaScript and Node 18 or newer through npm, and Python 3.8 or newer through pip.

Do I need an account?

No. The free tools run in your browser without an account, and the privacy page says what is and is not sent anywhere.

Where do I start?

Open the free tools and pick the one that fits the job. The developer docs cover the API, SDK, CLI and MCP server.