Skip to content

Commit 75390d5

Browse files
authored
nit
1 parent dfbf60b commit 75390d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/hub/agents.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ smolagent "Plan a trip to Tokyo, Kyoto and Osaka between Mar 28 and Apr 7." --m
1818

1919
Agents can be pushed to Hugging Face Hub as Spaces. Check out all the cool agents people have built [here](https://huggingface.co/spaces?filter=smolagents&sort=likes).
2020

21-
smolagents also support MCP servers as tools, as follows:
21+
smolagents also supports MCP servers as tools, as follows:
2222

2323
```python
2424
from smolagents import MCPClient, CodeAgent
@@ -35,6 +35,7 @@ with MCPClient(server_parameters) as tools:
3535
agent = CodeAgent(tools=tools, model=model, add_base_tools=True)
3636
agent.run("Please find the latest research on COVID-19 treatment.")
3737
```
38+
3839
Learn more [in the documentation](https://huggingface.co/docs/smolagents/tutorials/tools#use-mcp-tools-with-mcpclient-directly).
3940

4041
## huggingface.js mcp-client

0 commit comments

Comments
 (0)