Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 16 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,44 +79,22 @@ AG-UI is complementary to the other 2 top agentic protocols

AG-UI was born from CopilotKit's initial partnership with LangGraph and CrewAI - and brings the incredibly popular agent-user-interactivity infrastructure to the wider agentic ecosystem.

## Frameworks

| Framework | Status | AG-UI Resources |
| ------------------------------------------------------------------ | ------------------------ | -------------------------------------------------------------------------------- |
| Direct to LLM | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/direct-to-llm) |

#### 🤝 Partnerships
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [LangGraph](https://www.langchain.com/langgraph) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/langgraph/) 🎮 [Demos](https://dojo.ag-ui.com/langgraph-fastapi/feature/shared_state) |
| [Google ADK](https://google.github.io/adk-docs/get-started/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/adk) 🎮 [Demos](https://dojo.ag-ui.com/adk-middleware) |
| [CrewAI](https://crewai.com/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/crewai-flows) 🎮 [Demos](https://dojo.ag-ui.com/crewai/feature/shared_state) |

#### 🧩 1st Party
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [Mastra](https://mastra.ai/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/mastra/) 🎮 [Demos](https://dojo.ag-ui.com/mastra) |
| [Pydantic AI](https://github.com/pydantic/pydantic-ai) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/pydantic-ai/) 🎮 [Demos](https://dojo.ag-ui.com/pydantic-ai/feature/shared_state) |
| [Agno](https://github.com/agno-agi/agno) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/agno/) 🎮 [Demos](https://dojo.ag-ui.com/agno) |
| [LlamaIndex](https://github.com/run-llama/llama_index) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/llamaindex/) 🎮 [Demos](https://dojo.ag-ui.com/llamaindex/feature/shared_state) |
| [AG2](https://ag2.ai/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/ag2/) |
| [AWS Bedrock Agents](https://aws.amazon.com/bedrock/agents/) | 🛠️ In Progress | – |
| [AWS Strands Agents](https://github.com/strands-agents/sdk-python) | 🛠️ In Progress | – |
| [Microsoft Agent Framework](https://azure.microsoft.com/en-us/blog/introducing-microsoft-agent-framework/) | 🛠️ In Progress | – |

#### 🌐 Community
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [Vercel AI SDK](https://github.com/vercel/ai) | ✅ Supported | ➡️ [Docs](https://github.com/ag-ui-protocol/ag-ui/tree/main/integrations/vercel-ai-sdk/typescript) |
| [OpenAI Agent SDK](https://openai.github.io/openai-agents-python/) | 🛠️ In Progress | – |
| [Cloudflare Agents](https://developers.cloudflare.com/agents/) | 🛠️ In Progress | – |


## Protocols

| Protocols | Status | AG-UI Resources | Integrations |
| ---------- | ------- | ---------------- | ------------- |
| [A2A]() | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/a2a-protocol) | Partnership |
| Framework | Status | AG-UI Resources | Integrations |
| ------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------- | ------------------------ |
| No-framework | ✅ Supported | ➡️ Docs coming soon | |
| [LangGraph](https://www.langchain.com/langgraph) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/langgraph/) 🎮 [Demos](https://dojo.ag-ui.com/langgraph-fastapi/feature/shared_state) | Partnership |
| [Mastra](https://mastra.ai/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/mastra/) 🎮 [Demos](https://dojo.ag-ui.com/mastra) | 1st party |
| [Pydantic AI](https://github.com/pydantic/pydantic-ai) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/pydantic-ai/) 🎮 [Demos](https://dojo.ag-ui.com/pydantic-ai/feature/shared_state) | 1st party |
| [Google ADK](https://google.github.io/adk-docs/get-started/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/adk) 🎮 [Demos](https://dojo.ag-ui.com/adk-middleware) | Partnership |
| [Agno](https://github.com/agno-agi/agno) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/agno/) 🎮 [Demos](https://dojo.ag-ui.com/agno) | 1st party |
| [LlamaIndex](https://github.com/run-llama/llama_index) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/llamaindex/) 🎮 [Demos](https://dojo.ag-ui.com/llamaindex/feature/shared_state) | 1st party |
| [CrewAI](https://crewai.com/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/crewai-flows) 🎮 [Demos](https://dojo.ag-ui.com/crewai/feature/shared_state) | Partnership |
| [AG2](https://ag2.ai/) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/ag2/) | 1st party |
| [AWS Bedrock Agents](https://aws.amazon.com/bedrock/agents/) | 🛠️ In Progress | – | 1st party |
| [AWS Strands Agents](https://github.com/strands-agents/sdk-python) | 🛠️ In Progress | – | 1st Party |
| [Vercel AI SDK](https://github.com/vercel/ai) | 🛠️ In Progress | – | Community |
| [OpenAI Agent SDK](https://openai.github.io/openai-agents-python/) | 🛠️ In Progress | – | Community |
| [Flowise](https://flowiseai.com/) | ✅ Supported | ➡️ Docs coming soon 🎮 Demos coming soon | Community |

---

Expand Down
7 changes: 7 additions & 0 deletions typescript-sdk/integrations/flowise/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules/
dist/
examples/
src/
*.ts
!dist/
!.npmignore
38 changes: 38 additions & 0 deletions typescript-sdk/integrations/flowise/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @ag-ui/flowise

Flowise integration for AG-UI protocol.

## Installation

```bash
npm install @ag-ui/flowise
```

## Usage

```typescript
import { FlowiseAgent } from '@ag-ui/flowise';

const agent = new FlowiseAgent({
apiUrl: 'http://localhost:3000/api/v1/prediction/{flowId}',
flowId: 'your-flow-id',
apiKey: 'your-api-key', // Optional
});

// Use the agent with AG-UI components
```

## API Reference

### FlowiseAgentConfig

| Property | Type | Description |
|---------|------|-------------|
| `apiUrl` | string | The Flowise API endpoint URL |
| `flowId` | string | The Flowise flow ID |
| `apiKey` | string (optional) | API key for authentication |
| `headers` | Record<string, string> (optional) | Additional headers to send with requests |

## License

MIT
14 changes: 14 additions & 0 deletions typescript-sdk/integrations/flowise/examples/basic-example.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { FlowiseAgent, FlowiseAgentConfig } from '../src';

// Configure the Flowise agent
const config: FlowiseAgentConfig = {
apiUrl: 'http://localhost:3000/api/v1/prediction/{flowId}',
flowId: 'your-flow-id',
apiKey: 'your-api-key', // Optional
};

// Create the agent
const agent = new FlowiseAgent(config);

// Use the agent with AG-UI components
console.log('Flowise agent created successfully!');
9 changes: 9 additions & 0 deletions typescript-sdk/integrations/flowise/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'],
moduleDirectories: ['node_modules', 'src'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
};
41 changes: 41 additions & 0 deletions typescript-sdk/integrations/flowise/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "@ag-ui/flowise",
"author": "Markus Ecker <[email protected]>",
"version": "0.0.1",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist/**",
"README.md"
],
"private": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit",
"test": "jest",
"link:global": "pnpm link --global",
"unlink:global": "pnpm unlink --global"
},
"peerDependencies": {
"@ag-ui/core": ">=0.0.37",
"@ag-ui/client": ">=0.0.37",
"rxjs": "7.8.1"
},
"devDependencies": {
"@ag-ui/core": "workspace:*",
"@ag-ui/client": "workspace:*",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.19",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
}
}
40 changes: 40 additions & 0 deletions typescript-sdk/integrations/flowise/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# ag-ui-flowise

Flowise integration for AG-UI protocol.

## Installation

```bash
pip install ag-ui-flowise
```

## Usage

```python
from ag_ui_flowise import FlowiseAgent, FlowiseAgentConfig

config = FlowiseAgentConfig(
api_url="http://localhost:3000/api/v1/prediction/{flowId}",
flow_id="your-flow-id",
api_key="your-api-key" # Optional
)

agent = FlowiseAgent(config)

# Use the agent with AG-UI components
```

## API Reference

### FlowiseAgentConfig

| Property | Type | Description |
|---------|------|-------------|
| `api_url` | str | The Flowise API endpoint URL |
| `flow_id` | str | The Flowise flow ID |
| `api_key` | str (optional) | API key for authentication |
| `headers` | Dict[str, str] (optional) | Additional headers to send with requests |

## License

MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
AG-UI Flowise Integration
"""

from .flowise_agent import FlowiseAgent, FlowiseAgentConfig

__all__ = ["FlowiseAgent", "FlowiseAgentConfig"]
__version__ = "0.0.1"
Loading