# AI frameworks

> Give your own model Corfedo's code tools, or use Corfedo AI as the model, in Microsoft.Extensions.AI, the Vercel AI SDK, LangChain or Pydantic AI.

Source: https://docs.corfedo.ai/connect/frameworks/

Each integration works two ways. Give the model you already use Corfedo's search and read tools, and your application runs the loop. Or use Corfedo AI as the model, and Corfedo searches your repositories with its own tools and keeps the conversation.

- [Microsoft.Extensions.AI](https://docs.corfedo.ai/connect/frameworks/microsoft-extensions-ai/): Corfedo tools as AIFunctions, or Corfedo AI as an IChatClient, in .NET.
- [Vercel AI SDK](https://docs.corfedo.ai/connect/frameworks/vercel-ai-sdk/): createCorfedoTools for your model, or Corfedo AI as a language model, in TypeScript.
- [LangChain](https://docs.corfedo.ai/connect/frameworks/langchain/): Corfedo tools or ChatCorfedo, in TypeScript and Python.
- [Pydantic AI](https://docs.corfedo.ai/connect/frameworks/pydantic-ai/): CorfedoToolset for your agent, or CorfedoModel, in Python.

The [SDKs](https://docs.corfedo.ai/connect/sdks/dotnet/) cover the core client underneath, for applications that need no framework. [Authentication](https://docs.corfedo.ai/connect/authentication/) explains the API key file every example uses.
