Skip to content

AG2#

Connect AG2 Agents to 8,000+ Tools with Arcade.dev

AG2 x Arcade.dev

Overview

Arcade.dev is a tool execution runtime that provides 8,000+ pre-built integrations with just-in-time authorization. It sits between your agents and enterprise systems: your agent calls a tool, the user authenticates once through Arcade, and Arcade handles token management, scope negotiation, and credential storage from that point on. No service accounts, no secrets in your codebase.

This solves common problems when connecting agents to external services:

  • Building and maintaining OAuth flows for each API (Gmail, Linear, Slack, etc.)
  • Managing token lifecycle: refresh, rotation, expiry
  • Storing credentials securely and isolating them from the LLM layer
  • Handling scope negotiation and incremental authorization

In this post, we'll build a Gmail assistant using AG2 and the Arcade SDK. The agent will list, search, read threads, send, reply, and archive emails using AG2's AssistantAgent + UserProxyAgent, pattern while Arcade handles all the authentication and API complexity behind the scenes.

AG2 Now Integrated with CopilotKit

banner

TL;DR

  • Instant Multi-Agent UI with CopilotKit: Connect AG2's powerful multi-agent systems to polished React UIs without building custom components.
  • Standardized Communication: Uses the AG UI protocol to create a consistent bridge between frontend and backend, eliminating custom API development.
  • Rapid Development: Build production-ready AG2 powered AI applications in hours through pre-built and custom UI components using CopilotKit.
  • Ready to Go: Starter repo containing sample code for a travel planning assistant to get you started immediately.

We’re excited to announce that CopilotKit now integrates with AG2, bringing together AG2’s multi-agent orchestration capabilities with CopilotKit’s React UI components. This integration creates a more seamless development experience for building AI-powered applications.

AG2 v0.9 Release: Introducing the New Group Chat

TL;DR

  • AG2 v0.9 unifies the previous Group Chat and Swarm into a single, powerful, new Group Chat
  • This unification provides improved flexibility, control, and better foundations for scalability
  • Features include pre-built orchestration patterns, enhanced workflow control, and robust context variables
  • Includes all capabilities of the previous Group Chat and Swarm
  • Swarm is now deprecated but still available. We recommend migrating to the new Group Chat pattern