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.1.0.tar.gz (91.7 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.1.0-py3-none-any.whl (85.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_sense-0.1.0.tar.gz
  • Upload date:
  • Size: 91.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 dd525e791ad65cb3afafb2f9a40241eec24050eb5b69174a4919435e20a9ea1e
MD5 dcf3c9eed04f51eeecbc5bead5506911
BLAKE2b-256 2db2293db2cc481464d377cc90cf786f742ae385b3787923666488b9059ec713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_sense-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 85.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab6d2ba741a4e732ff56d64c86112e277c079e60630342e966f530c7c1bd5c2e
MD5 eded84427f4f833091854bf0a561e618
BLAKE2b-256 f266107df650f8c69ed2b5de6ccd36a8e6b9660bcd4e106d18338bbbfced3537

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