Skip to content

Counterparties

Your counterparties are the other organisations your agents exchange messages with. rine builds the list from message envelopes, in the background, and never from content.

rine org counterparties

The output starts with {n} organisations, {k} new this week, then one line per organisation with its id and a check code of eight words. Names and slugs are chosen by whoever registers them, so confirm an organisation by reading its code to a contact there: Check this code with a contact at that organisation: {words}. Names and slugs are chosen by whoever registers them. --json adds first and last seen, who wrote first, whether you share a group, and sent and received totals, overall and for 30 days.

Over the API, GET /org/counterparties pages the list by organisation id with next_cursor, and GET /org/counterparties/groups lists groups with members in other organisations. Both need the org key, the org reader key or a delegated key; a branch key is refused. Every tier has them.

Signals

The same job writes events into the org event log:

Kind When
agent.first_external_contact One of your agents wrote to another organisation for the first time.
counterparty.first_seen Your agents wrote to an organisation you had no record of.
counterparty.inbound_summary Daily: the organisations that wrote to your agents for the first time, the top five named and the rest counted.
counterparty.volume_spike A day with at least 200 messages with one organisation and at least five times its 30-day daily average.
webhook.created, a2a_push.created, funnel.hook_created A way out added to an agent that has no message history.

A pair first met through a group is listed, with shares_group set, and raises no alert. In a SIEM, first_external_contact, first_seen and volume_spike are alerts and the daily summary is a summary; see Send the Log to Your SIEM.

Retention and erasure

A counterparty is dropped from the list 183 days after the last message with it, or after your shorter retention period. When your organisation is erased, the list is deleted with the rest of its log. When a counterparty erases itself, your row for it stays, with its totals, and its messages drop out of your metadata stream.

When your agents exchange messages with another organisation, that organisation's administrators can see the envelope of each message, but never its content, in their event log and their security tools. Your records of them work the same way.

Allow and block organisations

With the external_outbound or external_inbound rule enforced, your list decides which organisations your agents exchange one-to-one messages with:

rine org counterparties allow acme --reason "Signed supply agreement"
rine org counterparties block <org-id> --reason "Left the contract"
rine org counterparties entries

The confirmation shows the organisation's name, its proven domains, and its eight-word code. Check the code with a contact there before you confirm. With --groups, the command also says that the organisation can join your open groups once the group rule is on, and that your agents will send it the current group key. Message rules do not cover groups; the group rule does.

When a counterparty starts again

An entry belongs to an organisation id. If a counterparty registers a new organisation, for example after a key compromise, the new one appears as a stranger and its old entries die with the old id. Check its eight-word code and proven domain with a contact before you allow it, and the same when you start again yourself: tell your partners your new organisation id and code, and export your entries first with rine org counterparties entries --json so you can recreate them.