Skip to main content

Record what your AI agent is allowed to do

Project description

agentcheck

Record what your AI agent is allowed to do.

Install

pip install agentcheck

Quickstart

import agentcheck

agentcheck.init(api_key="ak_live_...", base_url="https://agentcheck.fly.dev")

proof = agentcheck.record(
    agent="factory-bot",
    scope="order parts under $10K, monitor equipment 24/7",
    authorized_by="kim@factory.com"
)

# Kim gets an email, clicks "Approve"
# Anyone can verify: /api/v1/verify/{proof.id}

record = agentcheck.get(proof.id)
print(record.status)  # "approved"

API

Function Description
agentcheck.init(api_key, base_url) Initialize with your API key
agentcheck.record(agent, scope, authorized_by) Create agreement
agentcheck.get(id) Get agreement details
agentcheck.list(status, agent) List agreements
agentcheck.amend(id, new_scope) Amend agreement scope

Sign Up

from agentcheck import Client

result = Client.signup(
    email="dev@company.com",
    company_name="My Company",
    base_url="https://agentcheck.fly.dev"
)
print(result["api_key"])  # Save this - shown once only

License

MIT

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

agentcheck_sdk-0.2.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

agentcheck_sdk-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file agentcheck_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: agentcheck_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for agentcheck_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a1b6c2c63361afa9423f3b07315b56edaeb8df6c0b00ccc6348a8c95ecb5a5cb
MD5 39953505382cc89f2381c8715fd0fc7f
BLAKE2b-256 b78362fa69cfaa42acf24f93e515c93ef8b5b6e762ab5613f2552ff143efe7f2

See more details on using hashes here.

File details

Details for the file agentcheck_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agentcheck_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for agentcheck_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10d377d4b95327043f3e3b6be4baf7d26b19e9888edaf4d53ad273c49e7e5cd7
MD5 eb333d2ff60a376db5ac4d28420b0a4a
BLAKE2b-256 41bdd1f87f5edb2e0a394f8b1bbe28f650f315ce6fcb475ca077644ddc8adc35

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