Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
An n8n workflow with a chat window. An OpenAI agent answers your questions and calls a tool that runs a second flow on the same canvas, which fetches 50 items from Hacker News’s search and hands them back as text.
Chat agent with a Hacker News lookup run as a workflow tool is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Chat window
It starts when you press Chat on the canvas and send a message with:
A chat answer about the 50 posts, such as which one has the most points or who wrote it
What you need before you start.
Language model
Runs the AI Agent’s chat model, which decides when to call hn_tool and writes the answer from what it returns.
NeedsOpenAI API key
Data source
Returns 50 items from its public search, with no keyword or tag.
NeedsNothing: no account or key
Checked by Mindket on 13 Nov 2026
This n8n workflow is a chat agent that answers from a live data source through a workflow tool. You open n8n’s Chat window and ask a question. An AI Agent backed by an OpenAI chat model decides when to call a tool named hn_tool. The tool runs a second flow on the same canvas. That flow asks Hacker News’s search for 50 items, keeps five fields of each and returns them as one block of JSON text. The agent reads it and answers. Eight nodes do the work, beside four sticky notes.
Developers and automation builders who want to learn how to give an agent a custom tool, then swap in their own data. Skip it if you need a chatbot for the public. It runs from n8n’s own Chat window, and it has no memory node, so each question is answered alone.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Automation builders | Learn the pattern of a sub-workflow as a tool, then replace Hacker News with their own source | A builder swaps the Hacker News node for a call to their own orders API. |
| Research and media | Analysts and writers | Ask questions of a list of posts instead of reading it | An analyst asks which of the fifty items has the most points. |
| Community and support | Community managers | Prototype a chat helper over an internal list | A manager points the tool at a list of open tickets and asks which are oldest. |
| Training | Instructors | Show a class what an agent, a tool and a sub-workflow are | A trainer sends one question live and opens each node’s output in turn. |
You need a little n8n: import a file, add an OpenAI credential and save the workflow before the first chat. Nothing in the file states a setup time.
Any n8n that can reach OpenAI and Hacker News’s search address will run it.
Hacker News node and keep the rest, so the same chat answers from your own listDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. One OpenAI key covers the whole workflow.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key for the chat model |
| Hacker News | Nothing: its search is public |
workflow.json.OpenAI Chat Model.OpenAI Chat Model and choose a current model. The file names none, so n8n fills in gpt-5-mini. OpenAI’s deprecations page, read on 12 November 2026, gives 11 December 2026 as its shutdown date and names gpt-5.6-terra as the replacement.Press Chat, type a question and send it. The agent calls hn_tool when it needs the list, then answers in the window. Every question starts fresh, since nothing keeps the earlier ones.
| To change | Where |
|---|---|
| Which posts | The Hacker News node: its keyword, tags and limit of 50 |
| The fields the agent sees | The five assignments in Clean up data |
| What the agent knows about the tool | The name and description in Custom tool to call the wf below |
| How many rounds the agent may take | maxIterations in AI Agent, 10 in the file |
| The model | OpenAI Chat Model |
You ask who wrote the third item on the list and how many points it has.
The agent calls hn_tool. It gets back fifty items, each with a title, points, url, created_at and author, packed into one text. It reads the third and answers in the chat with the author and the points. Check the order first, since the search sets none of its own.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. The upper group is the chat agent. The lower group is a small flow that starts at Execute Workflow Trigger. The tool node points at the workflow it sits in, so the agent can run the lower flow whenever it needs data. Save first, then chat.
For experts. The agent and its tool meet only through text, so the tool’s flow can be anything that ends in one item.
| Node | What it does | What to know |
|---|---|---|
AI Agent | Version 1.1, a Conversational agent, with maxIterations of 10 | Mindket’s copy sets its Text to {{ $json.chatInput }}, which is what the chat window sends |
Custom tool to call the wf below | The Call n8n Workflow Tool, version 1, with its workflow ID set to {{ $workflow.id }} | It runs the workflow it sits in, so the workflow must be saved |
Stringify | A Code node that returns every item as JSON text in response | The tool hands the agent that item as text |
The order of the posts is not set, and the agent answers from fifty items only.
gpt-5-mini, which OpenAI shuts down on 11 December 2026. Step 3 names the replacementhn.algolia.comchatInputAn n8n workflow with a chat window. An AI Agent answers your questions, and when it needs data it calls a tool namedhn_tool. The tool is a second flow on the same canvas: it asks Hacker News's search for 50 items, keeps five fields of
each and sends them back as text. Replace the Hacker News node with any source of your own and the same chat answers from
it.
workflow.json: the workflow as n8n exports it, 8 nodes beside 4 sticky notes. It holds no credential.README.md: these notes.The copy Mindket started from had one gap that kept the agent from seeing your question. Mindket fixed it:
AI Agent left its Text field at its default. For this version of the node that default reads{{ $json.chat_input }}, while n8n's chat window sends the message to On new manual Chat Message as chatInput. The{{ $json.chatInput }}.The file also had no name. Mindket gave it one.
workflow.json.OpenAI Chat Model.OpenAI Chat Model and choose a current model. The file names none, so n8n fills in gpt-5-mini. OpenAI'sgpt-5.6-terra as the replacement.On new manual Chat Message starts a run when you send a message in the Chat window.AI Agent is an agent of the Conversational type, with maxIterations set to 10. It reads your question and decidesCustom tool to call the wf below is the tool, named hn_tool. Its workflow ID is {{ $workflow.id }}, so it runsExecute Workflow Trigger.Hacker News runs its search with no keyword, no tag and a limit of 50.Clean up data keeps five fields of each item: title, points, url, created_at and author.Stringify turns all the items into one JSON text and returns it as a field called response.Hacker News node. Its keyword, tags and limit are where to start. The sticky note beside it says toClean up data.Custom tool to call the wf below.maxIterations in AI Agent.OpenAI Chat Model.hn.algolia.com.NOTICE.md 658 B README.md 4 KB workflow.json 6 KB
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…