Back to Examples

Langbase

"Langbase offers comprehensive resources and courses for language learning, empowering users to master new languages effectively and confidently."

Lines
49,544
Sections
840

Want your own llms.txt file?

Generate a professional, AI-friendly file for your website in minutes!

llms.txt Preview

<doc>
    <metadata>
        <title>Page</title>
        <url>https://langbase.com/docs/</url>
    </metadata>
    <content>
import { Guides } from '@/components/Guides';
import { Resources } from '@/components/Resources';
import { Courses } from '@/components/Courses';
import { HeroPattern } from '@/components/HeroPattern';
import { generateMetadata } from '@/lib/generate-metadata';
<a href="https://studio.langbase.com" className="hidden lg:flex h-full w-full items-center justify-center mb-4">
    <img src="/docs/logo-bg-black.svg" className="flex h-full w-full mt-0 shadow-[0_2px_3px_0_theme(colors.black/15%),0_0_0_1px_theme(colors.white/1%),0_-1px_0_0_theme(colors.white/2%)] rounded-[3rem]" />
</a>
<h1 className="flex lg:hidden">Langbase Docs</h1>
### Langbase is the most powerful serverless AI cloud for building and deploying AI agents.
Build, deploy, and scale serverless AI agents with tools and memory (RAG). Simple AI primitives no bloated frameworks, all with a world-class developer experience without using any frameworks.
<CTAButtons
    primary={{ href: 'https://command.new', text: 'Vibe code AI agents', sub:'with Command.new' }}
    secondary={{ href: '/examples/agent-architectures', text: 'Agent architectures', sub:'(no frameworks)' }}
/>
---
<ProductsTable />
---
## Why Langbase?
Langbase is the best way to build and deploy AI agents.
Our mission: AI for all. Not just ML wizards. Every. Single. Developer.
**Build AI agents without any bloated frameworks**. You write the logic, we handle the logistics.
Compared to complex AI frameworks, Langbase is serverless and [the first composable AI platform][composable].
1. Start by building simple [AI agents (pipes)](/pipe)
2. Then train serverless semantic [Memory agents (RAG)](/memory) to get accurate and trusted results
<Img
caption="Langbase — The most powerful serverless AI Agents platform"
light="https://raw.githubusercontent.com/LangbaseInc/docs-images/refs/heads/main/langbase/why-langbase.jpg"
dark="https://raw.githubusercontent.com/LangbaseInc/docs-images/refs/heads/main/langbase/why-langbase.jpg"
/>
---
<Resources />
<Courses />
---
<Guides />
---
<Note sub="Join today">
**Langbase is free for anyone to [get started][signup]**.
We process billions of AI messages tokens daily, used by thousands of developers. [Tweet][x] us — what will you ship with Langbase?
It all [started][start] with a developer thinking … GPT is amazing, I want it everywhere, that's what ⌘ Langbase does for me.
</Note>
{/* <Features /> */}
[pipe]: /pipe
[memory]: /memory
[studio]: https://studio.langbase.com
[composable]: /composable-ai
[start]: https://langbase.fyi/starting-langbase
[signup]: https://langbase.fyi/awesome
[x]: https://twitter.com/LangbaseInc
[li]: https://www.linkedin.com/company/langbase/
[email]: mailto:[email protected]?subject=Pipe-Quickstart&body=Ref:%20https://langbase.com/docs/pipe/quickstart
[api]: /api-reference
[sdk]: /sdk
    </content>
</doc>

<doc>
    <metadata>
        <title>Tools</title>
        <url>https://langbase.com/docs/tools/</url>
    </metadata>
    <content>
import { generateMetadata } from '@/lib/generate-metadata';
<LanguageProvider defaultLanguage='typescript'>
# Tools
Tools, an AI Primitive by Langbase, allows you to extend the capabilities of your AI applications. They enable you to integrate functionality such as web search, crawling, and other specialized tasks into your AI workflows.
By using tools, you can enhance the performance and versatility of your AI agents, making them more capable of handling complex tasks and providing valuable insights.
<CTAButtons
	primary={{ href: '/sdk/tools', text: 'Start with Langbase SDK' }}
	secondary={{ href: '/api-reference/tools', text: 'API reference' }}
/>
---
## Quickstart: Using Langbase Tools
---
## Let's get started
In this guide, we'll use the Langbase SDK to interact with the Tools API, specifically focusing on web crawling and web search capabilities:
---
## Step #1: Generate Langbase API key
Every request you send to Langbase needs an [API key](/api-reference/api-keys). This guide assumes you already have one. If not, please check the instructions below.
<Spoiler title="Get your Langbase API key: User or Org">
You can generate API keys from the [Langbase Studio](https://studio.langbase.com) by following these steps:
1. Switch to your user or org account.
2. From the sidebar, click on the `API keys`.
3. From here you can create a new API key or manage existing ones.
</Spoiler>
<Note sub="External API Keys">
	Some tools require external API keys. For this guide, you'll need:
	- [Spider.cloud](https://spider.cloud) API key for web crawling
	- [Exa](https://dashboard.exa.ai/api-keys) API key for web search
</Note>
---
## Step #2: Setup your project [lang]
Create a new directory for your project and navigate to it.
<CodeGroup exampleTitle="Project setup" title="Project setup">
Preview of Langbase's llms.txt file. View complete file (49,544 lines) →

Ready to create yours?

Generate a professional llms.txt file for your website in minutes with our AI-powered tool.

Generate Your llms.txt File