<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Darshan Rajput</title>
    <description>The latest articles on DEV Community by Darshan Rajput (@darshan_rajput_3690).</description>
    <link>https://dev.to/darshan_rajput_3690</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4180988%2Fcf7a5d1a-b6a1-47b4-8061-d423bf7f0b9e.jpg</url>
      <title>DEV Community: Darshan Rajput</title>
      <link>https://dev.to/darshan_rajput_3690</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/darshan_rajput_3690"/>
    <language>en</language>
    <item>
      <title>How I Contributed 5 Integrations to Switch During the Flip the Switch Hackathon</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Sat, 07 Nov 2026 11:45:05 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/how-i-contributed-5-integrations-to-switch-during-the-flip-the-switch-hackathon-11e3</link>
      <guid>https://dev.to/darshan_rajput_3690/how-i-contributed-5-integrations-to-switch-during-the-flip-the-switch-hackathon-11e3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw6u765mlduc0txls7xyv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw6u765mlduc0txls7xyv.png" alt=" " width="800" height="450"&gt;&lt;/a&gt; &lt;br&gt;
Open source has always been one of my favorite ways to learn software engineering.&lt;/p&gt;

&lt;p&gt;You get to work with real codebases, understand how existing systems work, solve problems, receive feedback from maintainers, and sometimes discover challenges you would never encounter while building a personal project.&lt;/p&gt;

&lt;p&gt;Recently, I started contributing to &lt;strong&gt;Switch&lt;/strong&gt;, an open-source project that connects AI coding agents with messaging platforms.&lt;/p&gt;

&lt;p&gt;While exploring the repository, I noticed opportunities to extend its support for both messaging platforms and AI coding agents.&lt;/p&gt;

&lt;p&gt;That became the focus of my work during the &lt;strong&gt;Flip the Switch Hackathon by WeMakeDevs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead of building a completely separate application, I decided to contribute directly to Switch.&lt;/p&gt;

&lt;p&gt;So far, I have submitted five pull requests covering three messaging integrations and two AI agent providers.&lt;/p&gt;

&lt;p&gt;Here is what I worked on.&lt;/p&gt;

&lt;h2&gt;
  
  
  First, what is Switch?
&lt;/h2&gt;

&lt;p&gt;Switch makes it possible to connect AI agents with messaging platforms so developers and teams can interact with their agents through familiar communication tools.&lt;/p&gt;

&lt;p&gt;Think about having an AI coding agent available through your team's messaging environment instead of constantly switching between different applications.&lt;/p&gt;

&lt;p&gt;That is one of the interesting ideas behind Switch.&lt;/p&gt;

&lt;p&gt;While exploring the project, I focused on two areas where I could contribute:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Adding more messaging platforms.&lt;/li&gt;
&lt;li&gt;Supporting additional AI coding agents.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Bringing Signal into Switch
&lt;/h2&gt;

&lt;p&gt;My first major messaging contribution was adding Signal support.&lt;/p&gt;

&lt;p&gt;Signal is known for its focus on private communication, and I wanted to make it possible to connect Signal conversations with Switch agents.&lt;/p&gt;

&lt;p&gt;There was one interesting challenge: Signal does not provide an official bot API.&lt;/p&gt;

&lt;p&gt;After researching the available options, I used &lt;strong&gt;signal-cli&lt;/strong&gt; as the communication layer.&lt;/p&gt;

&lt;p&gt;The implementation connects Switch to the signal-cli HTTP daemon using JSON-RPC 2.0 and Server-Sent Events (SSE).&lt;/p&gt;

&lt;p&gt;Some of the features I worked on include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Direct messages.&lt;/li&gt;
&lt;li&gt;Group conversations.&lt;/li&gt;
&lt;li&gt;Signal Note to Self.&lt;/li&gt;
&lt;li&gt;Quote-based replies.&lt;/li&gt;
&lt;li&gt;Activity indicators and typing notifications.&lt;/li&gt;
&lt;li&gt;Credential verification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One particularly interesting part was handling multi-instance deployments.&lt;/p&gt;

&lt;p&gt;During code review, I received feedback about quote replies relying on process-local state. That approach could cause problems when a connection moved between server instances.&lt;/p&gt;

&lt;p&gt;I improved the implementation with a bounded LRU cache and changed quote-reply handling so it can work across instance handovers without depending on a local cache entry.&lt;/p&gt;

&lt;p&gt;I also updated the daemon deployment documentation to support a shared internal endpoint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1041" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1041&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/792" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/792&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The submitted PR reports 50 passing tests, along with successful Ruff and strict Mypy checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Adding Cisco Webex support
&lt;/h2&gt;

&lt;p&gt;The next contribution was Cisco Webex.&lt;/p&gt;

&lt;p&gt;Webex is widely used for workplace communication, and adding it to Switch creates another way for teams to interact with their AI agents.&lt;/p&gt;

&lt;p&gt;For this integration, I implemented a webhook-based messaging adapter.&lt;/p&gt;

&lt;p&gt;The adapter handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One-to-one direct conversations.&lt;/li&gt;
&lt;li&gt;Group spaces.&lt;/li&gt;
&lt;li&gt;Threaded replies.&lt;/li&gt;
&lt;li&gt;Message chunking.&lt;/li&gt;
&lt;li&gt;File attachments.&lt;/li&gt;
&lt;li&gt;Interactive approval card actions.&lt;/li&gt;
&lt;li&gt;Webhook signature verification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Security was an important part of this implementation.&lt;/p&gt;

&lt;p&gt;I worked on HMAC signature verification, replay protection, and safer attachment downloading with IP validation and download limits.&lt;/p&gt;

&lt;p&gt;Another small fix involved Windows compatibility. I updated frontmatter matching to support both Unix and Windows line endings.&lt;/p&gt;

&lt;p&gt;The implementation also includes a dedicated test suite and a live Webex bot smoke test.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1027" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1027&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/795" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/795&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The submitted PR reports 25 passing tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Connecting Twilio SMS with Switch
&lt;/h2&gt;

&lt;p&gt;The third messaging integration was Twilio SMS.&lt;/p&gt;

&lt;p&gt;I wanted to explore a slightly different type of communication platform.&lt;/p&gt;

&lt;p&gt;Unlike chat applications, SMS has some practical limitations that need to be considered when building an integration.&lt;/p&gt;

&lt;p&gt;For example, message length affects the number of SMS segments, and sending too many segments can increase carrier costs.&lt;/p&gt;

&lt;p&gt;The adapter includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Incoming SMS through Twilio webhooks.&lt;/li&gt;
&lt;li&gt;Outgoing messages through the Twilio REST API.&lt;/li&gt;
&lt;li&gt;GSM-7 and UCS-2 message segmentation.&lt;/li&gt;
&lt;li&gt;Markdown-to-SMS text handling.&lt;/li&gt;
&lt;li&gt;Twilio webhook signature verification.&lt;/li&gt;
&lt;li&gt;Phone number allow-listing.&lt;/li&gt;
&lt;li&gt;Attachment delivery through media URLs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One important design decision was requiring an explicit phone-number allow-list.&lt;/p&gt;

&lt;p&gt;This prevents unauthorized senders from triggering Switch workflows and helps avoid unnecessary downstream execution and messaging costs.&lt;/p&gt;

&lt;p&gt;I also added tests covering message segmentation, authentication, webhook handling, and outbound delivery.&lt;/p&gt;

&lt;p&gt;For validation, I tested the integration with a live Twilio setup, including an outbound SMS delivery and rejection of an unauthorized sender.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1049" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1049&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/796" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/796&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The submitted PR reports 27 passing tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Adding Factory Droid as an AI agent provider
&lt;/h2&gt;

&lt;p&gt;After working on messaging integrations, I moved to the agent-provider side of Switch.&lt;/p&gt;

&lt;p&gt;The first provider I worked on was Factory Droid.&lt;/p&gt;

&lt;p&gt;The goal was to make Factory Droid available as another coding agent that users can connect through Switch.&lt;/p&gt;

&lt;p&gt;The implementation uses the Agent Client Protocol (ACP).&lt;/p&gt;

&lt;p&gt;Some of the work included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Factory Droid CLI integration.&lt;/li&gt;
&lt;li&gt;ACP-based communication.&lt;/li&gt;
&lt;li&gt;Agent session creation.&lt;/li&gt;
&lt;li&gt;Model selection.&lt;/li&gt;
&lt;li&gt;Tool permission handling.&lt;/li&gt;
&lt;li&gt;CLI detection.&lt;/li&gt;
&lt;li&gt;Provider registration in Switch Console and Switch Core.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also worked on the permission flow so users can interact with agent tool permissions rather than having every action automatically approved.&lt;/p&gt;

&lt;p&gt;The integration was tested through unit tests and manual checks covering CLI detection, session creation, in-room communication, and permission handling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1677" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1677&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/783" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/783&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The submitted PR reports 8 passing unit tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Adding Grok Build as an ACP provider
&lt;/h2&gt;

&lt;p&gt;My fifth contribution was adding Grok Build as an agent provider.&lt;/p&gt;

&lt;p&gt;Like Factory Droid, this integration uses ACP.&lt;/p&gt;

&lt;p&gt;Instead of creating an entirely separate communication mechanism, I used Switch's generic ACP adapter approach.&lt;/p&gt;

&lt;p&gt;The implementation includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Grok Build provider registration.&lt;/li&gt;
&lt;li&gt;CLI launch configuration.&lt;/li&gt;
&lt;li&gt;XAI_API_KEY environment variable pass-through.&lt;/li&gt;
&lt;li&gt;Authentication detection through the ACP handshake.&lt;/li&gt;
&lt;li&gt;Runtime-mode selection based on modes advertised by ACP.&lt;/li&gt;
&lt;li&gt;Resumable sessions.&lt;/li&gt;
&lt;li&gt;Console plugin metadata and installation information.&lt;/li&gt;
&lt;li&gt;Unit tests and a real-CLI conformance probe.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One important detail: the real Grok CLI was not installed in my development environment, so the live CLI conformance scenarios remain pending.&lt;/p&gt;

&lt;p&gt;I was able to validate the focused unit tests, type checks, builds, linting, and formatting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1708" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1708&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/775" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/775&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The focused unit tests report 9 passing tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned from working on these integrations
&lt;/h2&gt;

&lt;p&gt;Working on five different integrations gave me an opportunity to explore several areas of software engineering.&lt;/p&gt;

&lt;p&gt;A few lessons stood out.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Every platform has its own challenges
&lt;/h3&gt;

&lt;p&gt;A Signal integration is very different from a Webex or Twilio integration.&lt;/p&gt;

&lt;p&gt;Each platform has its own authentication process, communication model, message format, and limitations.&lt;/p&gt;

&lt;p&gt;Trying to force every platform into exactly the same behavior does not always work.&lt;/p&gt;

&lt;p&gt;Understanding those differences is important.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Working code is not always production-ready code
&lt;/h3&gt;

&lt;p&gt;One of the biggest lessons came from the Signal review.&lt;/p&gt;

&lt;p&gt;Something that works perfectly on a local machine may behave differently when an application runs across multiple instances.&lt;/p&gt;

&lt;p&gt;That feedback helped me think more carefully about shared state, connection handling, and distributed deployments.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Testing makes a difference
&lt;/h3&gt;

&lt;p&gt;I spent time writing tests for authentication, message handling, edge cases, and provider behavior.&lt;/p&gt;

&lt;p&gt;The submitted PRs report the following focused test results:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Contribution&lt;/th&gt;
&lt;th&gt;Reported passing tests&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Signal&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cisco Webex&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Twilio SMS&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Factory Droid&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Grok Build&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are the test results reported in the respective pull requests, not a single combined test run.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Code review is part of learning
&lt;/h3&gt;

&lt;p&gt;I also learned that contributing to open source is not just about opening a pull request.&lt;/p&gt;

&lt;p&gt;Maintainer feedback can reveal architectural problems that are easy to miss when working independently.&lt;/p&gt;

&lt;p&gt;Understanding that feedback and improving the implementation is an important part of the process.&lt;/p&gt;

&lt;h2&gt;
  
  
  My contributions at a glance
&lt;/h2&gt;

&lt;p&gt;Here are all five pull requests:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Messaging platforms&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1041" rel="noopener noreferrer"&gt;Signal messaging adapter – #1041&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1027" rel="noopener noreferrer"&gt;Cisco Webex adapter – #1027&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1049" rel="noopener noreferrer"&gt;Twilio SMS adapter – #1049&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;AI agent providers&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1677" rel="noopener noreferrer"&gt;Factory Droid ACP provider – #1677&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1708" rel="noopener noreferrer"&gt;Grok Build ACP provider – #1708&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All five pull requests are currently submitted for review.&lt;/p&gt;

&lt;p&gt;You can also find my contributions here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pulls/Darshan3690" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pulls/Darshan3690&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;This hackathon has been a great opportunity to contribute to a real open-source project.&lt;/p&gt;

&lt;p&gt;I started by exploring the Switch codebase and looking for useful integrations. That led me to work with messaging protocols, webhooks, external APIs, ACP providers, authentication, testing, and distributed application behavior.&lt;/p&gt;

&lt;p&gt;The most valuable part was not simply the number of pull requests.&lt;/p&gt;

&lt;p&gt;It was understanding an existing architecture, identifying missing integrations, implementing them, testing different scenarios, and improving the code based on feedback.&lt;/p&gt;

&lt;p&gt;A big thanks to the Switch maintainers and the WeMakeDevs team for creating an opportunity for developers to work on real engineering problems.&lt;/p&gt;

&lt;p&gt;I am looking forward to continuing my contributions and learning more from the open-source community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Building is important. But learning how to build with other developers is what makes open source special.&lt;/strong&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Useful links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch" rel="noopener noreferrer"&gt;Switch GitHub Repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pulls/Darshan3690" rel="noopener noreferrer"&gt;My Switch Pull Requests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.wemakedevs.org/hackathons/switch" rel="noopener noreferrer"&gt;Flip the Switch Hackathon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.wemakedevs.org/" rel="noopener noreferrer"&gt;WeMakeDevs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>wemakedevs</category>
      <category>switchai</category>
    </item>
    <item>
      <title># Connecting Signal with AI Agents: My Open-Source Contribution to Switch</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Sat, 07 Nov 2026 11:18:54 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/-connecting-signal-with-ai-agents-my-open-source-contribution-to-switch-1k2m</link>
      <guid>https://dev.to/darshan_rajput_3690/-connecting-signal-with-ai-agents-my-open-source-contribution-to-switch-1k2m</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgb6gdye6ejufkst8tqkj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgb6gdye6ejufkst8tqkj.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
I have been spending time contributing to Switch, an open-source project that connects AI agents with messaging platforms.&lt;/p&gt;

&lt;p&gt;For my next contribution, I worked on something a little different: &lt;strong&gt;adding Signal support to Switch&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The idea is simple. What if you could communicate with your AI agents through Signal, just like you communicate with people?&lt;/p&gt;

&lt;p&gt;This turned into a really interesting engineering task. I had to understand how Signal works, how Switch handles messaging platforms, and how to make the integration reliable when the application runs across multiple server instances.&lt;/p&gt;

&lt;p&gt;Here is how I approached it.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Signal?
&lt;/h2&gt;

&lt;p&gt;Most people already use messaging applications to communicate with their teams, friends, or colleagues.&lt;/p&gt;

&lt;p&gt;Signal is especially interesting because of its focus on privacy and end-to-end encrypted messaging.&lt;/p&gt;

&lt;p&gt;I noticed that Switch did not have a Signal integration, so I started looking into how one could be added.&lt;/p&gt;

&lt;p&gt;I found this issue:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/sandbox-quantum/switch/issues/792" rel="noopener noreferrer"&gt;Add Signal as a messaging platform – Issue #792&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One important detail made this integration different from other messaging platforms: Signal does not provide an official bot API.&lt;/p&gt;

&lt;p&gt;Instead, the integration needed to use &lt;a href="https://github.com/AsamK/signal-cli" rel="noopener noreferrer"&gt;signal-cli&lt;/a&gt;, an unofficial command-line client that provides a way to interact with Signal.&lt;/p&gt;

&lt;p&gt;That became the starting point for my implementation.&lt;/p&gt;
&lt;h2&gt;
  
  
  Understanding how it works
&lt;/h2&gt;

&lt;p&gt;Before writing the adapter, I needed to understand the communication flow.&lt;/p&gt;

&lt;p&gt;The basic architecture looks like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A user runs and registers a Signal account through signal-cli.&lt;/li&gt;
&lt;li&gt;signal-cli runs as an HTTP daemon.&lt;/li&gt;
&lt;li&gt;Switch connects to that daemon.&lt;/li&gt;
&lt;li&gt;Incoming Signal messages are received through Server-Sent Events (SSE).&lt;/li&gt;
&lt;li&gt;Switch forwards messages to the appropriate AI agent.&lt;/li&gt;
&lt;li&gt;The agent's response is sent back through Signal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For communication with the daemon, the implementation uses JSON-RPC 2.0.&lt;/p&gt;

&lt;p&gt;This approach allows Switch to communicate with Signal without pretending that Signal has an official bot API.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I implemented
&lt;/h2&gt;

&lt;p&gt;I added a Signal messaging adapter that supports several useful messaging features.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Direct messages&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users can communicate with their AI agents through Signal direct messages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Group conversations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Signal groups can be mapped to Switch rooms, allowing agents to participate in group conversations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Quote replies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Signal does not work like messaging platforms that have traditional threaded conversations.&lt;/p&gt;

&lt;p&gt;To preserve conversation context, the adapter uses quote replies. This helps connect an agent's response to the original message.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Note to Self&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The integration also supports Signal's Note to Self feature.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Activity indicators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I worked on routing activity indicators through Signal reactions, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👀 When an agent is working.&lt;/li&gt;
&lt;li&gt;⏳ When work is queued.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The adapter also supports temporary typing notifications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Credential verification&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before saving a bridge configuration, the adapter checks whether the Signal daemon is reachable and can list its groups.&lt;/p&gt;

&lt;p&gt;This helps catch connection problems earlier.&lt;/p&gt;
&lt;h2&gt;
  
  
  The most interesting challenge: Multi-instance deployments
&lt;/h2&gt;

&lt;p&gt;One of the most valuable parts of this contribution was the feedback I received during review.&lt;/p&gt;

&lt;p&gt;Initially, I was focused on getting the Signal adapter working correctly on my local machine.&lt;/p&gt;

&lt;p&gt;However, Switch needs to support multiple instances of switch-core running at the same time.&lt;/p&gt;

&lt;p&gt;This is important for larger deployments where different server instances can take responsibility for a messaging connection.&lt;/p&gt;

&lt;p&gt;A maintainer pointed out two problems with my initial implementation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The quote cache was stored in local process memory. When another server instance took over, that instance would not have the previous cache.&lt;/li&gt;
&lt;li&gt;The documentation used &lt;code&gt;127.0.0.1&lt;/code&gt; for the Signal daemon. That would not work when the active Switch instance and the daemon were running in different containers or services.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This feedback helped me understand an important difference between code that works locally and code that works in a distributed deployment.&lt;/p&gt;

&lt;p&gt;I updated the implementation to address these concerns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For the quote cache:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I replaced the unbounded dictionary with a capped &lt;code&gt;OrderedDict&lt;/code&gt; LRU cache containing up to 1,000 items.&lt;/p&gt;

&lt;p&gt;I also updated quote-reply handling to pass the original timestamp directly from the turn root target. This allows replies to work after a bridge moves to another instance without depending on a locally cached author or message entry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For daemon connectivity:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I updated the documentation to recommend a shared internal daemon endpoint instead of relying on localhost.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://signal-cli:8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This makes the setup more appropriate for deployments where multiple server instances need to reach the same daemon.&lt;/p&gt;

&lt;p&gt;I also added tests for these cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few additional fixes
&lt;/h2&gt;

&lt;p&gt;While working through the review feedback, I also improved some smaller parts of the adapter.&lt;/p&gt;

&lt;p&gt;These included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better detection of messages sent by the connected Signal account, so ordinary messages starting with text like &lt;code&gt;[urgent]&lt;/code&gt; are not accidentally ignored.&lt;/li&gt;
&lt;li&gt;Proper handling of failed user additions.&lt;/li&gt;
&lt;li&gt;Whitespace cleanup when validating the daemon endpoint.&lt;/li&gt;
&lt;li&gt;Better connection checks before saving credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These changes may look small individually, but they make the integration more dependable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing the implementation
&lt;/h2&gt;

&lt;p&gt;I wanted to make sure that the adapter worked beyond the happy path.&lt;/p&gt;

&lt;p&gt;The submitted PR reports:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;50 passed in 1.17s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The tests cover adapter behavior and bridge registry behavior.&lt;/p&gt;

&lt;p&gt;Some of the important scenarios include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Signal message handling.&lt;/li&gt;
&lt;li&gt;Quote replies after switching to a fresh server instance.&lt;/li&gt;
&lt;li&gt;LRU cache eviction.&lt;/li&gt;
&lt;li&gt;Credential verification.&lt;/li&gt;
&lt;li&gt;Activity indicators.&lt;/li&gt;
&lt;li&gt;Messages that begin with square brackets.&lt;/li&gt;
&lt;li&gt;Bridge registration behavior.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also tested the integration with a local &lt;code&gt;signal-cli 0.14.9&lt;/code&gt; daemon linked to a Signal device.&lt;/p&gt;

&lt;p&gt;During the smoke test, I sent an outbound message to Note to Self, checked the delivery receipt, and verified incoming events through the SSE stream.&lt;/p&gt;

&lt;p&gt;The submitted validation also reports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ruff checks passed.&lt;/li&gt;
&lt;li&gt;Ruff formatting passed.&lt;/li&gt;
&lt;li&gt;Strict mypy checks passed with zero errors.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My contribution
&lt;/h2&gt;

&lt;p&gt;Here are the details of my implementation:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project:&lt;/strong&gt; Switch&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Platform:&lt;/strong&gt; Signal&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Integration:&lt;/strong&gt; signal-cli HTTP daemon&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Communication:&lt;/strong&gt; JSON-RPC 2.0 and Server-Sent Events&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1041" rel="noopener noreferrer"&gt;#1041 – Add Signal messaging platform adapter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/792" rel="noopener noreferrer"&gt;#792 – Add Signal as a messaging platform&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The submitted PR contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;9 changed files.&lt;/li&gt;
&lt;li&gt;1,718 additions.&lt;/li&gt;
&lt;li&gt;Signal adapter implementation.&lt;/li&gt;
&lt;li&gt;Automated tests.&lt;/li&gt;
&lt;li&gt;Signal setup documentation.&lt;/li&gt;
&lt;li&gt;Improvements addressing multi-instance deployment concerns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The PR is currently open and has not yet been merged.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned from this contribution
&lt;/h2&gt;

&lt;p&gt;This was a good reminder that implementing a feature is only one part of contributing to an open-source project.&lt;/p&gt;

&lt;p&gt;I learned more about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connecting applications through JSON-RPC and SSE.&lt;/li&gt;
&lt;li&gt;Working with messaging platform adapters.&lt;/li&gt;
&lt;li&gt;Handling quote-based conversation context.&lt;/li&gt;
&lt;li&gt;Understanding multi-instance application deployments.&lt;/li&gt;
&lt;li&gt;Writing tests for edge cases.&lt;/li&gt;
&lt;li&gt;Taking maintainer feedback and turning it into code improvements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest lesson for me was that a feature working on one machine does not automatically mean it will work in a real deployment.&lt;/p&gt;

&lt;p&gt;Understanding how the rest of the system behaves is just as important as writing the feature itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;I enjoyed working on this integration because it pushed me beyond simply implementing an API connection.&lt;/p&gt;

&lt;p&gt;It gave me a chance to understand a different messaging architecture, work through real review feedback, and improve the implementation for a more realistic deployment environment.&lt;/p&gt;

&lt;p&gt;Thanks to the Switch maintainers for taking the time to explain the architectural concerns and provide feedback.&lt;/p&gt;

&lt;p&gt;I am continuing to contribute to open-source projects, learn from code reviews, and build things that solve practical problems.&lt;/p&gt;

&lt;p&gt;For me, that is one of the best parts of open source: you write code, get feedback, learn something new, and make the project better together.&lt;/p&gt;

&lt;h3&gt;
  
  
  Useful links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch" rel="noopener noreferrer"&gt;Switch Repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/pull/1041" rel="noopener noreferrer"&gt;Signal Adapter PR #1041&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sandbox-quantum/switch/issues/792" rel="noopener noreferrer"&gt;Original Issue #792&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/AsamK/signal-cli" rel="noopener noreferrer"&gt;signal-cli&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>wemakedevs</category>
      <category>switchai</category>
      <category>signal</category>
    </item>
    <item>
      <title># Bringing AI Agents into Cisco Webex: Building a New Messaging Integration for Switch</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Sat, 07 Nov 2026 10:45:42 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/-bringing-ai-agents-into-cisco-webex-building-a-new-messaging-integration-for-switch-2cfi</link>
      <guid>https://dev.to/darshan_rajput_3690/-bringing-ai-agents-into-cisco-webex-building-a-new-messaging-integration-for-switch-2cfi</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjr5310gm4jfuwfsrxcpg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjr5310gm4jfuwfsrxcpg.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open-source contribution is not always about adding another feature to a project. Sometimes, it is about making an existing system work with tools that people already use every day.&lt;/p&gt;

&lt;p&gt;Recently, I worked on adding &lt;strong&gt;Cisco Webex support to Switch&lt;/strong&gt;, an open-source platform that enables AI agents to collaborate through messaging applications.&lt;/p&gt;

&lt;p&gt;This contribution is part of the &lt;a href="https://www.wemakedevs.org/hackathons/switch" rel="noopener noreferrer"&gt;Switch Hackathon by WeMakeDevs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In this article, I want to share what I built, some of the engineering challenges involved, how I approached the integration, and what I learned along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Understanding the problem
&lt;/h2&gt;

&lt;p&gt;Switch already provides a foundation for connecting AI agents with messaging platforms.&lt;/p&gt;

&lt;p&gt;However, there was an opportunity to extend that experience to Cisco Webex.&lt;/p&gt;

&lt;p&gt;Webex is used by organizations for team communication, direct conversations, and collaboration. Bringing AI agents into this environment can make them more accessible to teams without requiring people to switch between multiple applications.&lt;/p&gt;

&lt;p&gt;The original feature request was:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add Webex as a messaging platform.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitHub Issue: &lt;a href="https://github.com/sandbox-quantum/switch/issues/795" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/795&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The goal was to implement a Webex integration that allows users to connect their own Webex bot credentials through Switch and communicate with their AI agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Understanding the integration architecture
&lt;/h2&gt;

&lt;p&gt;Before implementing the adapter, I needed to understand how Switch handles messaging platforms.&lt;/p&gt;

&lt;p&gt;The important parts of the integration included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Webex bot authentication and credentials.&lt;/li&gt;
&lt;li&gt;Webhook-based event delivery.&lt;/li&gt;
&lt;li&gt;Mapping Webex spaces to Switch conversations.&lt;/li&gt;
&lt;li&gt;Supporting direct messages and group spaces.&lt;/li&gt;
&lt;li&gt;Maintaining thread context.&lt;/li&gt;
&lt;li&gt;Handling attachments and interactive approval actions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I chose a webhook-based approach for receiving events from Webex.&lt;/p&gt;

&lt;p&gt;This allows Webex to send events to a per-connection endpoint exposed by Switch.&lt;/p&gt;

&lt;p&gt;The integration then translates incoming Webex events into the message format expected by Switch.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Building the Cisco Webex adapter
&lt;/h2&gt;

&lt;p&gt;The implementation focuses on making Webex behave like a native messaging platform within Switch.&lt;/p&gt;

&lt;p&gt;Some of the important capabilities include:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Direct and group conversations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The adapter handles both one-to-one conversations and group spaces, mapping them into the appropriate Switch conversation types.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Threaded replies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Webex uses parent message identifiers to associate replies with their original messages. The adapter preserves this relationship so that conversations remain organized.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Message chunking&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Long responses need special handling because messaging platforms impose message-length limits. The adapter splits long content into manageable chunks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;File attachments&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The implementation supports multipart attachment sending and secure file streaming when receiving attachments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interactive approval actions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Webex interactive card actions can be used to submit approval decisions back to Switch.&lt;/p&gt;

&lt;p&gt;These features are important because an AI integration should support more than just sending and receiving plain text.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Security was an important part of the implementation
&lt;/h2&gt;

&lt;p&gt;Messaging integrations process external requests and potentially untrusted data. Security cannot be treated as an afterthought.&lt;/p&gt;

&lt;p&gt;I included several protections in the implementation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HMAC signature verification using supported SHA algorithms.&lt;/li&gt;
&lt;li&gt;Replay-attack checks for incoming webhook requests.&lt;/li&gt;
&lt;li&gt;IP validation to help prevent server-side request forgery (SSRF) during file downloads.&lt;/li&gt;
&lt;li&gt;A 100 MB download cutoff.&lt;/li&gt;
&lt;li&gt;Credential verification during connection setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal was to make the adapter more robust when dealing with incoming webhook events and external file resources.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Fixing an additional Windows compatibility issue
&lt;/h2&gt;

&lt;p&gt;During the contribution, I also addressed a small but important compatibility issue.&lt;/p&gt;

&lt;p&gt;The connection loader's frontmatter regular expression needed to account for Windows CRLF line endings.&lt;/p&gt;

&lt;p&gt;I updated the matching logic to support both Unix-style and Windows-style line endings.&lt;/p&gt;

&lt;p&gt;This was useful because developers should be able to work with the project across different operating systems without encountering avoidable parsing issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Testing the implementation
&lt;/h2&gt;

&lt;p&gt;An integration is not complete just because the code compiles.&lt;/p&gt;

&lt;p&gt;I added a dedicated unit test suite covering different adapter scenarios.&lt;/p&gt;

&lt;p&gt;The submitted implementation reports &lt;strong&gt;25 passing unit tests&lt;/strong&gt;, covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HMAC signature verification.&lt;/li&gt;
&lt;li&gt;Different signature algorithms.&lt;/li&gt;
&lt;li&gt;Replay protection.&lt;/li&gt;
&lt;li&gt;Webhook event routing.&lt;/li&gt;
&lt;li&gt;Direct and group conversation handling.&lt;/li&gt;
&lt;li&gt;Threaded replies.&lt;/li&gt;
&lt;li&gt;Interactive card submissions.&lt;/li&gt;
&lt;li&gt;Attachment download and upload handling.&lt;/li&gt;
&lt;li&gt;SSRF protection and download limits.&lt;/li&gt;
&lt;li&gt;Message chunking.&lt;/li&gt;
&lt;li&gt;Credential verification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also performed a live bot smoke test by connecting a Webex bot to the local Switch server through the webhook endpoint.&lt;/p&gt;

&lt;p&gt;The reported validation results were:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;25 passed in 0.51s

Ruff: 0 errors
Pytest: 25/25 passing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These results are from the submitted PR's test report.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. My contribution to Switch
&lt;/h2&gt;

&lt;p&gt;I submitted the implementation through:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request #1027: feat(messaging): add Cisco Webex collaboration bridge adapter&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PR: &lt;a href="https://github.com/sandbox-quantum/switch/pull/1027" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1027&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The current PR contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;8 changed files.&lt;/li&gt;
&lt;li&gt;1,541 additions.&lt;/li&gt;
&lt;li&gt;1 deletion.&lt;/li&gt;
&lt;li&gt;A dedicated Webex adapter.&lt;/li&gt;
&lt;li&gt;A test suite.&lt;/li&gt;
&lt;li&gt;Webex integration documentation.&lt;/li&gt;
&lt;li&gt;A Windows CRLF compatibility fix.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pull request is currently open and awaiting review.&lt;/p&gt;

&lt;p&gt;I am looking forward to feedback from the maintainers and the opportunity to improve the implementation further.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What I learned
&lt;/h2&gt;

&lt;p&gt;This contribution helped me understand that integrating a messaging platform involves much more than connecting two APIs.&lt;/p&gt;

&lt;p&gt;Some important lessons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understand the existing architecture first.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Following established adapter patterns makes integrations easier to maintain and keeps new features consistent with the rest of the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Think about edge cases early.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thread relationships, message limits, duplicate events, attachments, and webhook validation all matter in a production-oriented integration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing should cover behavior, not just successful requests.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Security checks and failure scenarios deserve dedicated tests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation is part of the implementation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A feature is more useful when another developer can understand how to configure, test, and maintain it.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Closing thoughts
&lt;/h2&gt;

&lt;p&gt;Working on Cisco Webex support for Switch has been a valuable open-source engineering experience.&lt;/p&gt;

&lt;p&gt;It gave me the opportunity to explore messaging infrastructure, webhook integrations, security validation, Python testing, and the architecture of an AI agent collaboration platform.&lt;/p&gt;

&lt;p&gt;I am grateful for the opportunity to contribute through the WeMakeDevs Switch Hackathon and to work on an integration that can make AI agents accessible through another collaboration platform.&lt;/p&gt;

&lt;p&gt;This is one more step in my journey of learning by building, contributing to open source, and solving practical engineering problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code is only one part of the contribution. Understanding the problem, handling edge cases, testing the implementation, and documenting the result matter just as much.&lt;/strong&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Useful links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/pull/1027" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/pull/1027&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original Issue:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch/issues/795" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch/issues/795&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch Hackathon:&lt;/strong&gt; &lt;a href="https://www.wemakedevs.org/hackathons/switch" rel="noopener noreferrer"&gt;https://www.wemakedevs.org/hackathons/switch&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch Repository:&lt;/strong&gt; &lt;a href="https://github.com/sandbox-quantum/switch" rel="noopener noreferrer"&gt;https://github.com/sandbox-quantum/switch&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>switchai</category>
      <category>wemakedevs</category>
      <category>fliptheswitchhackathon</category>
    </item>
    <item>
      <title>cognee</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Sat, 31 Oct 2026 05:02:09 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/cognee-40pn</link>
      <guid>https://dev.to/darshan_rajput_3690/cognee-40pn</guid>
      <description></description>
    </item>
    <item>
      <title>I Built a QuickBooks Connector for an AI Knowledge Graph — Here’s What I Learned</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Wed, 21 Oct 2026 04:53:34 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/i-built-a-quickbooks-connector-for-an-ai-knowledge-graph-heres-what-i-learned-50jm</link>
      <guid>https://dev.to/darshan_rajput_3690/i-built-a-quickbooks-connector-for-an-ai-knowledge-graph-heres-what-i-learned-50jm</guid>
      <description>&lt;p&gt;What if you could ask AI questions about invoices, unpaid bills, and financial records instead of searching through them manually?&lt;/p&gt;

&lt;p&gt;That’s the idea behind my latest open-source contribution to &lt;strong&gt;Cognee Community&lt;/strong&gt;: a QuickBooks Online data connector.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Pull Request:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee-community/pull/402" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee-community/pull/402&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Issue:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee/issues/4802" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee/issues/4802&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 What does it do?
&lt;/h2&gt;

&lt;p&gt;QuickBooks stores useful business information, but AI systems need a way to ingest and understand that data.&lt;/p&gt;

&lt;p&gt;I worked on a connector that brings QuickBooks financial records into Cognee's AI memory workflow.&lt;/p&gt;

&lt;p&gt;The connector supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📄 Ingesting invoices, vendor bills, and credit memos.&lt;/li&gt;
&lt;li&gt;🔐 OAuth 2.0 authentication and token refresh.&lt;/li&gt;
&lt;li&gt;🔄 Incremental sync to retrieve new and updated records.&lt;/li&gt;
&lt;li&gt;🗑️ Deletion detection to help remove outdated information.&lt;/li&gt;
&lt;li&gt;🛡️ Retry handling and safeguards against accidental deletion.&lt;/li&gt;
&lt;li&gt;🧪 Automated tests and offline pipeline verification using DuckDB.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⚙️ How does it work?
&lt;/h2&gt;

&lt;p&gt;The basic workflow is:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;QuickBooks → Python Connector → DLT → Cognee → Knowledge Graph&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The connector retrieves financial records, formats them into readable Markdown documents, and sends them through Cognee's ingestion workflow.&lt;/p&gt;

&lt;p&gt;For example, instead of working with raw invoice JSON, the system can process information such as customer names, invoice totals, payment status, and line items.&lt;/p&gt;

&lt;p&gt;This makes the information more useful for downstream AI search and knowledge extraction.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔍 The biggest challenge: keeping data in sync
&lt;/h2&gt;

&lt;p&gt;Fetching records is only one part of building a reliable connector.&lt;/p&gt;

&lt;p&gt;What happens when an invoice changes? What if someone deletes a record? And what if an API request fails and returns no data?&lt;/p&gt;

&lt;p&gt;I worked on incremental synchronization using &lt;code&gt;Metadata.LastUpdatedTime&lt;/code&gt;, deletion detection through QuickBooks Change Data Capture (CDC), and a fallback reconciliation mechanism.&lt;/p&gt;

&lt;p&gt;I also added a safety check to prevent an empty synchronization sweep from accidentally marking previously known records for deletion.&lt;/p&gt;

&lt;p&gt;The submitted test suite documents &lt;strong&gt;12 passing tests&lt;/strong&gt;, covering data formatting, synchronization, deletion handling, and retry behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What I learned
&lt;/h2&gt;

&lt;p&gt;This contribution taught me that building a data connector is about much more than calling an API.&lt;/p&gt;

&lt;p&gt;You need to think about data consistency, authentication, synchronization state, failure handling, and testing edge cases.&lt;/p&gt;

&lt;p&gt;Working on these details gave me practical experience with &lt;strong&gt;Python, REST APIs, DLT, data pipelines, testing, and AI knowledge graphs&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🙌 Explore the project
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;My pull request:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee-community/pull/402" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee-community/pull/402&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original issue:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee/issues/4802" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee/issues/4802&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognee:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognee Community:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee-community" rel="noopener noreferrer"&gt;https://github.com/topoteretes/cognee-community&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks to the  Cognee maintainers and community for creating opportunities to learn and contribute to open-source AI infrastructure.&lt;/p&gt;

&lt;p&gt;The pull request is currently open for review, and I welcome feedback from other developers.&lt;/p&gt;

&lt;h2&gt;
  
  
  💬 Let's discuss!
&lt;/h2&gt;

</description>
      <category>ai</category>
      <category>wemakedevs</category>
      <category>cognee</category>
      <category>opensource</category>
    </item>
    <item>
      <title>##I Built a Brex Connector for Cognee: Bringing Business Expense Data Into AI Memory 🚀</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Mon, 19 Oct 2026 13:53:42 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/i-built-a-brex-connector-for-cognee-bringing-business-expense-data-into-ai-memory-2i6</link>
      <guid>https://dev.to/darshan_rajput_3690/i-built-a-brex-connector-for-cognee-bringing-business-expense-data-into-ai-memory-2i6</guid>
      <description>&lt;h1&gt;
  
  
  I Built a Brex Connector for Cognee: Bringing Business Expense Data Into AI Memory 🚀
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;What I learned building an open-source data connector during MergeTober by WeMakeDevs.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What if you could ask an AI assistant about business expenses instead of manually searching through transaction records, notes, and budgets?&lt;/p&gt;

&lt;p&gt;That question captures the idea behind my recent open-source contribution to &lt;a href="https://github.com/topoteretes/cognee-community" rel="noopener noreferrer"&gt;Cognee Community&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;During &lt;strong&gt;MergeTober by WeMakeDevs&lt;/strong&gt;, I worked on building a &lt;strong&gt;Brex data-source connector for Cognee&lt;/strong&gt;. The work involved much more than fetching data from an API. I also had to think about how the data should be organized, how future syncs should work, and how to protect existing data when something goes wrong.&lt;/p&gt;

&lt;p&gt;Here is what I built, how it works, and what I learned.&lt;/p&gt;

&lt;h2&gt;
  
  
  🌍 My entry into MergeTober
&lt;/h2&gt;

&lt;p&gt;Open source can feel intimidating when you're starting out. You might wonder which project to choose, how to understand an unfamiliar codebase, or what maintainers expect from a contribution.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.wemakedevs.org/hackathons/mergetober" rel="noopener noreferrer"&gt;MergeTober&lt;/a&gt; gave me an opportunity to work on a real integration issue rather than build another standalone demo.&lt;/p&gt;

&lt;p&gt;My workflow was straightforward:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find an open issue that matches a real project need.&lt;/li&gt;
&lt;li&gt;Understand the requirements and existing architecture.&lt;/li&gt;
&lt;li&gt;Implement the feature and submit a pull request.&lt;/li&gt;
&lt;li&gt;Document the work so other developers can understand it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I chose a connector issue because I wanted hands-on experience with APIs, data engineering, and AI infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 Why connectors matter for AI
&lt;/h2&gt;

&lt;p&gt;Consider a company that stores information across different tools. Expense records live in a financial platform, project updates live elsewhere, and important context is buried in notes.&lt;/p&gt;

&lt;p&gt;Even a capable AI system cannot use information it cannot access.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/topoteretes/cognee" rel="noopener noreferrer"&gt;Cognee&lt;/a&gt; is an open-source project focused on turning data into structured AI memory. Data connectors help bring information from external systems into that workflow.&lt;/p&gt;

&lt;p&gt;That led me to a practical question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can we make business expense information available to an AI knowledge system in a useful, structured, and maintainable way?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My contribution was an attempt to solve that problem for Brex.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔌 What I built: the Brex connector
&lt;/h2&gt;

&lt;p&gt;Brex provides business expense and budget management capabilities. My connector brings selected Brex data into Cognee's ingestion workflow.&lt;/p&gt;

&lt;p&gt;You can explore the implementation here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/topoteretes/cognee/issues/4797" rel="noopener noreferrer"&gt;GitHub issue #4797 — Brex connector requirements&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/topoteretes/cognee-community/pull/389" rel="noopener noreferrer"&gt;Pull request #389 — My implementation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The connector supports three data resources:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Resource&lt;/th&gt;
&lt;th&gt;Information collected&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Expenses&lt;/td&gt;
&lt;td&gt;Amounts, merchants, categories, statuses, and dates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memos&lt;/td&gt;
&lt;td&gt;Expense notes and business justifications&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Budgets&lt;/td&gt;
&lt;td&gt;Budget limits, spending, and budget relationships&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The interesting part is that these resources don't all need to be represented in the same way.&lt;/p&gt;

&lt;p&gt;Expense memos can become readable documents for contextual knowledge extraction, while expenses and budgets can remain structured records for organized data processing.&lt;/p&gt;

&lt;p&gt;This gives downstream workflows access to both business context and structured information.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚙️ How the connector works
&lt;/h2&gt;

&lt;p&gt;Here is the simplified architecture:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       Brex Platform API
                |
                v
       Authentication
       + Pagination
                |
                v
       Fetch Expenses,
       Memos and Budgets
                |
                v
       Transform the Data
          /          \
         v            v
   Document Mode   Structured Mode
         \            /
          v          v
          DLT Ingestion
                |
                v
          Cognee Workflow
                |
                v
        AI Knowledge Retrieval
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let's break down the engineering decisions behind it.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Authentication and API requests
&lt;/h3&gt;

&lt;p&gt;The connector uses Bearer token authentication to access the Brex Platform API.&lt;/p&gt;

&lt;p&gt;It also handles paginated responses, so the integration can retrieve records across multiple API pages rather than stopping at the first batch.&lt;/p&gt;

&lt;p&gt;API integrations must account for failure cases, too. The implementation includes handling for authentication errors, permission errors, and rate limits.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Turning raw data into useful information
&lt;/h3&gt;

&lt;p&gt;Raw API responses aren't always the best representation for an AI knowledge pipeline.&lt;/p&gt;

&lt;p&gt;For example, consider an expense containing a merchant, amount, department, budget, and a note explaining why the purchase was necessary.&lt;/p&gt;

&lt;p&gt;The connector can transform that context into a readable document card while preserving expenses and budgets as structured records.&lt;/p&gt;

&lt;p&gt;This separation makes the data easier to consume in different downstream workflows.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Incremental synchronization
&lt;/h3&gt;

&lt;p&gt;Fetching every record during every run can be inefficient as datasets grow.&lt;/p&gt;

&lt;p&gt;The connector uses Brex's &lt;code&gt;posted_at_start&lt;/code&gt; filter and stores synchronization state through DLT's resource-state mechanism to track the latest processed timestamp.&lt;/p&gt;

&lt;p&gt;Subsequent runs can then use that timestamp to retrieve relevant new or updated expense records.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The important lesson:&lt;/strong&gt; reliable integrations need to remember where the previous synchronization ended.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Handling deletions safely
&lt;/h3&gt;

&lt;p&gt;One of the more interesting challenges was deletion reconciliation.&lt;/p&gt;

&lt;p&gt;Suppose a record disappears from the source. Eventually, the destination should stop treating that record as current.&lt;/p&gt;

&lt;p&gt;However, imagine the API temporarily fails while the connector is checking which records still exist. Treating an incomplete response as a complete snapshot could incorrectly mark valid records as deleted.&lt;/p&gt;

&lt;p&gt;The implementation therefore includes a guardrail: if reconciliation encounters API or network errors, deletion-marker generation is aborted rather than proceeding with potentially incomplete information.&lt;/p&gt;

&lt;p&gt;This is an important distinction between simply syncing data and building a connector that considers data integrity.&lt;/p&gt;

&lt;h2&gt;
  
  
  💻 What does using it look like?
&lt;/h2&gt;

&lt;p&gt;The pull request includes a usage example following Cognee's API.&lt;/p&gt;

&lt;p&gt;After installing and configuring the connector and providing the required Brex API credentials, the basic ingestion pattern looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;asyncio&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;cognee&lt;/span&gt;

&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;cognee_community_connector_brex&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;brex_source&lt;/span&gt;


&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="n"&gt;source&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;brex_source&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;token&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;BREX_API_TOKEN&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="n"&gt;include&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;expenses&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;memos&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;budgets&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;cognee&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;remember&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;dataset_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;brex_spend&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;primary_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;write_disposition&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;merge&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;max_rows_per_table&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;__main__&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;asyncio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This example illustrates how the connector is configured and passed to Cognee's ingestion API. A complete setup also requires installing the relevant dependencies, configuring valid credentials with appropriate permissions, and checking the compatibility of the project's installed versions.&lt;/p&gt;

&lt;p&gt;Once the data is ingested, it can be used in a Cognee search workflow according to the configured pipeline and supported query types.&lt;/p&gt;

&lt;p&gt;For the full implementation and query example, see the &lt;a href="https://github.com/topoteretes/cognee-community/pull/389" rel="noopener noreferrer"&gt;pull request&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧪 Testing is part of the feature
&lt;/h2&gt;

&lt;p&gt;A connector should not be considered reliable just because it works with one successful API response.&lt;/p&gt;

&lt;p&gt;The pull request includes offline unit tests for important paths, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication and API error handling.&lt;/li&gt;
&lt;li&gt;Pagination and data transformation.&lt;/li&gt;
&lt;li&gt;Incremental synchronization state.&lt;/li&gt;
&lt;li&gt;Deletion-marker generation and failure guardrails.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The PR also documents an end-to-end DLT pipeline run using DuckDB.&lt;/p&gt;

&lt;p&gt;These tests matter because connectors operate at a boundary between systems. A mistake can affect not only the data being fetched but also what downstream applications believe is current.&lt;/p&gt;

&lt;p&gt;I came away with a stronger appreciation for testing failure scenarios—not just the happy path.&lt;/p&gt;

&lt;h2&gt;
  
  
  📚 What I learned from this contribution
&lt;/h2&gt;

&lt;p&gt;This project taught me several practical lessons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understand the existing architecture before coding.&lt;/strong&gt; Following established connector patterns makes a contribution easier to review and maintain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Think about synchronization from day one.&lt;/strong&gt; Initial ingestion is only one part of the problem. Updates, deletion handling, and persistent state matter just as much.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Protect data when dependencies fail.&lt;/strong&gt; A partial API response should not automatically be treated as the complete truth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Treat documentation as part of the implementation.&lt;/strong&gt; Clear setup instructions and realistic examples help other developers use a feature without first having to understand every line of code.&lt;/p&gt;

&lt;p&gt;Most importantly, I learned that a meaningful open-source contribution often involves making many small engineering decisions correctly.&lt;/p&gt;

&lt;h2&gt;
  
  
  🙏 Thank you, Kunal Kushwaha, Cognee, and WeMakeDevs!
&lt;/h2&gt;

&lt;p&gt;A big thank you to &lt;strong&gt;Kunal Kushwaha&lt;/strong&gt; and the &lt;strong&gt;WeMakeDevs team&lt;/strong&gt; for encouraging developers to build in public, learn by contributing, and participate in open-source initiatives like MergeTober.&lt;/p&gt;

&lt;p&gt;Thank you to the &lt;strong&gt;Cognee team and community&lt;/strong&gt; for maintaining the project and creating opportunities to work on real integration challenges.&lt;/p&gt;

&lt;p&gt;I am also grateful to the maintainers and community members who helped with the issue assignment and contribution process.&lt;/p&gt;

&lt;p&gt;Open source is about more than individual pull requests. It is about a community where developers can learn from one another and gradually help improve the tools everyone uses.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔗 Explore the project
&lt;/h2&gt;

&lt;p&gt;If you're interested in AI memory, data engineering, or contributing to open source, these resources are a good starting point:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;My pull request:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee-community/pull/389" rel="noopener noreferrer"&gt;Brex spend data-source connector&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original issue:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee/issues/4797" rel="noopener noreferrer"&gt;Add a Brex data-source connector&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognee:&lt;/strong&gt; &lt;a href="https://github.com/topoteretes/cognee" rel="noopener noreferrer"&gt;Explore the main repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MergeTober:&lt;/strong&gt; &lt;a href="https://www.wemakedevs.org/hackathons/mergetober" rel="noopener noreferrer"&gt;Learn about the initiative&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🚀 Your turn: build something useful
&lt;/h2&gt;

&lt;p&gt;You don't need to start with a groundbreaking idea to contribute to open source.&lt;/p&gt;

&lt;p&gt;Pick a real problem. Read the existing code. Ask questions when you need to. Test your implementation. Document what you learn.&lt;/p&gt;

&lt;p&gt;That is how small contributions become useful improvements to real software.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My MergeTober journey is another step in that direction, and I'm looking forward to learning and contributing more.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Have you built an API integration or contributed to an AI open-source project? Share your experience in the comments. I'd love to learn what challenges you encountered.&lt;/p&gt;




</description>
      <category>ai</category>
      <category>wemakedevs</category>
      <category>cognee</category>
      <category>opensource</category>
    </item>
    <item>
      <title>##I Built SetuBrain: An AI Company Brain That Knows When NOT to Answer</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Sun, 18 Oct 2026 16:44:06 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/i-built-setubrain-an-ai-company-brain-that-knows-when-not-to-answer-1oag</link>
      <guid>https://dev.to/darshan_rajput_3690/i-built-setubrain-an-ai-company-brain-that-knows-when-not-to-answer-1oag</guid>
      <description>&lt;p&gt;What if an AI agent could detect outdated policies, trace answers to evidence, identify conflicting instructions, and admit when it doesn't know the answer?&lt;/p&gt;

&lt;p&gt;That's the problem I explored while building &lt;strong&gt;SetuBrain&lt;/strong&gt; for the &lt;strong&gt;FalkorDB Graph Hackathon 2026&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Inspired by &lt;a href="https://www.ycombinator.com/rfs#company-brain" rel="noopener noreferrer"&gt;Y Combinator's Company Brain Request for Startups&lt;/a&gt;, SetuBrain aims to bridge scattered company knowledge and reliable AI execution.&lt;/p&gt;

&lt;p&gt;🌐 &lt;strong&gt;&lt;a href="https://setu-brain.vercel.app" rel="noopener noreferrer"&gt;Live Demo&lt;/a&gt;&lt;/strong&gt; | 💻 &lt;strong&gt;&lt;a href="https://github.com/Darshan3690/SetuBrain" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/strong&gt; | 🎥 &lt;strong&gt;&lt;a href="https://www.youtube.com/watch?v=ZyC6j9tY-Cs" rel="noopener noreferrer"&gt;Watch the Project Video&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧩 The Problem with Traditional RAG
&lt;/h2&gt;

&lt;p&gt;Company knowledge is scattered across PDFs, internal wikis, Slack conversations, policies, and approval records.&lt;/p&gt;

&lt;p&gt;A typical Retrieval-Augmented Generation (RAG) system retrieves relevant text, but what happens when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An old policy conflicts with a new one?&lt;/li&gt;
&lt;li&gt;An answer requires connecting multiple departments and approvals?&lt;/li&gt;
&lt;li&gt;Two documents contain contradictory instructions?&lt;/li&gt;
&lt;li&gt;No approved procedure exists?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Retrieving information isn't the same as verifying it.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 Why FalkorDB?
&lt;/h2&gt;

&lt;p&gt;SetuBrain uses &lt;a href="https://github.com/FalkorDB/FalkorDB" rel="noopener noreferrer"&gt;FalkorDB&lt;/a&gt; as its graph data layer to represent company knowledge as connected entities rather than isolated text chunks.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Department → Procedure → Application → Policy → Approver&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Using Cypher queries, the system can traverse relationships, identify superseded policies, detect conflicts, and trace decisions to supporting evidence.&lt;/p&gt;

&lt;p&gt;The goal is to make graph relationships part of the reasoning process—not just a visualization.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚙️ How SetuBrain Works
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Graph-powered knowledge:&lt;/strong&gt; Represents departments, procedures, applications, policies, contacts, decisions, and evidence as connected nodes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Policy verification:&lt;/strong&gt; Uses graph traversal and supersession relationships to identify authoritative policies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Conflict detection:&lt;/strong&gt; Flags contradictory policies and supports human review before an uncertain instruction is treated as authoritative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Human-in-the-loop learning:&lt;/strong&gt; Escalates missing knowledge to subject-matter experts and incorporates approved updates into the graph.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Agent integration through MCP:&lt;/strong&gt; Exposes graph-backed tools through a Model Context Protocol endpoint so compatible AI clients can access SetuBrain's capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Reusable agent skills:&lt;/strong&gt; Compiles verified graph information into structured &lt;code&gt;SKILL.md&lt;/code&gt; specifications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Multi-tenant architecture:&lt;/strong&gt; Separates tenant knowledge contexts using graph selection, with access controls required to enforce isolation securely.&lt;/p&gt;

&lt;h2&gt;
  
  
  📊 Testing the Approach
&lt;/h2&gt;

&lt;p&gt;In SetuBrain's documented 15-question enterprise benchmark, the results were:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Correct answers&lt;/th&gt;
&lt;th&gt;Accuracy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flat vector RAG baseline&lt;/td&gt;
&lt;td&gt;4/15&lt;/td&gt;
&lt;td&gt;26.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SetuBrain graph approach&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These results apply to this specific test set, not every RAG or graph-based system. The benchmark explores multi-hop reasoning, outdated policies, contradictions, missing knowledge, and evidence provenance.&lt;/p&gt;

&lt;p&gt;The key takeaway: vector retrieval and graph traversal solve different problems and can complement each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js &amp;amp; TypeScript&lt;/strong&gt; — Application and interface&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FalkorDB &amp;amp; Cypher&lt;/strong&gt; — Graph storage and relationship traversal&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP&lt;/strong&gt; — Integration with compatible AI agents&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three.js&lt;/strong&gt; — Interactive 3D knowledge graph visualization&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI agent workflows&lt;/strong&gt; — Conflict review, expert escalation, and skill generation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔗 Explore SetuBrain
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;a href="https://setu-brain.vercel.app" rel="noopener noreferrer"&gt;Live Demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🖥️ &lt;a href="https://setu-brain.vercel.app/?view=console" rel="noopener noreferrer"&gt;Interactive Console&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💻 &lt;a href="https://github.com/Darshan3690/SetuBrain" rel="noopener noreferrer"&gt;Source Code on GitHub&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📚 &lt;a href="https://github.com/Darshan3690/SetuBrain/blob/main/setubrain_full_guide.md" rel="noopener noreferrer"&gt;Full Technical Guide&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔌 &lt;a href="https://setu-brain.vercel.app/api/mcp" rel="noopener noreferrer"&gt;MCP Endpoint&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🏁 &lt;a href="https://github.com/FalkorDB/FalkorDB" rel="noopener noreferrer"&gt;FalkorDB Graph Hackathon&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;💡 &lt;a href="https://www.ycombinator.com/&lt;br&gt;%0Arfs#company-brain" rel="noopener noreferrer"&gt;Y Combinator: Company Brain RFS&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🎥 &lt;a href="https://www.youtube.com/watch?v=ZyC6j9tY-Cs" rel="noopener noreferrer"&gt;Watch the Project Video&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  💭 My Biggest Takeaway
&lt;/h2&gt;

&lt;p&gt;Building SetuBrain reinforced one important principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A reliable AI system should know what is approved, what is outdated, what conflicts, and when human judgment is needed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The future of enterprise AI isn't just about generating better answers. It's about building systems that can verify their knowledge and handle uncertainty responsibly.&lt;/p&gt;

&lt;p&gt;💬 &lt;strong&gt;Question for developers:&lt;/strong&gt; Would you trust a graph-powered AI agent to manage company knowledge? What would you build differently?&lt;/p&gt;

&lt;p&gt;Explore the repository, share your feedback, and let's build more reliable AI systems together!&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #GraphRAG #FalkorDB #OpenSource
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I made my contribution to open source with Mergetober!</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Wed, 14 Oct 2026 15:50:11 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/i-made-my-contribution-to-open-source-with-mergetober-2o9p</link>
      <guid>https://dev.to/darshan_rajput_3690/i-made-my-contribution-to-open-source-with-mergetober-2o9p</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fygbw6cqqiclizyfpaf3n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fygbw6cqqiclizyfpaf3n.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;## Integrating Clay Enterprise with Cognee Using dlt&lt;/p&gt;

&lt;p&gt;For Mergetober, I worked on building a connector that brings Clay Enterprise data into Cognee using &lt;code&gt;dlt&lt;/code&gt;'s REST API source.&lt;/p&gt;

&lt;p&gt;The main goal was to make it easier to bring structured data from Clay tables into Cognee. I worked on configuring the API endpoint, request parameters, and pagination so the connector could fetch data from the API.&lt;/p&gt;

&lt;p&gt;Pagination was an important part of the implementation because the API can return data across multiple pages. The connector needs to handle those pages to retrieve the available records properly. I also worked on preparing the data so it could be used in Cognee's ingestion workflow.&lt;/p&gt;

&lt;p&gt;I tested the implementation with unit tests and a real Clay Enterprise workspace. Working on this connector gave me a chance to contribute to an open-source project and explore how data integrations can connect external sources with AI applications.&lt;/p&gt;

&lt;p&gt;You can check out my contribution here: &lt;a href="https://github.com/topoteretes/cognee-community/pull/313" rel="noopener noreferrer"&gt;Clay Enterprise connector for Cognee — PR #313&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Acknowledgments
&lt;/h3&gt;

&lt;p&gt;A big thank you to &lt;a href="https://www.wemakedevs.org/hackathons/mergetober" rel="noopener noreferrer"&gt;WeMakeDevs&lt;/a&gt; for organizing Mergetober and giving developers a chance to contribute to open source. Thanks to the &lt;a href="https://www.cognee.ai/" rel="noopener noreferrer"&gt;Cognee team&lt;/a&gt; for building the project and making this contribution possible. I'd also like to thank &lt;strong&gt;Kunal Kushwaha&lt;/strong&gt; for encouraging and supporting the developer community.&lt;/p&gt;

&lt;p&gt;I'm glad I got the opportunity to contribute to Cognee through Mergetober. It was a great way to get involved in open source and work on a practical integration.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>🚀 **Building an AI memory integration cognee!**

I’m contributing to the open-source Cognee ecosystem by working on a Salesforce connector that aims to bring CRM data closer to AI-powered knowledge workflows.

🔹 Salesforce data ingestion</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Tue, 13 Oct 2026 04:57:26 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/building-an-ai-memory-integration-cognee-im-contributing-to-the-open-source-cognee-3a8m</link>
      <guid>https://dev.to/darshan_rajput_3690/building-an-ai-memory-integration-cognee-im-contributing-to-the-open-source-cognee-3a8m</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j" class="crayons-story__hidden-navigation-link"&gt;Inside My MergeTober Contribution: Integrating Salesforce with Cognee&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/darshan_rajput_3690" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4180988%2Fcf7a5d1a-b6a1-47b4-8061-d423bf7f0b9e.jpg" alt="darshan_rajput_3690 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/darshan_rajput_3690" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Darshan Rajput
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Darshan Rajput
                
                
              
              &lt;div id="story-author-preview-content-4841481" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/darshan_rajput_3690" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4180988%2Fcf7a5d1a-b6a1-47b4-8061-d423bf7f0b9e.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Darshan Rajput&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Oct 13&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j" id="article-link-4841481"&gt;
          Inside My MergeTober Contribution: Integrating Salesforce with Cognee
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/opensource"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;opensource&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/salesforce"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;salesforce&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/cognee"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;cognee&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;6&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>coding</category>
      <category>opensource</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Inside My MergeTober Contribution: Integrating Salesforce with Cognee</title>
      <dc:creator>Darshan Rajput</dc:creator>
      <pubDate>Tue, 13 Oct 2026 04:53:29 +0000</pubDate>
      <link>https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j</link>
      <guid>https://dev.to/darshan_rajput_3690/inside-my-mergetober-contribution-integrating-salesforce-with-cognee-1m9j</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AI agents are only as useful as the information they can access. But business knowledge often lives in separate tools, such as CRM platforms, documents, and communication systems.&lt;/p&gt;

&lt;p&gt;That is why I participated in &lt;strong&gt;MergeTober&lt;/strong&gt;, contributing to the open-source Cognee ecosystem by working on a Salesforce connector.&lt;/p&gt;

&lt;p&gt;Cognee provides a memory layer for AI agents, helping turn data into connected knowledge that can be retrieved by downstream applications. My contribution aims to make Salesforce CRM data available to those workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why Connect Salesforce with Cognee?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Salesforce contains valuable business information, including customer accounts, sales opportunities, support cases, and Chatter conversations.&lt;/p&gt;

&lt;p&gt;Connecting this data to Cognee could help developers build AI applications that retrieve relevant business context instead of relying only on isolated records.&lt;/p&gt;

&lt;p&gt;The goal of my connector is to support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Authentication:&lt;/strong&gt; OAuth 2.0 with a Salesforce Connected App.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data ingestion:&lt;/strong&gt; Accounts, Opportunities, Cases, and Chatter records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incremental synchronization:&lt;/strong&gt; SOQL queries using &lt;code&gt;LastModifiedDate&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deletion handling:&lt;/strong&gt; Detect deleted source records and support downstream cleanup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testing and documentation:&lt;/strong&gt; Unit tests, setup instructions, and a runnable example.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;How It Could Work in the Real World&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Imagine a sales team using a CRM knowledge assistant.&lt;/p&gt;

&lt;p&gt;A representative asks:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;“What open opportunities are associated with this customer, and are there any related support cases?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A configured application could retrieve relevant Salesforce records through the connector, process the information with Cognee, and use the resulting knowledge as context for an answer.&lt;/p&gt;

&lt;p&gt;This is an illustrative use case, not a claim that I have tested a complete assistant against a live Salesforce organization.&lt;/p&gt;

&lt;p&gt;Incremental synchronization could help keep the information current, while deletion handling could help prevent outdated source records from remaining in the knowledge system.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Testing My Contribution&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I tested the connector locally using mocked Salesforce responses and verified that &lt;strong&gt;9 out of 9 mocked unit tests passed&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;These results validate the behavior covered by those tests. They do not independently establish that authentication, synchronization, and knowledge retrieval have all been verified against a live Salesforce environment.&lt;/p&gt;

&lt;p&gt;My pull request is currently open and awaiting review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/topoteretes/cognee-community/pull/311" rel="noopener noreferrer"&gt;View my Salesforce connector PR on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why MergeTober Matters&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I appreciate MergeTober's focus on building integrations that solve real problems. Code demonstrates what we build, while a practical blog post helps other developers understand why it matters and how they might use it.&lt;/p&gt;

&lt;p&gt;Contributing to open source is an opportunity to learn, collaborate, and create tools that others can build upon.&lt;/p&gt;

&lt;p&gt;A special &lt;strong&gt;thank you to &lt;a href="https://www.linkedin.com/in/kunalkushwaha/" rel="noopener noreferrer"&gt;Kunal Kushwaha&lt;/a&gt;, Founder of &lt;a href="https://www.wemakedevs.org/" rel="noopener noreferrer"&gt;WeMakeDevs&lt;/a&gt;&lt;/strong&gt;, for creating opportunities that encourage developers to contribute to meaningful open-source projects.&lt;/p&gt;

&lt;p&gt;Thank you also to the &lt;strong&gt;&lt;a href="https://www.linkedin.com/company/cognee-ai/" rel="noopener noreferrer"&gt;Cognee team and community&lt;/a&gt;&lt;/strong&gt; for building an open-source memory layer for AI agents and supporting its growing integration ecosystem.&lt;/p&gt;

&lt;p&gt;Learn more about Cognee at &lt;a href="https://www.cognee.ai/" rel="noopener noreferrer"&gt;cognee.ai&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;My MergeTober contribution explores how Salesforce CRM data can become part of AI knowledge workflows through authentication, structured ingestion, incremental synchronization, and deletion handling.&lt;/p&gt;

&lt;p&gt;With my local mocked tests passing and the pull request awaiting review, I look forward to continuing to improve the contribution through feedback and validation.&lt;/p&gt;

&lt;p&gt;I'm excited to contribute to open source and explore how connected business knowledge can make AI applications more useful.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>salesforce</category>
      <category>cognee</category>
    </item>
  </channel>
</rss>
