@casemark/thurgood
v2.0.1
Published
Thurgood CLI - Legal engineer AI agent powered by Case.dev. Build legal applications with document processing, OCR, semantic search, vaults, and transcription APIs.
Downloads
889
Readme
Thurgood CLI
Legal engineer AI agent powered by Case.dev. Build legal applications with document processing, OCR, semantic search, vaults, and transcription APIs.
Installation
Install Thurgood globally using npm:
npm install -g @casemark/thurgoodQuick Start
# Authenticate with Case.dev
thurgood auth --key YOUR_API_KEY
# Or set via environment variable
export CASE_API_KEY=YOUR_API_KEY
# Start coding with AI
thurgood "Create a REST API for document processing"
# Use a specific model
thurgood -m anthropic/claude-sonnet-4 "Build a contract analyzer"
# Run in autonomous mode (no confirmations)
thurgood -y "Add error handling to the API"Available Models
Access top AI models through Case.dev's unified API:
casemark/casemark-core-1.5(default) - Optimized for legal applicationsanthropic/claude-sonnet-4- Fast and capableanthropic/claude-opus-4- Most capableopenai/gpt-4o- OpenAI's latestopenai/o3- Advanced reasoninggoogle/gemini-2.5-pro- Google's best
Features
- Legal-First AI: Native integration with Case.dev APIs for document processing
- Autonomous Coding: AI-powered code generation, editing, and refactoring
- Document Processing: OCR, semantic search, and transcription APIs built-in
- Vault Integration: Secure document storage and retrieval
- Multi-Model Support: Access any model through Case.dev's LLM Gateway
- Project Understanding: Analyzes codebases to provide context-aware assistance
Commands
thurgood # Start interactive mode
thurgood "prompt" # Run with a specific task
thurgood -m MODEL "prompt" # Use a specific model
thurgood -y "prompt" # Autonomous mode (no confirmations)
thurgood auth # Show auth status / login
thurgood auth --key KEY # Set API key directly
thurgood logout # Remove stored credentials
thurgood version # Show version infoRequirements
- Node.js 20.0.0 or higher
- Supported platforms: macOS, Linux
- Supported architectures: x64, arm64
Configuration
Thurgood stores configuration in ~/.thurgood/auth.json:
{
"api_key": "YOUR_CASE_API_KEY",
"model": "casemark/casemark-core-1.5"
}Or use environment variables:
CASE_API_KEY- Your Case.dev API key
Links
- Website: https://case.dev
- Documentation: https://docs.case.dev
- API Reference: https://docs.case.dev/api
- GitHub: https://github.com/casedotdev/thurgood
- VSCode Extension: Available in the VSCode Marketplace
License
Apache-2.0 - see LICENSE for details.
Support
- Report issues: GitHub Issues
- Documentation: docs.case.dev
