Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

strike-ai

Python client for the Strike API. You send content and typed questions. You get one answer per question, with probabilities.

pip install strike-ai
import os
from strike_ai import Client

client = Client(api_key=os.environ["STRIKE_API_KEY"])
result = client.decide(
    "My card was charged twice for the same order. Please fix this today.",
    {
        "is_urgent": {
            "type": "noul",
            "instructions": "Does the customer express time pressure?",
        },
        "team": {
            "type": "choice",
            "instructions": "Which team should handle this message?",
            "criteria": {
                "billing": "Payments, refunds, invoices",
                "technical": "Bugs, outages, integrations",
                "other": None,
            },
        },
    },
)

STRIKE_API_URL overrides the default base URL, https://strike-ai.eu.

MCP server

The same install includes a stdio MCP server for Cursor, Claude Code, Claude Desktop, and any other MCP client:

python -m strike_ai.mcp

The console script is strike-mcp. Add it to Cursor in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "strike": {
      "command": "strike-mcp",
      "env": { "STRIKE_API_KEY": "your_key_here" }
    }
  }
}

Each tool makes one POST /v1/systemone call to strike-1:

Tool Use it to
strike_decision Ask one question as yes_no, choice, or score
strike_classify Pick one of up to 255 labelled options
strike_score Place the input on an ordered scale of 2-10 levels
strike_check Get a yes/no probability
strike_gate Screen a shell command or other action before the agent runs it: allow, confirm, or block
strike_decide Ask up to 32 typed questions about one input in a single call

Tool errors come back as isError results, so the agent keeps going. A rate-limited call is retried once after the retry_after the API sends. STRIKE_MODEL picks the model (default strike-1).

Strike is in beta. strike-1 returns real model probabilities. They are not calibrated for production routing yet.

This directory is the source for the PyPI package. Model weights, training, and the API server are not in this package.

Docs: strike-ai.eu/docs.

Metadata

Release files for strike-ai 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for strike-ai 0.1.3
File Size Uploaded Provenance Actions
strike_ai-0.1.3.tar.gz 7.6 kB Without provenance Details for strike_ai-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for strike-ai 0.1.3
File Interpreter ABI Platform Actions
strike_ai-0.1.3-py3-none-any.whl Python 3 none any Details for strike_ai-0.1.3-py3-none-any.whl

Total release size: 16.3 kB

Release files / strike_ai-0.1.3.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL strike_ai-0.1.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d51d20fa97e939754d8ad0d93de2e1e581a8993cf5d01446ee9dba8bf436cdfc
BLAKE2b-256 checksum
How to use checksums
cc34f054401365827e25ecb92e5c6bf22808109f74477eab1bce1a6a14247e3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / strike_ai-0.1.3-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL strike_ai-0.1.3-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55088b33d78852599134bc9c60342edddac21fcd96ce9b0f96ff5b23b0414cff
BLAKE2b-256 checksum
How to use checksums
6ebe4413f48f23f060965b86cac7f17b552e9274fa0535fda6029e6df4ad3cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for strike-ai 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.1.1 2 files With provenance
  • Added 0.1.3 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page