Introduction¶
DeepSeek Harness (DSH) extends capabilities through a plugin mechanism. @accurlex/dsh-legal is a plugin that connects DSH with the accurLex Open Platform. It directly calls the REST API and does not rely on the legacy MCP/stdio/JWT integration approaches.
Plugin Information¶
- Name:
@accurlex/dsh-legal - Maintainer: MrPunchLeonardo
- Category: Workflow
- License: MIT
- Repository: MrPunchLeonardo/accurlex-dsh-legal
Core Features¶
This plugin provides the following tools:
- accurlex_legal_qa: Legal question answering
- accurlex_law_search: Statute/legal provision search
- accurlex_contract_review: Contract review
- accurlex_document_draft: Document drafting
- accurlex_account_usage: Usage inquiry
Installation and Enablement¶
Before installation, configure the environment variable.
1、Configure the environment variable
$env:ACCURLEX_API_KEY = 'ak_live_***'
2、Install the plugin
dsh plugin --profile web add @accurlex/dsh-legal
3、Start Web
dsh web
Note: The demo profile is only for registration checks and cannot be used for actual Agent tasks.
Configure API Key¶
The plugin calls the real accurLex Open Platform API, so the Key must be configured. It is recommended to set the environment variable in the same process environment as the one used to start DSH, and do not write the real Key into repositories or logs.
$env:ACCURLEX_API_KEY = 'ak_live_***'
Tool Usage Instructions¶
- Usage inquiry: Call
accurlex_account_usageto check the Key status. - Legal question answering: Call
accurlex_legal_qa, and usestream: truein the request to receive long responses.
Notes¶
- The plugin does not store API Keys, request bodies, contract content, response bodies, or workspace paths.
- Requests use
stream: trueto receive long responses. - The default tool timeout is 10 minutes;
toolCallTimeoutMscan be overridden in the configuration. - The plugin is published only under the MIT License and does not represent the accurLex platform or API.