Installation
TrikHub supports both TypeScript/JavaScript and Python projects.
Quick Setup
1. Install the TrikHub CLI globally
npm install -g @trikhub/cli
trik --version2. Add packages to your project
npm install @trikhub/gateway @trikhub/manifest3. Install triks
trik search <keywords>
trik install @org/trik-name4. Verify installation
trik listRequirements
- Node.js 18.0 or later
- npm, yarn, or pnpm
What’s Included
| Package | Purpose |
|---|---|
@trikhub/cli | Command-line tool for managing triks |
@trikhub/gateway | Runtime for loading and executing triks |
@trikhub/manifest | TypeScript types for trik manifests |
Cross-Environment Support
Both runtimes can execute triks written in either language:
- TypeScript gateway can run Python triks via a worker subprocess
- Python gateway can run JavaScript triks via a Node.js subprocess
This means you can use any trik regardless of what language your agent is written in. See Cross-Environment Execution for details.
Next Steps
With packages installed, continue to the LangGraph Binding.