BaseAI — The Web AI Framework

The easiest way to build serverless autonomous AI agents with memory. Start building local-first, agentic pipes, tools, and memory. Deploy serverless with one command.

Stars
★ 1.3k
Last updated
6mo ago
FARS reviewed
Nov 08, 2026
License
NOASSERTION
Primary language
TypeScript

At a glance

How it runs
CLILibrary / SDKFramework
Works with
Platform-specific
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.jsnpxtsxLLM API keysShell / CLINetwork accessLocal filesystem
Typical use
A developer wants to quickly prototype an AI agent with custom system prompts and tool calling, using the CLI to scaffold the project.
Not a fit if
  • Teams needing a maintained project; it is archived
  • Users who want to avoid Langbase cloud and API key lock-in
Website
baseai.dev ↗ set on GitHub
Maintenance
No commits for 6+ monthslast commit 2026-05-16

What does this agent do, and when should you use it?

BaseAI is a TypeScript-first framework for building serverless and composable AI agents with memory and tools. It enables local development of AI agent pipes, integrating agentic tools and memory (RAG), then deployment to serverless with a single command. The repository provides CLI commands for initialization, pipe creation, and running a dev server, plus the @baseai/core library for programmatic use. The project is now archived in favor of Langbase AI Primitives, which offer more flexibility with APIs and SDKs.

BaseAI CLI commands: npx baseai@latest init creates a baseai directory with baseai.config.ts, memory, pipes, and tools subfolders. npx baseai@latest pipe interactively scaffolds a pipe configuration in TypeScript, allowing specification of model, parameters, system prompt, tools, and memory. npx baseai@latest dev starts a local server. The @baseai/core package exports Pipe and getRunner for integration. The Pipe class takes a config object and its run() method accepts messages, returning a stream that can be consumed via event listeners for content, errors, and end events.

  1. A developer wants to quickly prototype an AI agent with custom system prompts and tool calling, using the CLI to scaffold the project.
  2. A team building a RAG-powered agent can leverage BaseAI's memory feature for local indexing and retrieval.
  3. An organization aiming to deploy AI agents as serverless APIs benefits from the one-command deployment to Langbase.
  4. Node.js developers seeking streaming responses in their apps use the Pipe class and getRunner to handle async events.
  5. Developers evaluating framework vs. primitives can learn from BaseAI's implementation when considering Langbase.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx baseai@latest init
  • npx baseai@latest pipe
  • npx baseai@latest dev
  • npx tsx index.ts
Environment variables
LANGBASE_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY
Config files
.env

How do you install or deploy this agent?

Requires Node.js. Run npx baseai@latest init in your project directory. Then configure a .env file with LANGBASE_API_KEY and API keys for the LLM providers you intend to use (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY).

How do you use this agent?

  1. Initialize with npx baseai@latest init. 2. Add API keys to .env. 3. Create a pipe with npx baseai@latest pipe and edit the generated configuration. 4. In your app, import the pipe config, instantiate new Pipe(pipeConfig), and call pipe.run({ messages }) to get a stream. 5. Start the local server with npx baseai@latest dev and run your script with npx tsx index.ts.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • TypeScript-first development offers type safety and a good developer experience
  • Local-first development with integrated memory and tools accelerates iteration
  • One-command serverless deployment simplifies operations
  • Supports multiple LLM providers including OpenAI, Anthropic, Cohere, and others
Limitations
  • Archived project is no longer actively maintained, risking lack of updates
  • Dependency on Langbase platform for deployment and API key management creates lock-in
  • Configuration of multiple API keys can become complex when using many providers
  • Framework constraints might not suit highly customized or dynamically evolving agent requirements

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
BaseAI — The Web AI Framework This agent 48 · Major gaps CLIFree + model costs ★ 1.3k 6mo ago TypeScript —
Remnic Agent Memory 73 · Some gaps CLIFree + model costs ★ 243 1d ago TypeScript ChatGPT · Codex · Claude Code · OpenAI API
Genkit: Open Framework for Full-Stack AI Apps 62 · Some gaps Library / SDKFree + model costs ★ 6.7k today TypeScript OpenAI API · Claude API
LangChain 62 · Some gaps Library / SDKFree + model costs ★ 150k today Python OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
48/ 100 5-point scale 2.4 / 5
Trust 12/29
Reliability 5/14
Adaptability 9/18
Convention 11/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README explicitly says API keys belong on the server and distinguishes production from local keys. Its example exposes the use of Langbase and model-provider credentials and shows message flow, but does not explain retention, transfer boundaries, or secure storage, so data-flow and sensitive-data handling receive only partial credit. The CLI includes commands such as deploy and embed that can have external effects; the supplied code shows no confirmation or rollback mechanism. A security-reporting email and author list provide some attribution evidence, but do not verify publisher identity.

Reliability5 / 14 · 1.8/5

The README gives a coherent initialization-to-run sequence and sample output, and the CLI entry point lists the main commands. However, the README says the project is archived and recommends migrating to Langbase AI Primitives, which conflicts with its continued BaseAI installation and deployment guidance. The supplied material does not pin dependencies or show detailed failure handling, so dependency availability and failure messaging receive low scores.

Adaptability9 / 18 · 2.5/5

The materials target TypeScript developers and cover local development, server deployment, pipes, tools, and memory/RAG, while specifying Node.js and environment-variable needs. They do not clearly define the framework's capabilities or limitations. The README still presents BaseAI as a framework to use while announcing that it is archived, leaving fit and boundaries only partly clear.

Convention11 / 18 · 3.1/5

The README organizes initialization, configuration, creation, integration, and execution into steps, with code examples, documentation links, author information, and a security-reporting channel. The root LICENSE contains the Apache 2.0 text. The README declares the project archived, but the packet provides no release history or future maintenance plan. The NOASSERTION license metadata differs from the repository LICENSE text, and the archive notice does not fully establish who owns updates or what the update path is.

Effectiveness7 / 13 · 2.7/5

The pipe example and CLI command list make the basic workflow understandable, and the memory/RAG guidance shows value beyond a basic model call. However, the quick start depends on an external Langbase service and multiple API keys. The project is archived and the README recommends a different set of primitives, reducing the value of adopting it now and increasing migration concerns.

Verifiability4 / 8 · 2.5/5

Core usage guidance has supporting clues in the README commands and code snippets and in the supplied CLI entry point; the license is also supported by a separate file. The packet contains only the README, one entry-point file, package.json, and LICENSE, so most feature claims cannot be corroborated across sources. The sample output and capability statements are documentation claims, not results independently verified in this static review.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The README says BaseAI is archived and recommends Langbase AI Primitives; do not assume the framework is actively maintained.
  • Examples use server-side and local API keys and involve messages and memory/RAG. The supplied materials do not explain data retention, transfer details, or rollback after deployment.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 17c75fa49302
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/baseai.svg)](https://followagents.com/en/agents/baseai)
<a href="https://followagents.com/en/agents/baseai"><img src="https://followagents.com/badge/baseai.svg" alt="FARS review"></a>

FAQ

Does BaseAI require a Langbase API key?
Yes, pipe configurations require a LANGBASE_API_KEY for local execution and deployment.
Can I run BaseAI locally without deploying?
Yes, npx baseai@latest dev starts a local server, but you need to configure LLM API keys in .env.
What is the difference between BaseAI and Langbase AI Primitives?
BaseAI is a framework that is now archived; Langbase provides more flexible primitives (pipes, memory, agents) as APIs with SDKs for any language.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts