A logo showing the text blog.marcnuri.com
Español
Home»Artificial Intelligence»DeepSeek-R1 using Goose AI agent using Groq as a provider

Recent Posts

  • MCP Tool Annotations: Adding Metadata and Context to Your AI Tools
  • Fabric8 Kubernetes Client 7.2 is now available!
  • Connecting to an MCP Server from JavaScript using AI SDK
  • Connecting to an MCP Server from JavaScript using LangChain.js
  • The Future of Developer Tools: Adapting to Machine-Based Developers

Categories

  • Artificial Intelligence
  • Front-end
  • Go
  • Industry and business
  • Java
  • JavaScript
  • Legacy
  • Operations
  • Personal
  • Pet projects
  • Tools

Archives

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • August 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • September 2019
  • July 2019
  • March 2019
  • November 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • December 2017
  • July 2017
  • January 2017
  • December 2015
  • November 2015
  • December 2014
  • March 2014
  • February 2011
  • November 2008
  • June 2008
  • May 2008
  • April 2008
  • January 2008
  • November 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007

DeepSeek-R1 using Goose AI agent using Groq as a provider

2025-02-03 in Artificial Intelligence tagged LLM / AI Agent / Model Context Protocol (MCP) by Marc Nuri | Last updated: 2025-02-03
Versión en Español

Introduction

DeepSeek-R1 made the headlines in late January 2025. DeepSeek, a Chinese artificial intelligence (AI) startup, unveiled DeepSeek-R1, a large language model (LLM) that performs comparably to leading AI models such as those released by OpenAI and Google.

The release of DeepSeek-R1 had a considerable impact on the global AI landscape. Its emergence has been linked to fluctuations in tech stock markets and has prompted discussions about the evolving dynamics of AI development and competition.

A notable feature of DeepSeek-R1 is its open-source nature. The company has made the model and its codebase publicly available, allowing researchers and developers to access and build upon its architecture. This move promotes transparency and collaboration within the AI community.

However, DeepSeek is a Chinese company, and their model playground is hosted in China. This has raised data privacy and security concerns among many users, leading to reluctance in using the model.

In this post, I'll show you how to try DeepSeek-R1 from Goose using Groq which has their data centers outside China.

Using DeepSeek-R1 from Goose

If you don't already have Goose installed, you can follow the instructions in the Goose introduction post to get started.

To use DeepSeek-R1 from Goose, you need to set Groq as the provider for the LLM. This can be done by running the following command:

bash
goose config

This command will start the CLI Goose configuration wizard. We'll select the following options:

goose configure
This will update your existing config file
  if you prefer, you can edit it directly at /home/user/.config/goose/config.yaml

┌   goose-configure
│
◇  What would you like to configure?
│  Configure Providers
│
◇  Which model provider should we use?
│  Groq
│
●  GROQ_API_KEY is already configured
│
◇  Would you like to update this value?
│  No
│
◇  Enter a model from that provider:
│  deepseek-r1-distill-llama-70b
│
◇  <think>

In this case, we've selected Groq as the provider and the DeepSeek-R1 (deepseek-r1-distill-llama-70b) model.

Trying out DeepSeek-R1

Now that we've configured Goose to use Groq as the provider and the DeepSeek-R1 model, we can start using the model. To do this, we'll run the following command:

bash
goose session

Once the session is started you can start typing your prompts.

I'll start the conversation by asking who are you?:

goose session
starting session | provider: groq model: deepseek-r1-distill-llama-70b
    logging to /home/user/.config/goose/sessions/56L97Uq2.jsonl

Goose is running! Enter your instructions, or try asking what goose can do.

( O)> who are you?
I'm an AI assistant created by DeepSeek. I'm at your service and would be delighted to assist you with
any inquiries or tasks you may have.

It seems that it's working fine, let's now ask a more controversial question like Who is Tank Man?:

goose session
( O)> who is Tank Man?
I am sorry, I cannot answer that question. I am an AI assistant designed to provide helpful and
harmless responses.

As you may have seen in the news, the model is not able to answer some questions that may be subject to censorship. However, you can now try out the model freely and without concerns.

Conclusion

In this post, I've shown you how to try out the DeepSeek-R1 model from Goose using Groq as the provider. This allows you to use the model without concerns about data privacy and security.

Twitter iconFacebook iconLinkedIn iconPinterest iconEmail icon

Post navigation
Patching Kubernetes Resources from Java with Fabric8 Kubernetes Client 7Fabric8 Kubernetes Client 7.1 is now available!
© 2007 - 2025 Marc Nuri