In the plugin system of DeepSeek Harness (DSH), agent development often involves interacting with external APIs. The dsh-http plugin provides developers with a direct HTTP request entry point, allowing network data retrieval without writing additional scripts.

Plugin Overview

This is a networking tool plugin maintained by uckkk. It is based on a pure Node environment and uses the fetch API to implement network request functionality.

Core Features

  • Request and Response: Initiates HTTP requests and returns the status code, response headers, response body (truncated), and elapsed time.
  • Implementation: Implemented with pure Node (fetch).

Installation and Usage

After installing the plugin, invoke the tools registered by the plugin in the session.

dsh plugin add github:uckkk/dsh-http

Typical Usage

Call the http_request function and pass in the target URL:

http_request(url="https://api.example.com/ping")

Notes

Installing the plugin runs third-party code on your local machine. Please review the source code yourself.

Conclusion

dsh-http adds network interaction capabilities to the DSH plugin ecosystem. For more details, see its GitHub repository.