# eximagent/cli architecture

> Architecture diagram of the GitHub repository eximagent/cli, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eximagent/cli
- Repository: https://github.com/eximagent/cli

## Overview

This is a documentation-and-installer repository for the eximagent trade-intelligence product; its CLI implementation and hosted service are not included in the tree. The README documents two entry points into one service and the principal buyer-discovery workflow, plus trade lookup, sanctions screening, enrichment, and outreach capabilities. The only agent-guide file is identified by the tree, but its contents were not provided, so its behavior and relationships are not inferred.

Main entry points: [`skills/eximagent/SKILL.md`](https://github.com/eximagent/cli/blob/main/skills/eximagent/SKILL.md) (Agent skill guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Access"]
  node_cli["eximagent CLI"]
  node_connector["Hosted MCP"]
  node_guide["Agent skill guide<br/>[SKILL.md]"]
end

subgraph group_trade["Trade intelligence"]
  node_service["EximAgent service"]
  node_discovery["Buyer discovery"]
  node_trade_rules["Trade rules lookup"]
  node_sanctions["Sanctions screening"]
  node_collection[("Search collection")]
end

subgraph group_engagement["Company engagement"]
  node_enrichment["Company enrichment"]
  node_outreach["Outreach tracking"]
end

node_agent(("AI agent"))

node_agent -->|"uses"| node_cli
node_agent -->|"connects via"| node_connector
node_cli -->|"calls"| node_service
node_connector -->|"calls"| node_service
node_cli -->|"requests skill"| node_guide
node_service -->|"offers"| node_discovery
node_service -->|"offers"| node_trade_rules
node_service -->|"offers"| node_sanctions
node_service -->|"offers"| node_enrichment
node_service -->|"offers"| node_outreach
node_cli -->|"previews and runs"| node_discovery
node_cli -->|"reads after run"| node_collection

click node_guide "https://github.com/eximagent/cli/blob/main/skills/eximagent/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_connector,node_guide toneBlue
class node_service,node_discovery,node_trade_rules,node_sanctions,node_collection toneAmber
class node_enrichment,node_outreach toneMint
class node_agent toneIndigo
```

## Components

### Access

- **eximagent CLI**
- **Hosted MCP**
- [Agent skill guide](https://github.com/eximagent/cli/blob/main/skills/eximagent/SKILL.md): `skills/eximagent/SKILL.md`

### Trade intelligence

- **EximAgent service**
- **Buyer discovery**
- **Trade rules lookup**
- **Sanctions screening**
- **Search collection**

### Company engagement

- **Company enrichment**
- **Outreach tracking**

### Other components

- **AI agent**

## Connections

- AI agent → eximagent CLI: uses (evidence: `README.md`)
- AI agent → Hosted MCP: connects via (evidence: `README.md`)
- eximagent CLI → EximAgent service: calls (evidence: `README.md`)
- Hosted MCP → EximAgent service: calls (evidence: `README.md`)
- eximagent CLI → Agent skill guide: requests skill (evidence: `README.md`)
- EximAgent service → Buyer discovery: offers (evidence: `README.md`)
- EximAgent service → Trade rules lookup: offers (evidence: `README.md`)
- EximAgent service → Sanctions screening: offers (evidence: `README.md`)
- EximAgent service → Company enrichment: offers (evidence: `README.md`)
- EximAgent service → Outreach tracking: offers (evidence: `README.md`)
- eximagent CLI → Buyer discovery: previews and runs (evidence: `README.md`)
- eximagent CLI → Search collection: reads after run (evidence: `README.md`)
