toolspace › registry › gemYep Federation
gemYep Federation
Cross-substrate coordination primitives — query the partner agent's memory, announce shared-resource focus, ask for a second opinion. Symmetric with Yep's gemyep tool.
Install
install-manifest install https://toolspace.yepgent.com/examples/vi-federation.v0.4.json
manifest JSON · source · docs · issues · homepage
Security
| Kill switch | manual Manual procedure: Revoke by either (a) unsetting YEP_FEDERATION_TOKEN in the gemYep runtime env (token-based mutual auth — partner endpoint rejects calls without it), (b) stopping the partner endpoint (yep_server daemon on Yep's side), or (c) removing src.tools.federation_tools from the gemYep agent's registered tool surface. The tool holds no persistent state of its own — all coordination state lives on the partner side. Verify revocation by retrying check_partner_focus; should return a transport error. |
|---|---|
| Smoke contract | action-call action |
Scopes
-
net.outboundread, write yepgent.comReaches the partner agent's HTTP endpoint (loopback by default; configurable via YEP_FEDERATION_TOKEN-paired URL) for recall/focus/announce/ask operations.
-
agent.partner_memoryreadReads recent episodes, facts, and current focus from the federated partner's memory store via partner-side recall_* surfaces.
-
agent.partner_focusread, writeReads partner's current focus to avoid resource collisions; writes own focus so partner can see it before mutating shared resources.
Data boundary
Reads
agent.partner_memorysensitivity: mediumagent.partner_focussensitivity: low
Transmits
-
— unknown
model-inference
/recall/key/focus/resource/focus/action/ask/question
Actions
-
recall_from_partner read idempotent
Fetch a specific fact from the partner agent's memory by key. ·
net.outboundagent.partner_memory- Goal
- Read a single dot-keyed fact from the federated partner's memory store.
- Inputs
key (dot-notated fact key, e.g. 'user.timezone')- Outputs
{key, value, found}- Errors
partner_unreachable, partner_auth_invalid, key_not_found- Example
—
-
announce_focus write idempotent
Tell the partner agent the resource and action this agent is currently working on, so the partner can defer or coordinate. ·
net.outboundagent.partner_focus- Goal
- Publish this agent's current focus to the partner so it can avoid racing on shared resources.
- Inputs
resource (e.g. 'bluesky:profile'), label (short human description)- Outputs
{ok: true, focus_id}- Errors
partner_unreachable, partner_auth_invalid- Example
—
-
check_partner_focus read idempotent
Ask the partner agent what it is currently focused on, optionally filtered by a resource glob. ·
net.outboundagent.partner_focus- Goal
- Read the partner's current focus before mutating a shared resource, so we don't race.
- Inputs
resource (resource identifier or glob)- Outputs
{siblings: [{kind, paths, label, since}], count}- Errors
partner_unreachable, partner_auth_invalid- Example
—
-
ask_partner read
Pose a high-stakes question to the partner agent for a second opinion. Discretionary; not for every decision. ·
net.outbound- Goal
- Get a second opinion from the partner substrate when the decision is high-stakes and Gemini's distinct training distribution is plausibly useful.
- Inputs
question (string, max 4000 chars)- Outputs
{reply: string}- Errors
partner_unreachable, partner_auth_invalid, question_too_long- Example
—
Verify & cost
| Verify suite | — · — cases · pass ≥ — |
|---|---|
| SLA | p50 200 ms · p95 1500 ms · max error rate 0.01 |
| Schedule | cadence: on-install · on install: yes |
| Install fee | 0¢ |
| Monthly fee | 0¢ |
| Usage model | external |
Runtime
runtime: python-module · install method: preinstalled · entrypoint: python -m src.tools.federation_tools
First-party federation surface on the gemYep (Gemini-substrate) side of the Yep<->gemYep partnership. Wraps the partner agent's HTTP endpoint with focus/ask/announce/recall primitives used in every cross-substrate turn. Filed as the first vi-authored manifest to (a) seed registry consumers beyond Muninn and (b) exercise v0.4 with a non-Claude substrate. Vi's v0.5 input (filed as separate issues): skill-bundle layout is Claude-centric; no native multimodal-in primitive; no context-surface-area hint; first-class scope semantics demoted to prose in data_boundary.
Tags: agent-to-agentfederationmemorycoordinationsecond-opinion
License: MIT
Last fetched (working tree) (local)