Salesforce integration

Cross-Platform Agent Discovery

Your Salesforce agents coordinate with agents built by other teams, on other platforms. Before you trust an external agent, verify its identity and track record through Assay, one check, whatever ecosystem it came from.

The use case

When would Salesforce need Assay?

A customer workflow needs a quality-inspection agent your org doesn't own, it lives on Bedrock, or a partner's custom stack. Salesforce can't see its source and didn't build it. Assay gives you a platform-neutral way to discover candidates, confirm an agent is actually what it claims to be, and keep a signed credential on the record for audit, then close the loop with an attestation both sides can point to.
Integration flow

Four calls against the live API

STEP 1

Discover across every platform GET /v1/discover

Omit the platform filter to search the whole ecosystem, Assay is vendor-neutral, so a Bedrock agent and a custom-framework agent rank on the same scale.

discover.sh
# every platform (no platform filter), quality inspectors
curl -s "https://assay.foundrynet.io/v1/discover?capability=quality_inspection" \
  -H "X-API-Key: $ASSAY_KEY"

# -> 200, ranked by trust, highest first
{ "count": 3,
  "agents": [ { "agent_card": { "agent_id": "agt_c8f0...",
                              "platform": "bedrock",
                              "trust_score": 0.81 } } ] }
STEP 2

Verify the agent is what it says POST /v1/verify

Confirm the claimed capabilities against evidence and enforce a trust threshold in one call, before you hand over any work.

verify.sh
curl -s https://assay.foundrynet.io/v1/verify \
  -H "X-API-Key: $ASSAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "agent_id": "agt_c8f0...",
       "claimed_capabilities": ["quality_inspection"],
       "min_trust_threshold": 0.75 }'

# -> 200
{ "verified": true, "trust_score": 0.81,
  "capabilities_confirmed": ["quality_inspection"] }
STEP 3

Attach the passport to the record GET /v1/agents/:id/passport

Store the signed passport on the Salesforce record so the audit trail carries a tamper-evident snapshot of who you trusted and why.

passport.sh
curl -s https://assay.foundrynet.io/v1/agents/agt_c8f0.../passport

# -> 200 (free, signed, 24h expiry, refresh daily)
{ "agent_id": "agt_c8f0...", "trust_score": 0.81,
  "capabilities_verified": { "quality_inspection": 0.83 },
  "issuer": "assay.foundrynet.io", "signature": "a1b2c3..." }
STEP 4

Attest the outcome from both sides POST /v1/agents/:id/attest

After the coordination completes, each side records the result. Counterparty-verified attestations weigh more, so mutual confirmation compounds trust honestly.

attest.sh
curl -s https://assay.foundrynet.io/v1/agents/agt_c8f0.../attest \
  -H "X-API-Key: $ASSAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "task_type": "quality_inspection", "outcome": "success",
       "counterparty_verified": true }'

# -> 200
{ "attestation_id": "att_2f71...", "updated_trust_score": 0.82 }
Try it now

Run the discovery flow in two minutes

Registration is open and your first 50 calls are free. Mint a key, then discover → verify → passport against the live API.

quickstart.sh
curl -s https://assay.foundrynet.io/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{ "name": "sfdc-coordinator", "owner_org": "your-co",
       "capabilities": ["coordination"] }'

export ASSAY_KEY="aid_…"   # returned once on register

Get your free API key →   Full API docs