You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@ag-ui/crewai

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-ui/crewai

Implementation of the AG-UI protocol for CrewAI.

0.0.2
latest
npmnpm
Version published
Weekly downloads
137
52.22%
Maintainers
2
Weekly downloads
 
Created
Source

@ag-ui/crewai

Implementation of the AG-UI protocol for CrewAI.

Connects CrewAI Flows and Crews to frontend applications via the AG-UI protocol. Supports both TypeScript HTTP clients and Python FastAPI server integration with streaming crew execution.

Installation

npm install @ag-ui/crewai
pnpm add @ag-ui/crewai
yarn add @ag-ui/crewai

Usage

import { CrewAIAgent } from "@ag-ui/crewai";

// Create an AG-UI compatible agent
const agent = new CrewAIAgent({
  url: "http://localhost:8000/crew-endpoint",
  headers: { "Content-Type": "application/json" },
});

// Run with streaming
const result = await agent.runAgent({
  messages: [{ role: "user", content: "Execute the research crew" }],
});

Features

  • HTTP connectivity – Connect to CrewAI FastAPI servers
  • Flow & Crew support – Works with both CrewAI Flows and traditional Crews
  • Step tracking – Real-time crew execution progress
  • Python integration – Full FastAPI server implementation included

To run the example server in the dojo

cd typescript-sdk/integrations/crewai/python
poetry install && poetry run dev

FAQs

Package last updated on 15 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts