An Open Source Toolkit for Detecting Coordinated Inauthentic Behavior in Datasets of Online Activity
Quick start: Try in Codespaces · Download a release · Contribute
CIB Mango Tree is a Python-based, interactive open source toolkit for detecting coordinated inauthentic behavior (CIB) in social media datasets. It is designed for researchers, data journalists, fact-checkers, and watchdogs working to identify inauthentic activity online. For more about the project, visit the project main home page: cibmangotree.org
CIB Mango Tree is a project of Civic Tech DC, a nonprofit community of volunteers using open-source technology to support civic engagement, strengthen democracy, and empower public-interest initiatives.
The latest release is available under Assets in the Releases tab:
No local install needed (sign in to GitHub first — Codespaces requires a GitHub account):
- Click the badge above and create a Codespace.
- Wait for setup. The first open often takes several minutes (dependency install). That is normal — it is not frozen. The terminal will show progress; setup is done when you see:
CIB Mango Tree is ready — open port 8000 in the browser if it did not open automatically. - A browser tab may open with a “starting…” page first; it refreshes until the app is ready.
- When ready, CIB Mango Tree appears in the browser (port 8000).
If the app does not open automatically, open the Ports tab in the bottom panel (same area as Terminal), find port 8000, and click the globe icon to open it in the browser.
Later opens of the same Codespace are usually much faster.
To use the app, download a sample data file. In the app, click Create New on the start page, then click Browse Files to upload that file.
New contributions are welcome! Before contributing, please check out our Technical Documentation guides. If you are not yet familiar with the project, our New Contributor Guide is the best place to start. You can also join Civic Tech DC on Slack and look for the #cib-mango-tree-* channels.
Known datasets for research, prototyping, and QA live in a shared Google Drive folder. Smaller fixtures tracked in the repo are documented under assets/test_data/.
Test outlines, backlog, and roadmap for analyzers planned or in progress live in a shared Google Drive folder.
Contributors using AI tools should follow the project AI Use Policy.
This project is licensed under the MIT License.
Required Notice: © CIB Mango Tree
