Skip to content

SDK Overview

Flow-Like provides official SDKs for Node.js/TypeScript and Python that wrap the REST API into ergonomic, type-safe clients. Use them to control workflows, manage files, query LanceDB databases, run chat completions, generate embeddings, and more — all from your application code.

LanguagePackageInstall
Node.js / TypeScript@flow-like/sdknpm install @flow-like/sdk
Pythonflow-likeuv add flow-like
FeatureNode.jsPython
Trigger workflows (sync SSE + async)
Trigger events
File management (upload, download, list, delete)
LanceDB integration (credentials, queries, connections)
Chat completions (+ streaming)
Embeddings
Model discovery (LLMs, embeddings)
Board CRUD
App management
HTTP sinks
Execution monitoring / polling
LangChain integration
Async / await✅ nativea-prefixed methods

Both SDKs support two authentication methods:

TypePrefixHeader sentEnv variable
Personal Access Tokenpat_Authorization: pat_{id}.{secret}FLOW_LIKE_PAT
API Keyflk_X-API-Key: flk_{app}.{key}.{secret}FLOW_LIKE_API_KEY

The SDK auto-detects which header to use based on the token prefix.

Both SDKs read from environment variables by default:

Terminal window
export FLOW_LIKE_BASE_URL=https://api.flow-like.com
export FLOW_LIKE_PAT=pat_myid.mysecret
# or
export FLOW_LIKE_API_KEY=flk_appid.keyid.secret

Both SDKs include optional LangChain-compatible wrappers so you can use Flow-Like models inside LangChain chains, agents, and RAG pipelines.

  • Node.js: import { FlowLikeChatModel, FlowLikeEmbeddings } from "@flow-like/sdk/langchain"
  • Python: from flow_like.langchain import FlowLikeChatModel, FlowLikeEmbeddings

See the language-specific pages for installation and usage details.