This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/tools.py
Adam Moussa 02e29495c0 Initial LangGraph + Composio orchestration graph
Multi-model agent routing with 7 agent nodes (Sonnet, Haiku,
GPT-4.1, Gemini, DeepSeek) and 15 pre-loaded Composio tools
for Slack, Notion, GitHub, and Google Drive integration.
2026-05-08 12:54:00 -04:00

31 lines
856 B
Python

from composio import Composio
from composio_langgraph import LanggraphProvider
TOOL_SLUGS = [
# Slack
"SLACK_SENDS_A_MESSAGE_TO_A_SLACK_CHANNEL",
"SLACK_FETCH_CONVERSATION_HISTORY",
"SLACK_FIND_CHANNELS",
"SLACK_FIND_USERS",
"SLACK_ADD_REACTION_TO_AN_ITEM",
"SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION",
# Notion
"NOTION_SEARCH_NOTION_PAGE",
"NOTION_RETRIEVE_PAGE",
"NOTION_UPDATE_PAGE",
"NOTION_CREATE_NOTION_PAGE",
"NOTION_ADD_PAGE_CONTENT",
# GitHub
"GITHUB_CREATE_AN_ISSUE",
"GITHUB_LIST_REPO_ISSUES",
"GITHUB_GET_A_REPOSITORY",
# Google Drive
"GOOGLEDRIVE_FIND_FILE",
"GOOGLEDRIVE_GET_FILE_METADATA",
]
def get_composio_tools():
client = Composio(provider=LanggraphProvider())
tools = client.tools.get(user_id="default", tools=TOOL_SLUGS)
return tools