agents.5304135203.com Agent Build Guide

Canonical web page: https://agents.5304135203.com/ · Raw markdown: https://agents.5304135203.com/agents.md · Machine-readable: https://agents.5304135203.com/agents.json

Use this page as the source of truth for agent-facing architecture and local primitive contracts. Build against the local portal API, not directly against changing backing services.

Agent Build Source Of Truth

Last updated: 2026-03-24

Use this document and its rendered page as the source of truth for AI agents working with this LCARS/OpenCode portal deployment.

Canonical URLs:

Purpose

This deployment exposes a secure LCARS control surface for OpenCode and related operator workflows. Agents should build against stable local portal endpoints and treat backing services as replaceable implementation details.

Preferred shape:

browser -> portal local API -> adapters -> agent runtime / transcription backend / JmpKit / other services

Do not couple browser code directly to JmpKit primitives, private-network services, or raw local daemons unless there is a strong reason.

Topology Model

Important rule:

Project Rules For Agents

External Resource Policy

When building features that may depend on external resources or external service URLs:

JmpKit Context

JmpKit is cloud/back-end plumbing for agents. It is not an agent host. The intended model is:

[user] <-> [agent] <-> [jmpkit]

Relevant observed primitive direction:

Architectural consequence:

Starter Kits

The starter-kit archives are important learning artifacts for agents. They teach the primitives more directly than this portal contract page does.

Agent expectations:

Transport Selection Guidance

Agents should choose the communication method that best fits the actual topology and the kind of communication needed.

Local Primitive Layer

The local primitive layer is the desired long-term contract for the portal.

Current Live Local Endpoints

Health

Example:

{ "ok": true }

OpenCode Auth Public State

OpenCode Auth Session

Response shape:

{
  "authenticated": true,
  "method": "phrase",
  "expiresAt": 1774318629,
  "modeArmed": false
}

OpenCode Auth Login

Current supported methods in the portal codebase include:

Typical request:

{ "method": "phrase", "secret": "..." }

Typical response:

{
  "ok": true,
  "method": "phrase",
  "expiresAt": 1774318629,
  "launchPath": "/api/opencode-auth/launch",
  "lcarsPath": "/lcars"
}

OpenCode Auth Helpers

Also implemented:

Interfacer Public State

Interfacer Private State

Submit Agent Job

Request:

{
  "prompt": "Summarize current state",
  "source": "web",
  "operator": "remote web"
}

Response:

{
  "ok": true,
  "job": {
    "id": "job_..."
  }
}

Target Stable Local Primitives

These are the preferred future local contracts. They are design targets and may not all be implemented yet.

Voice

Intent:

Agent Jobs

Intent:

Node Status

Intent:

Publish

Intent:

Stable Response Shapes To Preserve

Keep these shapes stable even if backing services change.

Job Shape

{
  "id": "job_123",
  "kind": "agent",
  "state": "queued",
  "summary": "Summarize current state",
  "detail": "optional longer text",
  "source": "web",
  "createdAt": "2026-03-24T00:00:00Z",
  "updatedAt": "2026-03-24T00:00:00Z"
}

Voice Session Shape

{
  "id": "voice_123",
  "state": "recording",
  "backend": "private-transcription-backend",
  "partial": "",
  "transcript": "",
  "startedAt": "2026-03-24T00:00:00Z"
}

Capabilities Shape

{
  "voice": true,
  "transcribe": true,
  "publish": true,
  "realtime": "sse"
}

Auth Expectations

Browser Integration Guidance

Backing Service Mapping

Current and future mapping style:

Change Policy

This page is intended to be the main agent-facing source of truth.

When changing architecture or contracts:

  1. update this document
  2. update backing code
  3. keep local API names stable where possible
  4. prefer adapter changes over browser-contract changes

Short Summary For New Agents