Metadata-Version: 2.4
Name: agent-sense
Version: 0.1.0
Summary: Human-agent interaction SDK with accessibility and dialogue management
Project-URL: Homepage, https://github.com/aumos-ai/agent-sense
Project-URL: Documentation, https://github.com/aumos-ai/agent-sense#readme
Project-URL: Repository, https://github.com/aumos-ai/agent-sense
Project-URL: Issues, https://github.com/aumos-ai/agent-sense/issues
Author: AumOS Contributors
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: click>=8.0
Requires-Dist: pydantic>=2.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0
Provides-Extra: agentcore
Requires-Dist: agentcore-sdk>=0.1.0; extra == 'agentcore'
Provides-Extra: dev
Requires-Dist: mypy>=1.8; extra == 'dev'
Requires-Dist: pip-audit; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.3; extra == 'dev'
Description-Content-Type: text/markdown

# agent-sense

Human-agent interaction SDK with accessibility and dialogue management

[![CI](https://github.com/aumos-ai/agent-sense/actions/workflows/ci.yaml/badge.svg)](https://github.com/aumos-ai/agent-sense/actions/workflows/ci.yaml)
[![PyPI version](https://img.shields.io/pypi/v/agent-sense.svg)](https://pypi.org/project/agent-sense/)
[![Python versions](https://img.shields.io/pypi/pyversions/agent-sense.svg)](https://pypi.org/project/agent-sense/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)

Part of the [AumOS](https://github.com/aumos-ai) 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:

```bash
pip install agent-sense
```

Verify the installation:

```bash
agent-sense version
```

Basic usage:

```python
import agent_sense

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

## Documentation

- [Architecture](docs/architecture.md)
- [Contributing](CONTRIBUTING.md)
- [Changelog](CHANGELOG.md)
- [Examples](examples/README.md)

## 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](CONTRIBUTING.md)
before opening a pull request.

## License

Apache 2.0 — see [LICENSE](LICENSE) for full terms.

---

Part of [AumOS](https://github.com/aumos-ai) — open-source agent infrastructure.
