Skip to main content

Human-agent interaction SDK with accessibility and dialogue management

Project description

agent-sense

Human-agent interaction SDK with accessibility and dialogue management

CI PyPI version Python versions License

Part of the AumOS open-source agent infrastructure portfolio.


Features

  • User context detection infers expertise level, situation, and channel (web, mobile, voice) from conversation signals, enabling responses calibrated to the user's knowledge and environment
  • Confidence annotation and calibration — the ConfidenceAnnotator attaches per-claim confidence signals to agent responses and the Disclaimer module adds appropriate hedging when confidence falls below configurable thresholds
  • Human handoff orchestration: HandoffRouter evaluates confidence and topic signals, packages the conversation context, and routes to the appropriate human queue with full conversation history attached
  • WCAG 2.1 AA accessibility checker inspects HTML fragments for color contrast, missing image alternatives, heading hierarchy violations, and ambiguous link text
  • AI disclosure and transparency utilities that inject required disclosure notices and explain the agent's limitations for regulated interaction contexts
  • Suggestion engine ranks follow-up prompts and clarifying questions by relevance to the current conversation turn
  • Channel adapters for web, mobile, and voice normalize input and format output appropriately for each surface

Quick Start

Install from PyPI:

pip install agent-sense

Verify the installation:

agent-sense version

Basic usage:

import agent_sense

# See examples/01_quickstart.py for a working example

Documentation

Enterprise Upgrade

For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

License

Apache 2.0 — see LICENSE for full terms.


Part of AumOS — open-source agent infrastructure.

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

agent_sense-0.2.0.tar.gz (126.2 kB view details)

Uploaded Source

Built Distribution

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

agent_sense-0.2.0-py3-none-any.whl (114.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agent_sense-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fb847c7b74b369c86142c22ffdaf69d80dfff8cc4192374346578a545a41eedc
MD5 561429ee38f280831256fd1e17b3612a
BLAKE2b-256 bb8a14d8ad3400f45d5c9604538758856e47532bcb40a41e62475588f3e79c73

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agent_sense-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fdc2a4847bc822b6e4be7022c52cdd89e21dd4a976c9003fd4dfe635eddb921
MD5 3139742850c3c466df7acc4118c6c674
BLAKE2b-256 95b471b4972fb8e5c025c443dad373f6ebac12d02b174abef9153ebbd4704787

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