pull/704/head
Travis Fischer 2025-03-24 23:33:18 +08:00
rodzic 7476d82083
commit b08068c3ff
2 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ Agentic tools work with any LLM capable of function calling and all of the major
## Features ## Features
- ✅ Thoroughly tested, production-ready AI tools - ✅ All tools are thoroughly tested in production
- ✅ Tools work across all leading TS AI SDKs - ✅ Tools work across all leading TS AI SDKs
- ✅ Tools are hand-coded and extremely minimal - ✅ Tools are hand-coded and extremely minimal
- ✅ Tools have both a good manual DX and LLM DX via the `@aiFunction` decorator - ✅ Tools have both a good manual DX and LLM DX via the `@aiFunction` decorator
@ -30,3 +30,4 @@ Agentic tools work with any LLM capable of function calling and all of the major
- ✅ Tools use `ky` to wrap `fetch`, so HTTP options, throttling, retries, etc are easy to customize - ✅ Tools use `ky` to wrap `fetch`, so HTTP options, throttling, retries, etc are easy to customize
- ✅ Supports tools from any MCP server ([createMcpTools](/tools/mcp)) - ✅ Supports tools from any MCP server ([createMcpTools](/tools/mcp))
- ✅ Generate new Agentic tool clients from OpenAPI specs ([@agentic/openapi-to-ts](https://github.com/transitive-bullshit/agentic/tree/main/packages/openapi-to-ts)) - ✅ Generate new Agentic tool clients from OpenAPI specs ([@agentic/openapi-to-ts](https://github.com/transitive-bullshit/agentic/tree/main/packages/openapi-to-ts))
- ✅ 100% open source && not trying to sell you anything 💯

Wyświetl plik

@ -92,8 +92,8 @@ const firecrawl = new FirecrawlClient()
const result = await generateText({ const result = await generateText({
model: openai('gpt-4o-mini'), model: openai('gpt-4o-mini'),
// This example uses tools from 3 different sources. You can pass as many // This example uses tools from 3 different clients. You can pass as many
// sources as you want. // tool sources as you want.
tools: createAISDKTools( tools: createAISDKTools(
googleSearch, googleSearch,
wikipedia, wikipedia,
@ -108,13 +108,13 @@ const result = await generateText({
### Under the hood ### Under the hood
All of the adapters (like `createAISDKTools`) accept a very flexible var args of `AIFunctionLike` parameters, so you can pass as many tools as you'd like. An `AIFunctionLike` can be any agentic client instance, a single `AIFunction` selected from the client's `.functions` property (which holds an `AIFunctionSet` of available AI functions), or an AI function created manually via `createAIFunction`. All adapters (like `createAISDKTools`) accept a very flexible var args of `AIFunctionLike` parameters, so you can pass as many tools as you'd like. An `AIFunctionLike` can be any agentic client instance, a single `AIFunction` selected from the client's `.functions` property (which holds an `AIFunctionSet` of available AI functions), or an AI function created manually via `createAIFunction`.
`AIFunctionLike` and `AIFunctionSet` are implementation details that you likely won't have to touch directly, but they're important because of their flexibility. `AIFunctionLike` and `AIFunctionSet` are implementation details that you likely won't have to touch directly, but they're important because of their flexibility.
## Features ## Features
- ✅ Thoroughly tested, production-ready AI tools - ✅ All tools are thoroughly tested in production
- ✅ Tools work across all leading TS AI SDKs - ✅ Tools work across all leading TS AI SDKs
- ✅ Tools are hand-coded and extremely minimal - ✅ Tools are hand-coded and extremely minimal
- ✅ Tools have both a good manual DX and LLM DX via the `@aiFunction` decorator - ✅ Tools have both a good manual DX and LLM DX via the `@aiFunction` decorator
@ -122,6 +122,7 @@ All of the adapters (like `createAISDKTools`) accept a very flexible var args of
- ✅ Tools use `ky` to wrap `fetch`, so HTTP options, throttling, retries, etc are easy to customize - ✅ Tools use `ky` to wrap `fetch`, so HTTP options, throttling, retries, etc are easy to customize
- ✅ Supports tools from any MCP server ([createMcpTools(...)](https://agentic.so/tools/mcp)) - ✅ Supports tools from any MCP server ([createMcpTools(...)](https://agentic.so/tools/mcp))
- ✅ Generate new Agentic tool clients from OpenAPI specs ([@agentic/openapi-to-ts](./packages/openapi-to-ts)) - ✅ Generate new Agentic tool clients from OpenAPI specs ([@agentic/openapi-to-ts](./packages/openapi-to-ts))
- ✅ 100% open source && not trying to sell you anything 💯
## Docs ## Docs