Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cookbook/serve-a2a.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Note: because this tutorial relies upon advanced stdio/stderr communication usin
tinyagent uses the python asyncio module to support async functionality. When running in Jupyter notebooks, this means we need to enable the use of nested event loops. We'll install tinyagent and enable this below using nest_asyncio.

```python
%pip install 'tinyagent[a2a]' 'mcp-server-time' --quiet
%pip install 'mozilla-ai-tinyagent[a2a]' 'mcp-server-time' --quiet

import nest_asyncio

Expand Down
2 changes: 1 addition & 1 deletion docs/serving.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`tinyagent` provides a simple way of serving agents from any of the supported frameworks using different protocols:

- [Agent2Agent Protocol (A2A)](https://google.github.io/A2A/), via the [A2A Python SDK](https://github.com/google-a2a/a2a-python). In order to this protocol, you must install the 'a2a' extra: `pip install 'tinyagent[a2a]'`.
- [Agent2Agent Protocol (A2A)](https://google.github.io/A2A/), via the [A2A Python SDK](https://github.com/google-a2a/a2a-python). In order to this protocol, you must install the 'a2a' extra: `pip install 'mozilla-ai-tinyagent[a2a]'`.

- [Model Context Protocol (MCP)](https://modelcontextprotocol.io/specification/2025-03-26), via the [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk).

Expand Down
7 changes: 7 additions & 0 deletions tests/docs/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
DOCS_DIR = pathlib.Path("docs")


def test_install_commands_use_distribution_name() -> None:
for fpath in DOCS_DIR.glob("**/*"):
if fpath.suffix not in {".ipynb", ".md"}:
continue
assert "pip install 'tinyagent[" not in fpath.read_text(encoding="utf-8")


@pytest.mark.parametrize(
"fpath",
[
Expand Down