You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/frameworks/tinyagent.md
+28
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,31 @@
3
3
As part of the bare bones library, we provide our own Python implementation based on [HuggingFace Tiny Agents](https://huggingface.co/blog/tiny-agents).
4
4
5
5
You can find it in [`any_agent.frameworks.tinyagent`](https://github.com/mozilla-ai/any-agent/blob/main/src/any_agent/frameworks/tinyagent.py).
6
+
7
+
## Examples
8
+
9
+
### Use MCP Tools
10
+
11
+
```python
12
+
from any_agent import AnyAgent, AgentConfig
13
+
from any_agent.config import MCPStdioParams
14
+
15
+
agent = AnyAgent.create(
16
+
"tinyagent",
17
+
AgentConfig(
18
+
model_id="gpt-4.1-nano",
19
+
instructions="You must use the available tools to find an answer",
0 commit comments