Skip to content
프로젝트

소개

사람이 참여하는 루프, 구조화된 출력, 지속 실행을 활용해 안정적인 AI 워크플로와 에이전트를 구축합니다.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
Inferable Logo

Inferable

Build reliable AI Workflows with humans in the loop

NPM Version GitHub go.mod Go version NuGet Version License

What is Inferable?

Inferable is a managed durable execution runtime for creating AI workflows with humans in the loop. Create structured outputs from any LLM, ask humans for approval via Slack or Email, with versioned, long-running workflows for backwards compatibility.

Timeline View

⚡️ Quick Start

Follow the quick start guide to get started with Inferable.

🔑 Key Features

Here are some of the key features of Inferable.

📦 Workflows that execute in your own infrastructure

Workflows execute in your own infrastructure, even behind firewalls or private VPCs. No deployment step is required. We use long polling to connect to your infrastructure, so there is no need to open any inbound ports.

const workflow = inferable.workflows.create({
  name: "simple",
  inputSchema: z.object({
    executionId: z.string(),
    greeting: z.string(),
  }),
});

🔄 Versioned Workflows for backward compatibility

When you need to change the input schema or the logic of a workflow, you can create a new version of the workflow. Inferable will maintain version affinity for currently executing workflows, so you can roll out new versions gradually. See Workflows.

workflow.version(1).define(async (ctx, input) => {
  // ...
});

workflow.version(2).define(async (ctx, input) => {
  // ...
});

🧑‍💼 Human-in-the-Loop with approval workflows

Inferable allows you to integrate human approval and intervention with full context preservation. See Human-in-the-Loop.

deleteUserWorkflow.version(1).define(async (ctx, input) => {
  // ... existing workflow code ...

  if (!ctx.approved) {
    return Interrupt.approval({
      message: `I need your approval to delete the user ${input.userId}. Is this ok?`,
      destination: {
        type: "email",
        // The email address to notify
        email: "[email protected]",
      },
    });
  }

  await db.customers.delete({
    userId: input.userId,
  });
});

🏗️ Structured Outputs with automatic parsing, validation, and retries

Inferable automatically parses and validates structured outputs, and retries failed executions. See Structured Outputs.

workflow.version(1).define(async (ctx, input) => {
  const { ticketType } = ctx.llm.structured({
    input: `Ticket text: ${input.ticketText}`,
    schema: z.object({
      ticketType: z.enum(["data-deletion", "refund", "other"]),
    }),
  });

  // do something with the items
  console.log(ticketType);
});

And more stuff...

  • Notifications to send notifications to users via Slack or Email.
  • Memoized Results to cache the results of side-effects and expensive operations in a distributed way.
  • Obervability in a timeline view, or plug into your own observability tools.
  • Agents to create agents that can use tools to achieve pre-defined goals.
  • Developer-friendly SDKs in Node.js, and Go supported with more languages coming soon.

Workflow Timeline

📚 Language Support

Language Source Package
Node.js / TypeScript Quick start NPM
Go Quick start Go

🚀 Open Source

This repository contains the Inferable control-plane, as well as SDKs for various languages.

Core services:

  • /control-plane - The core Inferable control plane service
  • /app - Playground front-end and management console
  • /cli - Command-line interface tool (alpha)

SDKs:

  • /sdk-node - Node.js/TypeScript SDK
  • /sdk-go - Go SDK
  • /sdk-dotnet - .NET SDK (experimental)

💾 Self Hosting

Inferable is completely open source and can be self-hosted on your own infrastructure for complete control over your data and compute. This gives you:

  • Full control over your data and models
  • No vendor lock-in
  • Enhanced security with your own infrastructure
  • Customization options to fit your specific needs

See our self hosting guide for more details.

🤝 Contributing

We welcome contributions to all projects in the Inferable repository. Please read our contributing guidelines before submitting any pull requests.

📝 License

All code in this repository is licensed under the MIT License.

관련 프로젝트 살펴보기

불러오는 중…