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/en/concepts/cli.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -404,6 +404,10 @@ crewai config reset
404
404
After resetting configuration, re-run `crewai login` to authenticate again.
405
405
</Tip>
406
406
407
+
<Tip>
408
+
CrewAI CLI handles authentication to the Tool Repository automatically when adding packages to your project. Just append `crewai` before any `uv` command to use it. E.g. `crewai uv add requests`. For more information, see [Tool Repository](https://docs.crewai.com/enterprise/features/tool-repository) docs.
409
+
</Tip>
410
+
407
411
<Note>
408
412
Configuration settings are stored in `~/.config/crewai/settings.json`. Some settings like organization name and UUID are read-only and managed through authentication and organization commands. Tool repository related settings are hidden and cannot be set directly by users.
Copy file name to clipboardExpand all lines: docs/en/enterprise/features/tool-repository.mdx
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,36 @@ researcher = Agent(
52
52
)
53
53
```
54
54
55
+
## Adding other packages after installing a tool
56
+
57
+
After installing a tool from the CrewAI Enterprise Tool Repository, you need to use the `crewai uv` command to add other packages to your project.
58
+
Using pure `uv` commands will fail due to authentication to tool repository being handled by the CLI. By using the `crewai uv` command, you can add other packages to your project without having to worry about authentication.
59
+
Any `uv` command can be used with the `crewai uv` command, making it a powerful tool for managing your project's dependencies without the hassle of managing authentication through environment variables or other methods.
60
+
61
+
Say that you have installed a custom tool from the CrewAI Enterprise Tool Repository called "my-tool":
62
+
63
+
```bash
64
+
crewai tool install my-tool
65
+
```
66
+
67
+
And now you want to add another package to your project, you can use the following command:
68
+
69
+
```bash
70
+
crewai uv add requests
71
+
```
72
+
73
+
Other commands like `uv sync` or `uv remove` can also be used with the `crewai uv` command:
74
+
75
+
```bash
76
+
crewai uv sync
77
+
```
78
+
79
+
```bash
80
+
crewai uv remove requests
81
+
```
82
+
83
+
This will add the package to your project and update `pyproject.toml` accordingly.
0 commit comments