Installation

TrikHub supports both TypeScript/JavaScript and Python projects.

Quick Setup

1. Install the TrikHub CLI globally

npm install -g @trikhub/cli trik --version

2. Add packages to your project

npm install @trikhub/gateway @trikhub/manifest

3. Install triks

trik search <keywords> trik install @org/trik-name

4. Verify installation

trik list

Requirements

  • Node.js 18.0 or later
  • npm, yarn, or pnpm

What’s Included

PackagePurpose
@trikhub/cliCommand-line tool for managing triks
@trikhub/gatewayRuntime for loading and executing triks
@trikhub/manifestTypeScript 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.