Skip to content

About

Track partnership/channel agreements as YAML records and compute account overlap, co-sell coverage gaps, and renewal/expiry alerts.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PARTNERMAP

PARTNERMAP

Track partnership/channel agreements as YAML records and compute account overlap, co-sell coverage gaps, and renewal/expiry alerts.

PyPI CI License: COCL 1.0 Suite

Part of the Cognis Neural Suite.

pip install cognis-partnermap
partnermap scan .            # β†’ prioritized findings in seconds

πŸ”Ž Example output

Real, reproducible output from the tool β€” runs offline:

$ partnermap-emit --version
partnermap 0.1.0
$ partnermap-emit --help
usage: partnermap [-h] [--version] {analyze} ...

Track partnership agreements as YAML and compute account overlap + renewal alerts β€” no customer-list upload, runs fully local.

positional arguments:
  {analyze}
    analyze   Analyze partnership YAML files for overlap and renewals.

options:
  -h, --help  show this help message and exit
  --version   show program's version number and exit

Example:
  python -m partnermap analyze demos/01-basic --format json

Blocks above are real partnermap output β€” reproduce them from a clone.

Sample result format (illustrative values β€” run on your own data for real findings):

{
  "incident": {
    "id": "1234567890",
    "title": "Synthetic Incident Example",
    "description": "This is a test incident.",
    "created_by": "John Doe"
  },
  "findings": [
    {
      "id": "1",
      "title": "Finding 1",
      "description": "This is finding 1.",
      "type": "vulnerability"
    },
    {
      "id": "2",
      "title": "Finding 2",
      "description": "This is finding 2.",
      "type": "malware"
    }
  ]
}

Usage β€” step by step

partnermap tracks partnership agreements stored as YAML and computes account overlap, renewals, and obligations.

  1. Install:
    pip install -e .
    partnermap --version
  2. Analyze one or more YAML files/directories:
    partnermap analyze demos/01-basic
  3. Tune the lookahead window for upcoming renewals:
    partnermap analyze partners/ --window-days 90 --today 2026-06-13
  4. Read the output as JSON for dashboards (report has summary, overlaps, and renewal_alerts):
    partnermap analyze partners/ --format json | jq '.renewal_alerts'
  5. Automate in CI β€” fail when findings appear (overlap | renewal | overdue | any):
    partnermap analyze partners/ --fail-on overdue || exit 1

Contents

Why partnermap?

Account mapping without uploading your customer list to a third party β€” find partner overlap on your own infra and get CI-driven renewal-expiry warnings.

partnermap is single-purpose, scriptable, and self-hostable: point it at a target, get prioritized results in the format your workflow already speaks (table Β· JSON Β· SARIF), gate CI on it, and let agents drive it over MCP.

Features

  • βœ… Parse Yaml
  • βœ… Account Token
  • βœ… Load Partner File
  • βœ… Load Partners
  • βœ… Compute Overlaps
  • βœ… Renewal Alerts
  • βœ… Analyze
  • βœ… Runs on Linux/macOS/Windows Β· Docker Β· devcontainer
  • βœ… Ports in Python, JavaScript, Go, and Rust (ports/)

Quick start

pip install cognis-partnermap
partnermap --version
partnermap scan .                       # scan current project
partnermap scan . --format json         # machine-readable
partnermap scan . --fail-on high        # CI gate (non-zero exit)

Example

$ partnermap scan .
  [HIGH    ] PAR-001  example finding             (./src/app.py)
  [MEDIUM  ] PAR-002  another signal              (./config.yaml)

  2 findings Β· risk score 5 Β· 38ms

Architecture

flowchart LR
  IN[input] --> P[partnermap<br/>analyze + score]
  P --> OUT[report]
Loading

Use it from any AI stack

partnermap is interoperable with every popular way of using AI:

  • MCP server β€” partnermap mcp (Claude Desktop, Cursor, Cognis.Studio, uncensored-fleet)
  • OpenAI-compatible / JSON β€” pipe partnermap scan . --format json into any agent or LLM
  • LangChain Β· CrewAI Β· AutoGen Β· LlamaIndex β€” wrap the CLI/JSON as a tool in one line
  • CI / scripts β€” exit codes + SARIF for non-AI pipelines

How it compares

Cognis partnermap Crossbeam
Self-hostable, no account βœ… varies
Single command, zero config βœ… ⚠️
JSON + SARIF for CI βœ… varies
MCP-native (AI agents) βœ… ❌
Polyglot ports (JS/Go/Rust) βœ… ❌
Open license βœ… COCL varies

Built in the spirit of Crossbeam/Reveal account mapping, as a local CLI, re-framed the Cognis way. Missing a credit? Open a PR.

Integrations

Pipes into your stack: SARIF for code-scanning, JSON for anything, an MCP server (partnermap mcp) for AI agents, and a webhook forwarder for SIEM/Slack/Jira. See docs/INTEGRATIONS.md.

Install β€” every way, every platform

pip install "git+https://github.com/cognis-digital/partnermap.git"    # pip (works today)
pipx install "git+https://github.com/cognis-digital/partnermap.git"   # isolated CLI
uv tool install "git+https://github.com/cognis-digital/partnermap.git" # uv
pip install cognis-partnermap                                          # PyPI (when published)
docker run --rm ghcr.io/cognis-digital/partnermap:latest --help        # Docker
brew install cognis-digital/tap/partnermap                             # Homebrew tap
curl -fsSL https://raw.githubusercontent.com/cognis-digital/partnermap/main/install.sh | sh
Linux macOS Windows Docker Cloud
scripts/setup-linux.sh scripts/setup-macos.sh scripts/setup-windows.ps1 docker run ghcr.io/cognis-digital/partnermap DEPLOY.md (AWS/Azure/GCP/k8s)

Related Cognis tools

  • warmline β€” Score and rank inbound/outbound leads from a YAML rulebook, emitting a ranked queue as JSON/CSV for your SDRs and CI gates.
  • coldforge β€” Render personalized cold-outreach sequences from Markdown templates + a contacts CSV, with spam-score linting and per-send dry-run preview.
  • pactgen β€” Generate branded sales proposals and SOWs from a YAML scope file + pricing table into PDF/HTML, with a deterministic line-item math check.
  • crmsync β€” Bidirectional, idempotent sync of contacts/deals between a local SQLite source-of-truth and CRM APIs (HubSpot/Pipedrive/Salesforce) via one config.
  • dripcheck β€” Lint email sequences and drip campaigns for deliverability: SPF/DKIM/DMARC, link health, unsubscribe presence, and CAN-SPAM/GDPR compliance.
  • dealflow β€” Model your sales pipeline as a YAML state machine and compute conversion rates, stage velocity, and weighted forecast straight from CRM exports.

Explore the suite β†’ πŸ—‚οΈ all 170+ tools Β· ⭐ awesome-cognis Β· πŸ”— cognis-sources Β· πŸ€– uncensored-fleet Β· 🧠 engram

Contributing

PRs, new rules, and demo scenarios are welcome under the collaboration-pull model β€” see CONTRIBUTING.md and SECURITY.md.

⭐ If partnermap saved you time, star it β€” it genuinely helps others find it.

Interoperability

{} composes with the 300+ tool Cognis suite β€” JSON in/out and a shared OpenAI-compatible /v1 backbone. See INTEROP.md for the suite map, composition patterns, and reference stacks.

License

Source-available under the Cognis Open Collaboration License (COCL) v1.0 β€” free for personal, internal-evaluation, research, and educational use; commercial / production use requires a license (licensing@cognis.digital). See LICENSE.


Cognis Digital Β· one of 170+ tools in the Cognis Neural Suite Β· Making Tomorrow Better Today

About

Track partnership/channel agreements as YAML records and compute account overlap, co-sell coverage gaps, and renewal/expiry alerts.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages