BaseAI is a TypeScript-first framework for building local AI agent pipes with tools and RAG memory, deployable serverless.
Overview
BaseAI is a web AI framework for building serverless, composable AI agents with memory and tools. You initialize a project to create a baseai directory, add LLM API keys in environment files, define pipes as custom agent APIs, and run them locally through a BaseAI server before deploying serverless.
A pipe bundles model parameters, system prompts, and agent behavior. You import pipe configuration, instantiate the pipe, send user messages, and stream responses from your application code. The framework supports integrated agentic tools and retrieval-augmented memory, with quickstart material for memory agents on BaseAI.dev.
BaseAI is archived in favor of Langbase AI Primitives; maintainers argue that fast-moving AI work fits composable primitives and SDKs better than monolithic frameworks. Documentation and a learn course remain available on BaseAI.dev for agents, tools, and memory patterns.
Security issues are reported privately to the Langbase security contact rather than public issues.
Key features
- TypeScript project scaffolding
- Configurable AI agent pipes
- Local BaseAI dev server
- Streaming pipe responses
- Agentic tools integration
- RAG memory support
- Serverless deployment path
- LLM API key configuration
Use cases
- Prototyping AI agent APIs in TypeScript
- Local development of RAG agents
- Shipping composable LLM features
- Learning agent pipe patterns
- Experimenting before serverless deploy