Skip to content

Commit bcc6d3f

Browse files
committed
Update README.md
1 parent 74187af commit bcc6d3f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

packages/tiny-agents/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pnpm add @huggingface/tiny-agents
1616

1717
```bash
1818
npx @huggingface/tiny-agents [command] "agent/id"
19-
2019
```
2120

2221
```
@@ -42,7 +41,7 @@ touch my-agent/agent.json
4241
```json
4342
{
4443
"model": "Qwen/Qwen2.5-72B-Instruct", // model id
45-
"provider": "nebius", // or you can also use a local endpoint base url with `endpointUrl`
44+
"provider": "nebius", // or you can also use a local endpoint base url, see next example
4645
"servers": [
4746
{
4847
"type": "stdio",
@@ -55,6 +54,25 @@ touch my-agent/agent.json
5554
}
5655
```
5756

57+
Or using a local or remote endpoint URL:
58+
59+
```json
60+
{
61+
"model": "Qwen/Qwen3-32B",
62+
"endpointUrl": "http://localhost:1234/v1",
63+
"servers": [
64+
{
65+
"type": "stdio",
66+
"config": {
67+
"command": "npx",
68+
"args": ["@playwright/mcp@latest"]
69+
}
70+
}
71+
]
72+
}
73+
74+
```
75+
5876
Where `servers` is a list of MCP servers (we support Stdio, SSE, and HTTP servers).
5977

6078
Optionally, you can add a `PROMPT.md` file to override the default Agent prompt.

0 commit comments

Comments
 (0)