DeepSpace is a powerful debugging and monitoring tool for the DeepSeek API, developed by the community and inspired by MoonPalace.
- Cross-platform Support:
- Mac (Intel & Apple Silicon)
- Windows
- Linux
- User-friendly Interface:
- Simple setup: Just replace
base_url
withhttp://localhost:9988
after starting the service - Beautiful console output with color-coded information
- Intuitive command-line interface
- Simple setup: Just replace
- Comprehensive Request Monitoring:
- Complete request and response capture
- Detailed error tracking and debugging information
- Network failure analysis and diagnostics
- Advanced Search & Analysis:
- Quick retrieval using
request_id
orchatcmpl_id
- Filtering and sorting capabilities
- Request history tracking
- Quick retrieval using
- Professional Debugging Tools:
- One-click export of structured BadCase reports
- Request timing analysis
- Performance metrics tracking
- Security & Privacy:
- Local proxy server
- No data sent to external servers
- Full control over your API interactions
If you have the Go toolchain installed, install DeepSpace with:
$ go install github.com/2404589803/deepspace@latest
The binary will be installed in your $GOPATH/bin/
directory.
Download pre-compiled binaries from Releases:
deepspace-linux
- For Linux systemsdeepspace-macos-amd64
- For Intel-based Macsdeepspace-macos-arm64
- For Apple Silicon Macsdeepspace-windows.exe
- For Windows systems
$ deepspace start [--port <PORT>] [--host <HOST>]
Options:
--port
: Specify listening port (default: 9988)--host
: Specify host address (default: 127.0.0.1)
$ deepspace list [--limit <N>] [--offset <N>] [--id <REQUEST_ID>]
$ deepspace inspect <REQUEST_ID>
$ deepspace export <REQUEST_ID> [--output <FILE>]
$ deepspace cleanup [--before <DATE>]
You can filter requests using various criteria:
- By date range
- By status code
- By response time
- By request type
DeepSpace provides detailed timing information:
- Total request duration
- Time to first token (TTFT)
- Token processing speed
- Network latency
When errors occur, DeepSpace captures:
- Full error stack traces
- Network conditions
- Request/response headers
- System state information
We welcome contributions! Please feel free to:
- Submit bug reports
- Propose new features
- Create pull requests
- Improve documentation
For bug reports and feature requests, please use the GitHub issues system.
For BadCase reports and API-related issues, you can submit exported files to: [email protected]
This project is licensed under the MIT License - see the LICENSE file for details.