HumanLayer
FreemiumHumanLayer is a powerful API and SDK that allows AI agents to interact with humans for approval, feedback, and assistance. It enhances AI workflows by adding human oversight, making them more reliable and adaptable. The tool supports various communication channels and integrates seamlessly with existing frameworks and LLMs.
What is HumanLayer?
HumanLayer is an API and SDK that enables AI agents to interact with humans for assistance, feedback, and approvals. It provides human-in-the-loop capabilities, allowing developers to build AI agents that feel like real coworkers. HumanLayer supports multiple communication channels such as Slack, Email, and Discord, and integrates with major orchestration frameworks and LLMs. It is ideal for developers and teams looking to add human oversight to their AI workflows.
Core Technologies
Use Cases
- AI agents requiring human approval for critical decisions.
- Workflows needing human feedback to improve agent performance.
- Agentic AI workflows that need human oversight for production-grade reliability.
- Automated lead generation with human feedback on lead quality.
Our Benefits
- Enables human oversight of AI agent actions.
- Supports multiple communication channels.
- Integrates with existing LLMs and frameworks.
- Offers granular control over approval routing.
- Allows for learning and auto-approvals based on past interactions.
Key Features
- Require Human Approval for Function Calls
- OmniChannel Contact (Slack, Email, Discord)
- Advanced Approval Workflows with Escalations and Timeouts
- Human as Tool (hl.human_as_tool())
- Granular Routing of Approvals
- LLM and Framework Agnostic
How to Use
Integrate the HumanLayer SDK into your AI agent workflow.
Use the @hl.require_approval() decorator to block function calls requiring human oversight.
Contact humans through various channels like Slack, Email, or Discord.
Route approvals to specific teams or individuals based on your workflow needs.
Pros & Cons
Pros
- Enables human oversight of AI agent actions.
- Supports multiple communication channels.
- Integrates with existing LLMs and frameworks.
- Offers granular control over approval routing.
- Allows for learning and auto-approvals based on past interactions.
Cons
- Adds complexity to AI agent development.
- Requires active users to approve or respond to agent requests.
- Limited data retention on the Starter plan.
Frequently Asked Questions
What is an active user?
What are Learning and Auto Approvals?
What are Escalations and Timeouts?
What about Exporting Datasets for Training and Evals?
Contents
Pricing Plans
Free forever for Hackers and Tinkerers. 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. Limited Data Retention.
Collaborate and scale. Remove HumanLayer Branding (BYO app/keys). Includes 2000 operations/month ($18/200 add'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.
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.