Catalog PyPI
PACKAGE EXPLORERView in registry

agent-stage

PyPI

Harness-independent stage director contracts for public agent work streams.

Versions collected1
Direct dependencies4From release 0.1.1
Last observed20 Oct, 23:29 UTC

README

Version 0.1.1 documentation

Agent Stage

Agent Stage is a small, harness-independent presentation runtime for turning public agent work events into stage frames. It owns the public event model, redaction rules, stage-director call engine, token catalog helpers, NDJSON ingestion, and the generic stage_frame contract.

The package is designed to sit downstream of any agent harness. A harness emits sanitized public TraceEvent objects; Agent Stage maps those public events into signals and validates presentation frames. Hidden reasoning, provider payloads, credentials, app databases, and private tool internals stay outside this layer.

Packages

  • Python: agent-stage
  • TypeScript: agent-stage-core
  • License: Apache-2.0

Install

python -m pip install agent-stage
npm install agent-stage-core

The initial repository scaffold can also be used from source:

python -m pip install -e ".[dev]"
npm install

Python Example

from agent_stage import PublicTraceType, TraceEvent, build_stage_signal

event = TraceEvent(
    type=PublicTraceType.TOOL_CALL,
    summary="Looking up a nutrition fact",
    payload={"args": {"query": "rice"}},
    tool_name="nutrition_lookup",
)

signal = build_stage_signal(
    type=event.type,
    summary=event.summary,
    payload=event.payload,
    event_id=event.event_id,
    created_at=event.created_at,
    tool_name=event.tool_name,
)

TypeScript Example

import { decodeStageFrame } from "agent-stage-core";

The renderer example is pending asset-format decision.

Demo

examples/stage-demo is a no-key scripted demo. It uses public Agent Stage APIs only and does not import any private app backend or reference harness.

python examples/stage-demo/run.py
python examples/stage-demo/server.py

Schema

The generic frame contract lives in:

  • Python package data: src/agent_stage/stage_frame_v1.json
  • Repository schema copy: schema/stage_frame_v1.json

The contract is format-neutral. It carries an asset_call.renderer slot but does not implement or require a concrete renderer.

Model Calls

Agent Stage tests do not make paid model calls. Live canaries are manual and belong to downstream apps when they change model-visible prompts, toolsets, or production director wiring.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.115 Jun 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:29 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b6d9716c0c9bea5ba73f0a4b928b4ba3bf5d9a6af850f9d877ffe55a91cfd1c8