Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Aug 17, 2024
1 parent 02b546d commit bb8b4ab
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 39 deletions.
Binary file added docs/media/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
"light": "/media/agentic-logo-light.svg"
},
"favicon": "/media/favicon.svg",
"backgroundImage": "/media/bg.png",
"colors": {
"primary": "#DD5130",
"light": "#F76340",
"dark": "#DD5130",
"primary": "#0D969D",
"light": "#13D3DC",
"dark": "#0D969D",
"anchors": {
"from": "#DD5130",
"to": "#F76340"
"from": "#0D969D",
"to": "#13D3DC"
}
},
"topbarLinks": [
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ title: Quick Start
</AccordionGroup>
<Note>
You can use Agentic without any of these AI SDKs. `@agentic/core` and all tool packages are completely agnostic to the specific LLM and AI SDK.
You can use Agentic without any of these AI SDKs. `@agentic/core`, `@agentic/stdlib`, and all individual tool packages are completely agnostic to specific LLMs and AI SDKs.
</Note>
</Step>
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/people-data-labs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: People & company data enrichment.
---

<Warning>
People Data Labs tends to be more expensive than other similar data proviers.
People Data Labs tends to be more expensive than other similar data providers.
The author recommends you stay away from them.
</Warning>

Expand Down
62 changes: 30 additions & 32 deletions docs/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,7 @@
title: Usage
---

## AI SDKs

<CardGroup cols={2}>
<Card title='Vercel AI SDK' href='/sdks/ai-sdk'>
Using Agentic with the Vercel AI SDK.
</Card>

<Card title='LangChain' href='/sdks/langchain'>
Using Agentic with LangChain.
</Card>

<Card title='LlamaIndex' href='/sdks/llamaindex'>
Using Agentic with LlamaIndex.
</Card>

<Card title='Firebase Genkit' href='/sdks/genkit'>
Using Agentic with Genkit.
</Card>

<Card title='Dexa Dexter' href='/sdks/dexter'>
Using Agentic with Dexter.
</Card>

<Card title='OpenAI' href='/sdks/openai'>
Using Agentic with OpenAI directly.
</Card>
</CardGroup>

## Tools

### TS Tool Usage
## TS Tool Usage

Agentic clients like `WeatherClient` can be used as normal TS classes:

Expand All @@ -48,7 +18,7 @@ const result = await weather.getCurrentWeather({
console.log(result)
```

### LLM Tool Usage
## LLM Tool Usage

Or you can use these clients as **LLM-based tools** where the LLM decides when and how to invoke the underlying functions for you.

Expand Down Expand Up @@ -122,3 +92,31 @@ All of the SDK adapters like `createDexterFunctions` accept very flexible `AIFun
- `AIFunction` - Individual functions (like `perigon.functions.get('search_news_stories')` or `serper.functions.get('serper_google_search')` or AI functions created directly via the `createAIFunction` utility function)

You can pass as many of these `AIFunctionLike` objects as you'd like and you can manipulate them as `AIFunctionSet` sets via `.pick`, `.omit`, `.get`, `.map`, etc.

## AI SDKs

<CardGroup cols={2}>
<Card title='Vercel AI SDK' href='/sdks/ai-sdk'>
Using Agentic with the Vercel AI SDK.
</Card>

<Card title='LangChain' href='/sdks/langchain'>
Using Agentic with LangChain.
</Card>

<Card title='LlamaIndex' href='/sdks/llamaindex'>
Using Agentic with LlamaIndex.
</Card>

<Card title='Firebase Genkit' href='/sdks/genkit'>
Using Agentic with Genkit.
</Card>

<Card title='Dexa Dexter' href='/sdks/dexter'>
Using Agentic with Dexter.
</Card>

<Card title='OpenAI' href='/sdks/openai'>
Using Agentic with OpenAI directly.
</Card>
</CardGroup>

0 comments on commit bb8b4ab

Please sign in to comment.