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.2.tar.gz (17.9 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.2-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tutorbot_safety_agent-0.1.2.tar.gz
  • Upload date:
  • Size: 17.9 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.2.tar.gz
Algorithm Hash digest
SHA256 ebc43f99f12e420e8f069acc59fdb0712f5fcea9e6e660cbf2ea8dee3b66df8f
MD5 e7284c8254be37142f0925ccfbc81533
BLAKE2b-256 191f13caa5b35bbb47c01e7e8ea735f583cb84a04c286e43114e632ed5534908

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tutorbot_safety_agent-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17e16025c5f4ba6d3f7e4c8ff259c58d96248c0b9ff5de797f456d4f8f7d8c0f
MD5 45bee8aea2336987d8ffacfc3354f254
BLAKE2b-256 65fae9fe6a99fb5c4307c842e570adf54b17da3f11b6cdec042c8df797112f32

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