Metadata-Version: 2.4
Name: sharedagents
Version: 1.0.2
Summary: Local AI agent platform with full under-the-hood visibility — multi-agent orchestrator, web UI, channels, pluggable engines.
Author: sharedagents.ai
License-Expression: MIT
Project-URL: Homepage, https://github.com/sharedagents-ai/sharedagents
Project-URL: Documentation, https://sharedagents.ai/docs/
Project-URL: Repository, https://github.com/sharedagents-ai/sharedagents
Project-URL: Issues, https://github.com/sharedagents-ai/sharedagents/issues
Project-URL: Changelog, https://github.com/sharedagents-ai/sharedagents/blob/main/CHANGELOG.md
Keywords: llm,tui,vllm,agent,acp,sovereign-inference
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: THIRD_PARTY_LICENSES.md
Requires-Dist: textual>=0.85
Requires-Dist: httpx>=0.27
Requires-Dist: aiohttp>=3.9
Requires-Dist: rich>=13.0
Requires-Dist: requests>=2.32
Requires-Dist: openai>=1.0
Requires-Dist: sqlite-vec>=0.1.6
Requires-Dist: mcp>=1.0
Requires-Dist: agent-client-protocol>=0.9
Requires-Dist: hypercorn>=0.17
Requires-Dist: starlette>=0.40
Requires-Dist: sse-starlette>=2.1
Requires-Dist: tokenizers>=0.20
Provides-Extra: ontology
Requires-Dist: shareddata[search]<7,>=6.103.0; extra == "ontology"
Requires-Dist: sqlalchemy<3,>=2.0; extra == "ontology"
Requires-Dist: sqlglot<31,>=30; extra == "ontology"
Requires-Dist: pyyaml>=6.0; extra == "ontology"
Provides-Extra: ontology-duckdb
Requires-Dist: duckdb>=1.4; extra == "ontology-duckdb"
Requires-Dist: duckdb-engine>=0.17; extra == "ontology-duckdb"
Provides-Extra: ontology-postgres
Requires-Dist: psycopg[binary]>=3.2; extra == "ontology-postgres"
Provides-Extra: ontology-mysql
Requires-Dist: mysql-connector-python>=9.0; extra == "ontology-mysql"
Provides-Extra: ontology-snowflake
Requires-Dist: snowflake-sqlalchemy>=1.7; extra == "ontology-snowflake"
Provides-Extra: ontology-databricks
Requires-Dist: databricks-sqlalchemy>=2.0; extra == "ontology-databricks"
Provides-Extra: ontology-clickhouse
Requires-Dist: clickhouse-connect>=0.8; extra == "ontology-clickhouse"
Provides-Extra: ontology-trino
Requires-Dist: trino[sqlalchemy]>=0.330; extra == "ontology-trino"
Provides-Extra: ontology-kyuubi
Requires-Dist: pyhive[hive]>=0.7; extra == "ontology-kyuubi"
Requires-Dist: thrift>=0.20; extra == "ontology-kyuubi"
Provides-Extra: full
Requires-Dist: trafilatura>=2.0; extra == "full"
Requires-Dist: markitdown[pdf]>=0.0.1a3; extra == "full"
Requires-Dist: markitdown-mcp>=0.0.1a3; extra == "full"
Requires-Dist: imageio-ffmpeg>=0.5.1; extra == "full"
Requires-Dist: yt-dlp>=2024.10.7; extra == "full"
Requires-Dist: youtube-transcript-api>=1.0; extra == "full"
Provides-Extra: web
Requires-Dist: flask>=3.1.3; extra == "web"
Requires-Dist: gunicorn>=23.0; sys_platform != "win32" and extra == "web"
Requires-Dist: waitress>=3; extra == "web"
Requires-Dist: keyring>=25; extra == "web"
Provides-Extra: stt
Requires-Dist: faster-whisper<2,>=1.0; extra == "stt"
Provides-Extra: bedrock
Requires-Dist: boto3<2,>=1.43.101; extra == "bedrock"
Provides-Extra: whatsapp
Requires-Dist: neonize==0.12.4; python_version >= "3.11" and extra == "whatsapp"
Provides-Extra: realtime
Requires-Dist: numpy>=1.24; extra == "realtime"
Provides-Extra: vllm-router
Requires-Dist: fastapi>=0.115; extra == "vllm-router"
Requires-Dist: uvicorn[standard]>=0.30; extra == "vllm-router"
Requires-Dist: httpx>=0.27; extra == "vllm-router"
Requires-Dist: pyyaml>=6.0; extra == "vllm-router"
Requires-Dist: python-multipart>=0.0.9; extra == "vllm-router"
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.5; extra == "docs"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pyyaml>=6.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: pytest-xdist>=3.5; extra == "dev"
Requires-Dist: pytest-timeout>=2.3; extra == "dev"
Requires-Dist: basedpyright>=1.23; extra == "dev"
Requires-Dist: import-linter>=2.0; extra == "dev"
Requires-Dist: ruff==0.17.5; extra == "dev"
Requires-Dist: jsonschema>=4; extra == "dev"
Requires-Dist: telethon>=1.36; extra == "dev"
Requires-Dist: gTTS>=2.4; extra == "dev"
Requires-Dist: neonize==0.12.4; python_version >= "3.11" and extra == "dev"
Requires-Dist: numpy>=1.24; extra == "dev"
Dynamic: license-file

# SharedAgents

[![PyPI](https://img.shields.io/pypi/v/sharedagents)](https://pypi.org/project/sharedagents/)
[![Python](https://img.shields.io/badge/python-3.10%E2%80%933.14-blue)](https://pypi.org/project/sharedagents/)
[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
[![CI](https://github.com/sharedagents-ai/sharedagents/actions/workflows/ci.yml/badge.svg)](https://github.com/sharedagents-ai/sharedagents/actions/workflows/ci.yml)

**Run AI agents on infrastructure you control, with inspectable conversations,
model calls, tool activity, and costs.**

SharedAgents combines a terminal interface, browser UI, agent orchestration,
and messaging channels in one Python distribution. Use a local model server
or a supported hosted provider. Conversation records and application state
live in your SharedAgents home; configured providers and integrations receive
the requests needed to do their work.

## Get started

Python 3.10–3.14 is supported. The optional WhatsApp channel requires Python
3.11 or newer.

```bash
pip install "sharedagents[web]"
sharedagents
```

The first-run wizard configures your model endpoint and agent. For a configured
installation, the foreground stack launcher runs the orchestrator, gateway,
and browser UI together:

```bash
python -m sharedagents.serve
```

The browser UI uses `http://127.0.0.1:8110`. The launcher requires its component
ports to be free; see the [installation guide](docs/getting-started/installation.md)
for setup and the [deployment guide](docs/guides/deployment.md) for containers,
login creation, and service management.

## What is included

- Terminal and browser interfaces for conversations, agents, models, usage,
  tasks, and voice.
- Agent execution with tool permissions, delegation, cancellation, and
  persistent session records.
- Pluggable model providers and engine adapters, with MCP tools and ACP
  integration.
- Local Markdown memory with a rebuildable SQLite search index.
- Optional Telegram and WhatsApp channels, speech services, and an inference
  replica router.

Agents can execute commands and access files through their configured tools.
Review [configuration](docs/getting-started/configuration.md) and
[security](SECURITY.md) before enabling integrations or exposing a service.

![SharedAgents task board with three sample tasks in Needs input, Working, and Completed columns](docs/assets/demo/tasks-desktop.png)

*The shipped browser interface with isolated demo data. Explore the
[interface tour](docs/getting-started/interface-tour.md) for desktop and mobile views.*

## Optional components

Install only the components you need, for example `pip install "sharedagents[web,stt]"`.

| Extra | Adds |
| --- | --- |
| `web` | Browser UI and HTTP server dependencies |
| `full` | Document conversion, web extraction, YouTube, and media tools |
| `stt` | Local CPU speech-to-text with Faster Whisper |
| `bedrock` | Native Amazon Bedrock Converse transport |
| `whatsapp` | Linked-device self-chat channel; needs system libmagic |
| `realtime` | Realtime voice server dependencies |
| `vllm-router` | Optional local inference replica router |

Wake-word models are an explicit download with separate license terms; see
[voice models](docs/guides/voice-models.md). Push-to-talk is available without them.

## Documentation

| Start here | Reference and integrations |
| --- | --- |
| [Installation](docs/getting-started/installation.md) | [Sampling](docs/guides/sampling.md) and [model parameters](docs/guides/model-parameters.md) |
| [Configuration and runtime files](docs/getting-started/configuration.md) | [Amazon Bedrock](docs/guides/bedrock.md) |
| [Interface tour](docs/getting-started/interface-tour.md) | [Contributing](CONTRIBUTING.md) |
| [Deployment](docs/guides/deployment.md) | [WhatsApp](docs/guides/whatsapp.md) and [voice](docs/guides/voice-models.md) |
| [Troubleshooting](docs/guides/troubleshooting.md) | [Memory maintenance](docs/guides/memory.md) |
| [Architecture and package map](docs/development/architecture.md) | [Delegation](docs/guides/delegation-waves.md) and [research](docs/guides/research-workflow.md) |

All documentation is versioned in this repository. To build it locally, install
the `docs` extra and run `mkdocs build --strict`; see
[development setup](docs/development/setup.md).

## Repository layout

```text
.github/        Issue templates, review ownership, and CI
docs/           Getting started, usage guides, and development docs
examples/       Generic configuration examples without credentials
scripts/        Maintainer and repository utilities
src/            Installable sharedagents and sharedagents_* packages
tests/          Automated tests and sanitized fixtures
website/        Public landing page and documentation build
pyproject.toml  Package metadata, extras, and tool configuration
```

The Python `src/` layout keeps installed code separate from repository tooling.
The [package map](docs/development/architecture.md#package-ownership) explains
which package owns each subsystem and where a contribution belongs.

## Contribute

Start with [CONTRIBUTING.md](CONTRIBUTING.md), then follow the
[development setup](docs/development/setup.md) and [testing guide](docs/development/testing.md).
Small bug fixes, documentation improvements, and reproducible issue reports
are welcome. Larger interface or dependency changes should begin with an issue.

- [Support and questions](SUPPORT.md)
- [Project governance](GOVERNANCE.md)
- [Code of conduct](CODE_OF_CONDUCT.md)
- [Security reporting](SECURITY.md)
- [Changelog](CHANGELOG.md) and [release process](RELEASES.md)

## License

SharedAgents is [MIT licensed](LICENSE). Bundled third-party code and assets
retain their notices. Optional runtime downloads may use different licenses;
see [third-party licenses](THIRD_PARTY_LICENSES.md).
