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: README.md
+6-19Lines changed: 6 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@ Jupyter Clients
27
27
28
28
Jupyter AI Agents empowers **AI** models to **interact** with and **modify Jupyter Notebooks**. The agent is equipped with tools such as adding code cells, inserting markdown cells, executing code, enabling it to modify the notebook comprehensively based on user instructions or by reacting to the Jupyter notebook events.
29
29
30
-
This agent is **innovative** as it is designed to **operate on the entire notebook**, not just at the cell level, enabling more comprehensive and seamless modifications. The agent can also run separetely from the Jupyter server as the communication is achieved through RTC () via the [Jupyter NbModel Client](https://github.com/datalayer/jupyter-nbmodel-client) and the [Jupyter Kernel Client](https://github.com/datalayer/jupyter-kernel-client).
30
+
This agent is **innovative** as it is designed to **operate on the entire Notebook**, not just at the cell level, enabling more comprehensive and seamless modifications.
31
+
32
+
The agent can also run separetely from the Jupyter server as the communication is achieved through RTC via the [Jupyter NbModel Client](https://github.com/datalayer/jupyter-nbmodel-client) and the [Jupyter Kernel Client](https://github.com/datalayer/jupyter-kernel-client).
31
33
32
34
The [LangChain Agent Framework](https://python.langchain.com/v0.1/docs/modules/agents/how_to/custom_agent) is used to manage the interactions between the AI model and the tools.
33
35
@@ -69,15 +71,10 @@ We put here a quick example for a Out-Kernel Stateless Agent via CLI helping you
69
71
Start JupyterLab, setting a `port` and a `token` to be reused by the agent, and create a notebook `test.ipynb`.
You can also start JupyterLab with the following command.
76
-
77
-
```bash
78
-
make jupyterlab
79
-
```
80
-
81
78
Jupyter AI Agents supports multiple AI model providers (more information can be found on [this documentation page](https://jupyter-ai-agents.datalayer.tech/docs/models)).
82
79
83
80
The following takes you through an example with the Azure OpenAI provider. Read the [Azure Documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai) to get the needed credentials and make sure you define them in the following `.env` file.
@@ -96,6 +93,7 @@ To use the Jupyter AI Agents, an easy way is to launch a CLI (update the Azure d
96
93
97
94
```bash
98
95
# Prompt agent example.
96
+
# make prompt
99
97
jupyter-ai-agents prompt \
100
98
--url http://localhost:8888 \
101
99
--token MY_TOKEN \
@@ -105,18 +103,13 @@ jupyter-ai-agents prompt \
105
103
--input "Create a matplotlib example"
106
104
```
107
105
108
-
You can also start prompt with the following command.
109
-
110
-
```bash
111
-
make prompt
112
-
```
113
-
114
106

0 commit comments