Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

DeepSeek Harness Tutorial Builds an AI-Callable Plugin Tool

AI summary

A tutorial demonstrates how to develop a DeepSeek Harness plugin in two stages. Version 0.1.0 covers creating the plugin, configuring local loading through a Cordis development configuration, and confirming that its apply(ctx) entry function ran. Version 0.1.1 uses DSH's tool-registration mechanism to add a hello tool. The author reports that a model invoked the tool in a Web conversation and received the response “Hello, Ada!” The tutorial also explains the roles of plugins, services, tools, and the Agent Loop, while noting that the hello example does not cover file access, network requests, permissions, or complex parameter validation.

In-depth insight

The tutorial provides a step-by-step path for distinguishing a successfully loaded plugin from a tool that a model can actually call, covering local loading, entry-point execution, registration, and reported Web-chat verification.

从零开发 DeepSeek Harness 插件——完成第一个插件的挂载与运行

上一篇我们理解了 Cordis 的基本概念,也梳理了 DSH 中插件、服务和工具之间的关系。

这一次,终于可以动手了。

这篇文章不准备一上来就写一个复杂插件,而是从一个最简单的例子开始:创建一个自己的插件,让 DSH 能够发现它、加载它,最后再让 AI 在对话中真正调用它。

整个过程分成两个版本:

  • 0.1.0:基础开发。 创建插件项目,理解插件入口和配置,让 DSH 能够加载我们的插件。
  • 0.1.1:引入工具。 使用 DSH 提供的工具注册机制,注册一个 hello 工具,并在 Web 对话中验证模型可以调用它。

#DeepSeek#DeepSeek Harness#Cordis

Original · 13 min readRead the original
Group chat

No comments yet. Start the conversation.