Skip to main content

Safety Agent for evaluating TutorBot AI responses

Project description

TutorBot Safety Agent

A deterministic, non-autonomous Safety Agent used to evaluate AI-generated responses before they are shown to students.

Purpose

The Safety Agent provides a single, enforceable decision point for:

  • Allowing safe responses
  • Rewriting risky responses
  • Blocking unsafe responses

This package is framework-agnostic and can be reused or extracted into a standalone service in the future.

Public API

from tutorbot_safety_agent import (
    SafetyAgent,
    DummySafetyAgent,
    SafetyDecision,
    DecisionType,
)

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

tutorbot_safety_agent-0.1.4.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

tutorbot_safety_agent-0.1.4-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file tutorbot_safety_agent-0.1.4.tar.gz.

File metadata

  • Download URL: tutorbot_safety_agent-0.1.4.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tutorbot_safety_agent-0.1.4.tar.gz
Algorithm Hash digest
SHA256 61c9de43c628380e718d75fa4c743b45d124b1f41ac108af30fa807acc4e1b5b
MD5 d6c128d5030d44d217f3e00e126dfac3
BLAKE2b-256 43affc0e0983f05b7212aac7b2e5a7a748182793ae148c9fddadf61fb3514902

See more details on using hashes here.

File details

Details for the file tutorbot_safety_agent-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for tutorbot_safety_agent-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 48181306415eb94b18f898a8bebc85babbb5f85e3316f53a53f05f39e1555b53
MD5 c8fa5b38278e59ac4b3d33a97bb860f1
BLAKE2b-256 9fbe561a0f24891a10f329a74014a27247f388601cc75ec02fcc4aba114a3a99

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