DeepSeek Harness: शुरुआत, चार मोड और plugin सीमाएँ
DeepSeek Harness को अलग test folder में चलाएँ, चारों modes का सही उपयोग समझें और plugin permissions देने से पहले Trajectory जाँचें।
DeepSeek Harness एक open-source agent environment है जिसमें model, tools, skills, session, sandbox, storage, agent loop, scheduling और UI को plugins के रूप में जोड़ा जा सकता है। DeepSeek इसे Developer Preview कहता है, इसलिए पहला लक्ष्य production repository नहीं, बल्कि अलग folder में एक साफ और जाँचने योग्य run होना चाहिए।
यदि model को custom API endpoint से जोड़ना है, तो plugin install करने से पहले protocol, Base URL और authentication जाँचें। BetterToken.ai custom Base URL स्वीकार करने वाले tools के लिए OpenAI-compatible और Anthropic-compatible interfaces देता है, लेकिन इससे हर Harness plugin की compatibility सिद्ध नहीं होती। BetterToken API documentation में provider schema और API Key setup मिलाएँ, फिर test folder में छोटा read-only task चलाएँ।
Harness क्या जोड़ता है
Official repository MIT license के तहत है और Cordis पर आधारित है। Cordis plugins को load, unload और उनकी dependencies manage करता है; agent की वास्तविक क्षमताएँ plugins से आती हैं। इससे model, tool layer या session behavior को अलग-अलग बदला और जाँचा जा सकता है।
पहला सुरक्षित run
Node.js install करने के बाद Web UI शुरू करें:
- secrets और uncommitted changes के बिना empty test folder या clean clone बनाएँ।
- Standard mode चुनें।
- entry point ढूँढने या project structure समझाने जैसा read-only task दें।
- उत्तर को असली files से मिलाएँ और edit की अनुमति देने से पहले Trajectory देखें।
यह isolation सामान्य engineering control है; Harness हर shell command को अपने आप सुरक्षित नहीं बनाता।
चार modes में चुनाव
- Standard: file editing, shell, search, skills, plans, goals, subagents और workflows वाला पूरा coding agent। पहली वास्तविक task के लिए यही default है।
- PTC: Standard के साथ Code Mode SDK; model कई tool calls को TypeScript program में जोड़ता है। Generated code और हर tool boundary जाँचें।
- Minimal: केवल persistent bash और
str_replace_editor। Minimal environment या benchmark baseline के लिए उपयोगी है। - Creation: Standard के साथ runtime inspection, memory में Cordis plugin experiments और custom preset creation। इसे preset design के लिए चुनें।
PTC बेहतर उत्तर की guarantee नहीं देता; उसका लाभ orchestration को पढ़ने और दोहराने में है। Minimal रोजमर्रा का छोटा Standard नहीं, बल्कि diagnostic baseline है।
Trajectory में क्या देखें
DeepSeek के अनुसार system prompt, tool calls और results, subagent scheduling तथा context injection append-only session log में जाते हैं। Trajectory में जाँचें कि agent ने कौन-सी files और command output वास्तव में देखीं, unexpected tool call कहाँ आया और run permissions, tool या context की कमी से क्यों रुका।
हर plugin के लिए तीन बातें लिखें: वह कौन-सी कमी पूरी करता है, किस data और permission तक पहुँचता है, और regression पर rollback कैसे होगा। Community plugin install करने से पहले source और dependencies पढ़ें। वास्तविक data पर जाने से पहले official quickstart दोबारा जाँचें, क्योंकि Developer Preview में breaking changes अपेक्षित हैं।