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.5.0.tar.gz (12.2 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.5.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcheck_sdk-0.5.0.tar.gz
  • Upload date:
  • Size: 12.2 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.5.0.tar.gz
Algorithm Hash digest
SHA256 06213b8addff6fecbd14c27e95ae20b3737f757a19c1c50f7222a16fc7085ba2
MD5 f1e9f309f4f656f142b9e8cdaf6d26bc
BLAKE2b-256 bfad6a7dd46d9ca438ead401adc09201ee4e138eb3c3c9e4843533a7fbbe2806

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentcheck_sdk-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9151f7627c7ac19f961ee8c79f36a4e3186df9eb2b137a09c0495d57361e91f
MD5 26d89c44fd2241da72c0e0b7d792c81a
BLAKE2b-256 c87c8fa1d45f2caf3d419f6e66f549a0eb90cd7ee74ab18abcfef3d58823bbc1

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