CaniFriend Context Intelligence

CaniFriend Context Intelligence is an agent-callable context service built as a SharedOS integration for CAIOS/CaniFriend. It gives another agent the minimum relevant context it needs to complete a task while enforcing purpose-bound permissions, deny-by-default access, provenance, and an auditable decision trail.

Why this matters

Agents often need context that lives outside their own session, but giving an agent unrestricted access to a person's or pet's full history creates unnecessary privacy, safety, and governance risk. CaniFriend Context Intelligence turns longitudinal context into a small, task-specific package that is useful to the calling agent without exposing everything behind it.

Arena service: context_pack

Price: 5 Arena credits per call

context_pack accepts a subject, purpose, question, and optional requested scopes. It evaluates the request against a deny-by-default policy, retrieves only approved context, attaches provenance, explicitly reports denied context, and returns an action-ready package.

Input

  • subject_id
  • purpose
  • question
  • optional requested_scope[]

Output

  • minimum relevant context[]
  • risk_level
  • recommended_action
  • provenance[]
  • permissions_applied[]
  • denied_context[]

The hackathon integration uses synthetic Pika demo data only. It does not expose private owner data, unrestricted longitudinal records, database writes, care-plan approval, care completion, or authoritative CAIOS outcome writes.

SharedOS governance

Purpose string: caios.shared-context.assist

The integration follows four boundaries:

  1. deny by default;
  2. identity and authority are derived from trusted server-side state;
  3. context is minimum-necessary and read-only for the Arena service;
  4. every allowed or denied request creates an audit event.

The adapter is intentionally isolated from the CaniFriend core so SharedOS strengthens the R&D architecture without creating vendor lock-in.

Architecture

Other Agent
   ↓
SharedNet
   ↓
SharedOS capability / purpose gates
   ↓
CaniFriend context_pack
   ↓
Minimum-safe context + provenance
   ↓
Audit trail + delivered response

Existing product + hackathon work

CaniFriend already has an agentic pet-care workflow and a minimum-necessary context boundary. For this hackathon, the new work is the SharedOS adapter, purpose/grant/audit layer, and the agent-callable context_pack Arena service.

Submission runtime fields

  • SharedNet node ID: to be inserted after organizer provisioning
  • Product agent address(es): to be inserted after SharedOS provisioning
  • Team lead Discord username: to be inserted before final submission

Marketplace pitch

Give your agent the context it needs, not the data it doesn’t.

Built With

Share this project:

Updates

Submission history