Skip to content

SharedAgents

PyPI Python License: MIT CI

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.

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:

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 for setup and the deployment guide 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 and security before enabling integrations or exposing a service.

SharedAgents task board with three sample tasks in Needs input, Working, and Completed columns

The shipped browser interface with isolated demo data. Explore the interface tour 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. Push-to-talk is available without them.

Documentation

Start here Reference and integrations
Installation Sampling and model parameters
Configuration and runtime files Amazon Bedrock
Interface tour Contributing
Deployment WhatsApp and voice
Troubleshooting Memory maintenance
Architecture and package map Delegation and research

All documentation is versioned in this repository. To build it locally, install the docs extra and run mkdocs build --strict; see development setup.

Repository layout

.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 explains which package owns each subsystem and where a contribution belongs.

Contribute

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

License

SharedAgents is MIT licensed. Bundled third-party code and assets retain their notices. Optional runtime downloads may use different licenses; see third-party licenses.