Skip to main content

Capture how your AI agent behaves at deployment. Monitor how that behavior changes over time.

Project description

behavioralfingerprint

Capture how your AI agent behaves at deployment. Monitor how that behavior changes over time.

Part of the Thread Suite — AI agent reliability infrastructure.

Install

pip install behavioralfingerprint

Quick Start

from behavioralfingerprint import BehavioralFingerprint

bf = BehavioralFingerprint()  # defaults to https://behavioral-fingerprint.onrender.com

# Register your agent
bf.register_agent(
    agent_id="my-agent-v1",
    endpoint_url="https://your-agent.com/run",
    name="My Production Agent"
)

# Capture a behavioral fingerprint
result = bf.capture_fingerprint("my-agent-v1")
print(result["scores"])
# {
#   "verbosity_score": 0.42,
#   "hedging_rate": 0.18,
#   "refusal_rate": 0.0,
#   "confidence_score": 0.71,
#   "consistency_score": 0.63,
#   "adherence_score": 0.90
# }

# Get latest fingerprint
latest = bf.get_latest_fingerprint("my-agent-v1")

# View fingerprint history
history = bf.list_fingerprints("my-agent-v1")

Agent Endpoint Contract

Your agent endpoint must accept POST requests with:

{"input": "probe text here"}

And return JSON with an output, response, result, or content field:

{"output": "the agent's response"}

Six Behavioral Dimensions

Dimension What it measures
verbosity_score How much the agent says (0 = concise, 1 = verbose)
hedging_rate How often the agent qualifies its answers
refusal_rate How often the agent declines requests
confidence_score Ratio of confident to uncertain language
consistency_score Similarity across semantically equivalent inputs
adherence_score Compliance with explicit formatting/length instructions

Thread Suite

Iron-Thread · TestThread · PromptThread · ChainThread · PolicyThread · ThreadWatch · Behavioral Fingerprint

"Built for the age of AI agents."

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

behavioralfingerprint-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

behavioralfingerprint-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file behavioralfingerprint-0.1.0.tar.gz.

File metadata

  • Download URL: behavioralfingerprint-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for behavioralfingerprint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67d1f749cee33f78d0f71d3d50d2de912e0ad1363810216e5a5c010a66038dfe
MD5 b84755cc9f90e5cbe3539c70333cfbc8
BLAKE2b-256 12016bfe90a193fa6d40732ae1566b1318c4fec10dec345801b3c978520b2361

See more details on using hashes here.

File details

Details for the file behavioralfingerprint-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for behavioralfingerprint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2cffe6cf0a22277131c431f962043b2bca14fa825bf9b24b22be50cbf02f56
MD5 5ff24d9d736b19a5cfff70bf1bd472fb
BLAKE2b-256 bcaa8573eb5a64f8ff213f7984844e8a7231efa3d935f0bbfd7cdb3722f8dab4

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