Skip to content

Commit 638ecd5

Browse files
committed
📦 NEW: why
1 parent 63a43fe commit 638ecd5

File tree

4 files changed

+102
-16
lines changed

4 files changed

+102
-16
lines changed

‎apps/baseai.dev/content/docs/docs/index.mdx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,48 @@ BaseAI helps developers locally build AI agents, memory (RAG), and then deploy t
1919
1. Start by building local AI agents [Pipes](/docs/pipe/quickstart)
2020
2. Then create a local managed semantic [memory (RAG)](/docs/memory/quickstart) so your AI can talk to your data
2121

22+
2223
<CTAButtons
2324
primary={{ href: '/learn', text: '⌘ Learn BaseAI', sub:'(Pipes, Tools, Memory)' }}
2425
secondary={{ href: 'https://github.com/LangbaseInc/baseai', text: '★ Star BaseAI on GitHub' }}
2526
/>
2627

2728
---
2829

30+
## Why we created BaseAI
31+
32+
<SpoilerAdvanced title="Built for Web Developers" sub="90% AI use-cases are on the web — BaseAI is API, TypeScript, and web first">
33+
BaseAI is web-first with TypeScript support and a familiar RESTful API. Integrate AI into your web stack as easily as adding a React component or API route—whether you're using Next.js, Vue, or vanilla Node.js. With most AI use cases on the web, BaseAI helps you ship AI features faster.
34+
</SpoilerAdvanced>
35+
36+
<SpoilerAdvanced title="Local-First Development" sub="Zero-cost local development, version-control, and complete observability logs">
37+
Develop AI features on your machine with zero cloud costs. Git integrates out of the box, so you can branch and merge AI models like code. Complete observability logs let you debug AI like JavaScript—trace decisions, data points, and outputs. It's like Chrome DevTools for your AI.
38+
</SpoilerAdvanced>
39+
40+
<SpoilerAdvanced title="Deploy to Serverless AI Cloud" sub="Seriously easy to deploy: One command serverless deployment on ⌘ Langbase">
41+
Deploy your AI with a single command:
42+
43+
```shell
44+
npx baseai@latest deploy
45+
```
46+
47+
BaseAI handles deployment to ⌘ Langbase, a serverless composable AI developers platform. No complex kubernetes, docker container, or hybrid cloud configs. Your AI scales effortlessly from zero to billions of requests. Most companies switch to Langbase for its simplicity, cost effectiveness, going from 5-7 different vendors to one.
48+
</SpoilerAdvanced>
49+
50+
<SpoilerAdvanced title="Self-Healing Agentic Tool-Calling" sub="Auto tool calls and result handling with self-healing agents to 21% extra reduced hallucinations">
51+
BaseAI reduces AI hallucinations by 21% with self-healing agentic tool-calling and agentic memory (for deep reasoning like OpenAI's o1 but with 100+ LLMs). Your AI not only uses tools but also detects and corrects its own errors—re-querying or seeking additional data when needed. This makes your AI more reliable and trustworthy.
52+
</SpoilerAdvanced>
53+
54+
<SpoilerAdvanced title="Full-Stack Memory x RAG Vector Store" sub="Vector db's aren't enough, full-spectrum parsing, chunking, attributes, retrieval testing, and similarity search">
55+
BaseAI offers a full-stack memory system beyond traditional vector stores. It provides full-spectrum parsing for context understanding, intelligent chunking for optimal retrieval, and attribution for transparency. With retrieval testing and advanced similarity search, your AI finds not just similar info but the right info.
56+
</SpoilerAdvanced>
57+
58+
<SpoilerAdvanced title="Composable AI: Agentic ( Pipes | Tools | Memory )" sub="Like React components or Docker containers, AI pipes are composable agents of AI automation workflows">
59+
BaseAI introduces composable AI with agentic pipes, tools, and memory. Think of AI components like React components or Docker containers for AI logic. Snap together a sentiment analysis pipe with a support ticket response generator. Add memory to your chatbot as a module. Context switch between ten different memories and 200+ agentic tool calls in one single auto-healing workflow. These agentic components can make decisions and adapt, enabling scalable, reusable AI workflows.
60+
</SpoilerAdvanced>
61+
62+
---
63+
2964
<ProductsTable />
3065

3166
---

‎apps/baseai.dev/src/components/mdx/index.tsx

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Code, CodeGroup, Pre } from '@/components/Code';
12
import { CodeExamples } from '@/components/CodeExamples';
23
import { Heading as HeadingComp } from '@/components/Heading';
34
import Image from '@/components/Img';
@@ -10,18 +11,18 @@ import { Properties } from '@/components/mdx/Properties';
1011
import { Property } from '@/components/mdx/Property';
1112
import { Row } from '@/components/mdx/Row';
1213
import { Spoiler } from '@/components/mdx/spoiler';
14+
import { SpoilerAdvanced } from '@/components/mdx/spoiler-advanced';
1315
import { Sub } from '@/components/mdx/sub-property';
1416
import { Warn } from '@/components/mdx/Warn';
1517
import { Wrapper } from '@/components/mdx/Wrapper';
1618
import { ProductsTable } from '@/components/table-products';
19+
import { InformationCircleIcon } from '@heroicons/react/24/solid';
1720
import Link from 'next/link';
21+
import BaseAILogo from '../baseai-logo';
1822
import { Button } from '../Button';
19-
import { InformationCircleIcon } from '@heroicons/react/24/solid';
23+
import { Guides } from '../Guides';
2024
import { CTAButtons } from '../ui/cta-buttons';
2125
import { IconInfoCircle } from '../ui/icons/info';
22-
import { Code, CodeGroup, Pre } from '@/components/Code';
23-
import { Guides } from '../Guides';
24-
import BaseAILogo from '../baseai-logo';
2526

2627
export const MarkdownComponents = () => {
2728
return {
@@ -57,7 +58,12 @@ export const MarkdownComponents = () => {
5758
);
5859
},
5960
table: (props: any) => {
60-
return <table className="overflow-x-auto whitespace-nowrap" {...props} />;
61+
return (
62+
<table
63+
className="overflow-x-auto whitespace-nowrap"
64+
{...props}
65+
/>
66+
);
6167
},
6268
h2: (props: any) => {
6369
return <HeadingComp level={2} {...props} />;
@@ -98,6 +104,9 @@ export const MarkdownComponents = () => {
98104
Spoiler: (props: any) => {
99105
return <Spoiler {...props} />;
100106
},
107+
SpoilerAdvanced: (props: any) => {
108+
return <SpoilerAdvanced {...props} />;
109+
},
101110
Sub: (props: any) => {
102111
return <Sub {...props} />;
103112
},
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import {
2+
Accordion,
3+
AccordionContent,
4+
AccordionItem,
5+
AccordionTrigger
6+
} from '@/components/ui/accordion';
7+
8+
export function SpoilerAdvanced({
9+
title,
10+
sub,
11+
children
12+
}: {
13+
title: string;
14+
sub?: React.ReactNode;
15+
children: React.ReactNode;
16+
}) {
17+
return (
18+
<Accordion
19+
type="single"
20+
collapsible
21+
className="border-1 xborder-border xbg-background mb-0 mb-4 rounded-2xl border border-border px-4 [&>div>h3]:m-0"
22+
>
23+
<AccordionItem value={title} className="border-none">
24+
<AccordionTrigger>
25+
<div className="flex flex-col items-start justify-start text-left">
26+
<h3 className="no-prose m-0 text-[0.9rem] text-[#7E79D8] sm:text-lg">
27+
{title}
28+
</h3>
29+
<div className="m-0 text-muted-foreground/80">
30+
{sub}
31+
</div>
32+
</div>
33+
</AccordionTrigger>
34+
<AccordionContent>{children}</AccordionContent>
35+
</AccordionItem>
36+
</Accordion>
37+
);
38+
}

‎apps/baseai.dev/src/components/table-products.tsx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,30 @@ const TableRow: React.FC<TableRowProps> = ({ product, description, href }) => (
4242

4343
const AIPipesDescription: React.FC = () => (
4444
<>
45-
Your custom-built AI agent available locally and as an API. Local first, highly scalable, dynamic, and inexpensive when deployed.
46-
A new LLM computing primitive called{' '}
47-
<Link href="/docs/pipe/quickstart">Pipe</Link>. Pipe is the fastest way to ship your AI
48-
features in production. It&apos;s like having a composable GPT anywhere.
45+
Pipe is a serverless AI agent. Your custom-built AI agent available
46+
locally and online as an API. Local first, highly scalable, dynamic, and
47+
inexpensive when deployed. A new LLM computing primitive called{' '}
48+
<Link href="/docs/pipe/quickstart">Pipe</Link>. Pipe is the fastest way
49+
to ship your AI features in production. It&apos;s like having a
50+
composable GPT anywhere.
4951
</>
5052
);
5153

5254
const AIMemoryDescription: React.FC = () => (
5355
<>
54-
Memory is a managed search engine available locally and as an API for developers. Our
55-
long-term memory solution has the ability to acquire, process, retain,
56-
and later retrieve information. It combines vector storage, RAG
57-
(Retrieval-Augmented Generation), and internet access to help you build
58-
powerful AI features and products.
56+
Memory is a managed search engine available locally and as an API for
57+
developers. Our long-term memory solution has the ability to acquire,
58+
process, retain, and later retrieve information. It combines vector
59+
storage, RAG (Retrieval-Augmented Generation), and internet access to
60+
help you build powerful AI features and products.
5961
</>
6062
);
6163

6264
const LangbaseStudioDescription: React.FC = () => (
6365
<>
64-
Agentic AI tools that seamlessly work together with AI pipes. Extend the model capabilities of AI Pipes and AI Memory. Connect multiple AI pipes together via tools. Build truly composable AI agents with memory (RAG).
66+
Agentic AI tools that seamlessly work together with AI pipes. Extend the
67+
model capabilities of AI Pipes and AI Memory. Connect multiple AI pipes
68+
together via tools. Build truly composable AI agents with memory (RAG).
6569
</>
6670
);
6771

@@ -82,7 +86,7 @@ export const ProductsTable: React.FC = () => {
8286
href="/docs/memory/quickstart"
8387
/>
8488
<TableRow
85-
product={{ main: 'Tools' }}
89+
product={{ main: 'AI Tools', sub: 'Self-healing' }}
8690
description={<LangbaseStudioDescription />}
8791
href="/docs/tools/quickstart"
8892
/>

0 commit comments

Comments
 (0)