# Integrate tool LLM

**URL:** <https://community.n8n.io/t/integrate-tool-llm/32232>\
**Category:** Questions\
**Tags:** langchain\
**Created:** [October 30, 2023, 5:56pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232 "2023-10-30T17:56:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheG](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theg/32/14649_2.png) [@TheG](https://community.n8n.io/u/TheG)\
**Post date:** [October 30, 2023, 5:56pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232/1 "2023-10-30T17:56:01Z")

</div>

Hello community,

I’m testing the LLM agent and would like integrate Serper.dev instead of serApi.

Is that possible ?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 30, 2023, 6:25pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232/3 "2023-10-30T18:25:05Z")

</div>

You can do that with a LangChain Code Node. Is literally 2 lines of code:

```auto
const { Serper } = require('langchain/tools');
return new Serper('REPLACE_WITH_API_KEY');

```

Here is a full example workflow. You just have to replace your API-Key in the node “Serper.dev”:

---

<div class="post-metadata">

**Author:** ![TheG](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theg/32/14649_2.png) [@TheG](https://community.n8n.io/u/TheG)\
**Post date:** [October 30, 2023, 6:56pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232/4 "2023-10-30T18:56:01Z")

</div>

It runs through an error, should I modify the requirement ?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/2/4/2455f045936688b81321af8be9f2777b286e4e5f.png)  
 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/5/4501c5a328ffc73a2f98d35c0aef65e38fce7176.png)

I’m using the cloud version

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 30, 2023, 7:36pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232/5 "2023-10-30T19:36:58Z")

</div>

Ah sorry. On the cloud version that node is sadly not available. A good example why the topic template should always be filled and not deleted.

In this case, there is sadly no way of using that right now on n8n.cloud but we should be able to add a node in the next days.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [November 6, 2023, 7:37pm UTC](https://community.n8n.io/t/integrate-tool-llm/32232/6 "2023-11-06T19:37:19Z")

</div>

Closed on November 6, 2023, 7:37pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
