npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@marktoflow/integrations

v2.0.5

Published

39 service integrations and AI agent adapters with tool calling, structured output, and local LLM support

Readme

@marktoflow/integrations

39 native service integrations and AI agent adapters with tool calling, structured output, and local LLM support.

npm

Part of marktoflow — open-source AI workflow automation.

Quick Start

npm install @marktoflow/integrations

Use in workflows:

tools:
  slack:
    sdk: '@slack/web-api'
    auth:
      token: '${SLACK_BOT_TOKEN}'

steps:
  - action: slack.chat.postMessage
    inputs:
      channel: '#general'
      text: 'Hello from marktoflow!'

Or programmatically:

import { SlackInitializer } from '@marktoflow/integrations';
import { SDKRegistry } from '@marktoflow/core';

const registry = new SDKRegistry();
await registry.registerSDK(SlackInitializer);
const slack = await registry.loadSDK('slack', { auth: { token: process.env.SLACK_BOT_TOKEN } });
await registry.executeAction('slack', 'chat.postMessage', slack, { channel: '#general', text: 'Hello!' });

Features

  • 39 native SDK integrations with full TypeScript types
  • 7 AI agent adapters — OpenAI, Claude, Copilot, Codex, OpenCode, Ollama + any OpenAI-compatible endpoint
  • Tool calling / function calling — Agentic loops where AI models invoke tools autonomously
  • Structured output — JSON mode and JSON Schema validation for reliable AI responses
  • Local LLM support — llama.cpp, VLLM, LM Studio, LocalAI with auto model detection
  • Input validation via Zod schemas for every action
  • Automatic retry with circuit breakers and exponential backoff
  • Credential encryption (AES-256-GCM) and OAuth token refresh
  • 256+ contract tests across 28 services (MSW-based, no API keys needed)

AI Agent Adapters

| Agent | Setup | Tool Calling | Structured Output | |-------|-------|:------------:|:-----------------:| | OpenAI | OPENAI_API_KEY | ✅ | ✅ | | Local LLM (llama.cpp, VLLM, LM Studio) | base_url + api_key: dummy | ✅ | ✅ | | GitHub Copilot | copilot auth login | ✅ | — | | Claude Agent | Claude CLI or ANTHROPIC_API_KEY | ✅ | — | | OpenAI Codex | Codex CLI | ✅ | — | | OpenCode | opencode /connect | ✅ | — | | Ollama | Local install | ✅ | — |

OpenAI / Local LLM Methods

| Method | Description | |--------|-------------| | ai.generate | Simple text generation | | ai.chatCompletion | Full chat completion with tools and response_format | | ai.chatWithTools | Agentic tool-calling loop (model calls tools → execute → repeat) | | ai.generateJSON | Chat with JSON mode — returns parsed JSON | | ai.generateStructured | Chat with JSON Schema validation | | ai.chatStream | Streaming chat completion | | ai.embeddings | Generate text embeddings | | ai.listModels | List available models | | ai.autoDetectModel | Auto-detect model from server |

Tool Calling Example

tools:
  ai:
    sdk: openai
    auth:
      base_url: http://localhost:8000/v1  # llama.cpp, VLLM, etc.
      api_key: dummy
    options:
      model: auto

steps:
  - action: ai.chatWithTools
    inputs:
      messages:
        - role: user
          content: "What's the weather in London?"
      tools:
        - type: function
          function:
            name: get_weather
            description: Get current weather
            parameters:
              type: object
              properties:
                city: { type: string }
              required: [city]
      maxTurns: 5

Service Reference

| Service | Category | Key Actions | |---------|----------|-------------| | Slack | Communication | chat.postMessage, conversations.list, users.list | | Teams | Communication | sendMessage, createChannel, createMeeting | | Discord | Communication | sendMessage, editMessage, deleteMessage | | Telegram | Communication | sendMessage, sendPhoto, sendDocument | | WhatsApp | Communication | sendMessage, sendTemplate, sendMedia | | Twilio | Communication | sendSMS, makeCall, sendWhatsApp | | Gmail | Email | users.messages.send, users.messages.list | | Outlook | Email | sendMail, listMessages, listCalendarEvents | | SendGrid | Email | sendEmail, sendMultiple | | Mailchimp | Email | addMember, createCampaign, sendCampaign | | Google Sheets | Productivity | getValues, updateValues, appendValues | | Google Calendar | Productivity | listEvents, createEvent, deleteEvent | | Google Drive | Productivity | listFiles, uploadFile, downloadFile | | Google Docs | Productivity | getDocument, createDocument, appendText | | Notion | Knowledge | databases.query, pages.create, blocks.children.append | | Confluence | Knowledge | getPage, createPage, updatePage | | Jira | Project Mgmt | issues.createIssue, issues.searchIssues | | Linear | Project Mgmt | createIssue, updateIssue, listIssues | | Asana | Project Mgmt | createTask, updateTask, getTasksInProject | | Trello | Project Mgmt | createCard, updateCard, addChecklistToCard | | GitHub | Developer | pulls.create, issues.create, repos.get | | Airtable | Developer | select, create, update, delete | | Stripe | Payments | createCustomer, createPaymentIntent, createSubscription | | Shopify | Commerce | getProducts, createOrder, updateInventoryLevel | | Zendesk | Support | createTicket, updateTicket, search | | Dropbox | Storage | uploadFile, downloadFile, listFolder | | AWS S3 | Storage | uploadObject, getObject, listObjects | | Supabase | Database | select, insert, update, rpc | | PostgreSQL | Database | query, insert, update, delete | | MySQL | Database | query, insert, update, delete | | HTTP | Universal | request (any REST API) |

Creating Custom Integrations

import type { SDKInitializer } from '@marktoflow/core';

export const MyServiceInitializer: SDKInitializer = {
  name: 'myservice',
  async initialize(config) {
    return new MyServiceClient(config.auth.apiKey);
  },
  actions: {
    doSomething: async (sdk, inputs) => sdk.doSomething(inputs),
  },
};

For per-service setup details (environment variables, OAuth, examples), see the full documentation.

Contributing

See the contributing guide.

License

AGPL-3.0