Human in the Loop for AI Agents

HumanLayer is an API and SDK that enables AI Agents to contact humans for feedback, input, and approvals.

Guarantee human oversight of high-stakes function calls with approval workflows across slack, email and more.

Bring your LLM and Framework of choice and empower your AI agents with safe access to the world.

Backed by
Platform

How it works

Approval Workflows

Approval in code
Approval in Slack

Human as Tool

Human as Tool in code
Human as Tool in Slack

Custom Responses and Escalations

Custom Responses in code
Custom Responses in Slack

Support for your Favorite Framework + LLM

LangChain
CrewAI
ControlFlow
LlamaIndex
Haystack

+

OpenAI
Claude
Llama3.1
Mistral
Gemini
Cohere

Key Features

Require Human Approval for Function Calls

The @hl.require_approval() decorator blocks specific function calls until a human has been consulted - upon denial, feedback will be passed to the LLM.

Human as Tool

Generic hl.human_as_tool() allows for contacting a human for answers, advice, or feedback.

OmniChannel Contact

Contact humans and collect responses across Slack, Email, Discord, and more.

Granular Routing

Route approvals to specific teams or individuals.

Advanced Approvals

Coordinate approvals across multiple teams and individuals with escalations and timeouts.

Bring your own LLM + Framework:

Because HumanLayer is implemented at tools layer, it supports any LLM and all major orchestration frameworks that support tool calling.

Pricing

Starter

Free forever for Hackers and Tinkerers

$0/mo.
Works with all popular frameworks
100 operations / month
Pay as you go ($20/200 addt'l)
Send to Slack, Email, Discord
Up to 10 active users
Get started

Premium

Collaborate and scale

$500
/month
Remove HumanLayer Branding (BYO app/keys)
Includes 2000 operations/month ($18/200 addt'l)
Advanced Approval Workflows w/ Escalations and Timeouts
Learning and Auto Approvals
Channels for MSTeams, SMS, RCS
Priority Support
180-day retention on feedback datasets export
Let's Chat

Enterprise

Go Big

Custom
Option to deploy into your Private VPC or on-prem
RBAC and SSO support
Volume discounts
Custom notification channels
Expert Advice on custom-built agents for sales, marketing, hiring, and more.
Let's Chat

Pricing FAQ

What's an active user?

An active user is any user that is registered to approve or respond to agents.

Learning and Auto Approvals

Learning and Auto Approvals allow you to set a threshold for automatically approving or denying requests based on past human interactions.

Escalations and Timeouts

Escalations and Timeouts allow you to coordinate approvals across multiple teams and individuals with escalations and timeouts.

Supports Promise.race() and Promise.all() semantics.

Exporting Datasets for Training and Evals

With HumanLayer, you can take the live feedback from your Human SMEs and periodically export it to one or more high-fidelity labeled datasets to power either fine-tuning, evals, or both.