---
title: "Galore SDK for Python and JavaScript (galore-sdk) | Galore"
description: "The official Galore SDK: pip install galore-sdk or npm install galore-sdk. Check every AI trade against a person's rules with Galore's AI trading guardrails API. Free practice API, no key."
last_updated: "2026-12-05"
url: "https://trygalore.com/sdk"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://trygalore.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

Source: [https://trygalore.com/sdk](https://trygalore.com/sdk)

# Galore SDK

The official SDK for Galore, the AI trading guardrails service at trygalore.com. Your AI sends a trade; Galore checks it against the person's rules before it reaches their brokerage.

## Install

```bash
pip install galore-sdk
npm install galore-sdk
```

The package is ` galore-sdk ` in both registries: [galore-sdk on PyPI](https://pypi.org/project/galore-sdk/) (import ` galore_sdk `, command ` galore `) and [galore-sdk on npm](https://www.npmjs.com/package/galore-sdk) (command ` npx galore-sdk `). Source: [github.com/mehek-builds/galore-sdk](https://github.com/mehek-builds/galore-sdk), MIT licensed, no dependencies.

## Python

```python
from galore_sdk import Galore

galore = Galore()                       # practice API, no key
start = galore.example_rules()
result = galore.check(start["agent"], start["rules"], start["order"])
print(result["decision"], result["summary"])
```

## JavaScript and TypeScript

```javascript
import { Galore } from 'galore-sdk';

const galore = new Galore();            // practice API, no key
const { agent, rules, order } = await galore.exampleRules();
const result = await galore.check(agent, rules, order);
console.log(result.decision, result.summary);
```

Both point at the free practice API by default: no key, no account, nothing saved. Each answer is ` allowed `, ` stopped `, ` held ` or ` needs_person `, with every rule checked. Full guide: [practice API and SDKs](https://trygalore.com/developers/sandbox).

## Galore agent skill

```bash
npx skills add mehek-builds/galore-sdk
```

Teaches Claude Code, Codex, Cursor and other coding agents to use Galore.

## Galore MCP server

For real trades, add ` https://connect.trygalore.com/mcp ` to your AI as an MCP connector. It is listed in the official MCP registry as ` com.trygalore/galore ` and on [Glama](https://glama.ai/mcp/connectors/com.trygalore/galore). See [Galore MCP server](https://trygalore.com/developers/mcp).

## Which Galore is this?

This is Galore from trygalore.com, the company that checks AI trades against a person's rules. Other projects share the name: ` galore ` on PyPI is a spectroscopy tool, ` galore ` on npm is an unrelated library, and GaLore (` galore-torch `) is a memory-saving optimizer for training language models. For Galore trading, install ` galore-sdk `.

[Galore developer docs](https://trygalore.com/developers) · [Pricing](https://trygalore.com/pricing) · [Galore home](https://trygalore.com/)

Reviewed 5 December 2026

## Sitemap

- [Every page on trygalore.com](https://trygalore.com/sitemap.md)
