Login or sign up
For business
Average rating
0.0/ 5

Based on 0 reviews

50%
40%
30%
20%
10%
Ask AI

Questions about HITL sdk

Based on reviews, listing data and website checks · updated 2 days ago

What is HITL sdk?

HITL sdk is a TypeScript software development kit that provides a human-in-the-loop approval layer for AI workflows. It allows developers to pause automated workflows and suspend them for hours or days until a human provides approval through a single await call. The SDK is platform-agnostic and integrates with chat tools such as Slack, Microsoft Teams, Google Chat, Discord, and WhatsApp, as well as workflow engines including Vercel Workflow SDK, Inngest, Temporal, and Upstash Workflow. It supports multiple persistence backends such as PostgreSQL, SQLite, and Redis.

How does the approval process work step by step?

The SDK replaces custom polling, queueing, and retry logic with a unified code-based approach to human oversight. Instead of managing database rows, cron jobs, or webhook listeners, developers use a single waitForHuman call to handle the entire approval process. This eliminates the need for manual polling loops and custom retry mechanisms within the application code.

How can I get started or install the SDK?

Developers can install the SDK using npm with the command npm i @hitl-sdk/hitl or by following the quick start guide on the website. The documentation provides a guide at https://hitl-sdk.dev/onboard.md to help users get started quickly. A simple workflow example is available to show how to draft an email and wait for human approval before sending it.

What specific approval features and actions are available?

The SDK allows approval with editable fields, denial with a reason, and custom actions for any workflow pattern. Users can approve with editable fields like subject and body, or deny with a text area for the reason. Custom actions can be defined for patterns like review, expense report, production deploy, refund access, or request data.

What does platform-agnostic mean in this context?

The platform is designed to be agnostic across chat platforms, workflow engines, and persistence layers. This means it does not lock users into a specific technology stack or provider. The SDK can be integrated into any existing infrastructure without requiring changes to the underlying chat tool or database system.

How does the SDK reduce code complexity?

The SDK simplifies the code by replacing polling, queues, and resume logic with a single await statement. It removes the need for manual sleep functions, database row checks, and expiration logic. The code example shows how a simple await replaces a complex while loop with database queries and sleep delays.

How can I handle reminders or escalations?

The SDK allows reminders or escalations at any time during the approval process. Developers can configure actions to notify users or escalate the request if it remains pending. The code snippet demonstrates how to build approval blocks with actions for approve, deny, and custom fields.

Who is the target audience for this SDK?

The SDK is written in TypeScript and is designed for developers working with AI workflows. It targets mission-critical applications where human oversight is required before automated actions are executed. The code examples use TypeScript syntax and demonstrate integration with common web development tools.

What is the main benefit of using this SDK?

The SDK provides a unified approach to human-in-the-loop approval without requiring custom retry logic. It handles the entire lifecycle from drafting to approval or denial in a single function call. The code example shows how to define fields for subject and body with default values from the draft.

How do I use the waitForHuman function?

The SDK includes a waitForHuman function that accepts a message and actions object. The actions object can include approve with fields, deny with fields, or custom actions. The function returns a resolved object that can be checked to determine if the approval was granted or denied.

What is the official website of HITL sdk?

The official website of HITL sdk is hitl-sdk.dev.

Does HITL sdk have reviews on Trustburn?

HITL sdk has no reviews on Trustburn yet. Anyone who has used it can write the first review on its Trustburn page.

AI-generated from reviews on this page. Verify anything important with the company directly.

No reviews yet

Be the first to review HITL sdk.

Write a review

News

No news yet. This is where the business shares its own updates and press.

Photos

No photos yet. Photos shared by reviewers will show up here.

Widgets

Boost your business trust by displaying a widget on your website — a simple way to convert your visitors into customers.

Get the widget for your site →

About HITL sdk

HITL sdk is a TypeScript software development kit that provides a human-in-the-loop approval layer for AI workflows. It allows developers to pause automated workflows and suspend them for hours or days until a human provides approval through a single await call. The SDK is platform-agnostic and integrates with chat tools such as Slack, Microsoft Teams, Google Chat, Discord, and WhatsApp, as well as workflow engines including Vercel Workflow SDK, Inngest, Temporal, and Upstash Workflow. It supports multiple persistence backends such as PostgreSQL, SQLite, and Redis. The product is aimed at replacing custom polling, queueing, and retry logic with a unified code-based approach to human oversight.