Skip to content

[Integration]: viaSocket #795

Backlog
Backlog

Description

@amgaurav5

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

viaSocket

Integration type

Tool Integration

Published package or repo (if it exists)

https://pypi.org/project/viasocket/ and https://github.com/Walkover-Web-Solution/viasocket-apps

Need or proof of use

  • pip install "viasocket[haystack]" (available since 0.5.0) provides viasocket.haystack.viasocket_tools() and viasocket_toolset(). They return standard Haystack Tool objects and a Toolset.
  • Source: https://github.com/Walkover-Web-Solution/viasocket-apps/blob/main/python/src/viasocket/haystack.py
  • CI runs test_haystack_tools against haystack-ai>=2.14.
  • We tested it end to end with a real Haystack Agent and a connected Slack account: the agent read channels through the tools.
  • The same SDK also ships adapters for LangChain, CrewAI, LlamaIndex, Google ADK, OpenAI Agents and Pydantic AI. The LangChain integration is already listed in their docs.

Short description

viaSocket connects 2,300+ apps, including Slack, Google Sheets, HubSpot and Notion. The integration turns a user's connected viaSocket actions into Haystack tools, so a Haystack Agent can act in those apps without a custom wrapper for each API. Authentication is handled per end user, so each user connects their own accounts.

import os
from haystack.components.agents import Agent
from haystack.components.generators.chat import OpenAIChatGenerator
from viasocket import ViaSocket
from viasocket.haystack import viasocket_toolset

viasocket = ViaSocket(
    org_id=os.environ["VIASOCKET_ORG_ID"],
    project_id=os.environ["VIASOCKET_PROJECT_ID"],
    secret=os.environ["VIASOCKET_EMBED_SECRET"],
)
agent = Agent(
    chat_generator=OpenAIChatGenerator(model="gpt-4.1-mini"),
    tools=viasocket_toolset(viasocket, user="user_123", apps=["slack"]),
)

Earlier PR, closed by a maintainer so a proposal could come first: #753. The page and logo from that PR are ready to reopen once this is approved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions