Skip to main content

Part of STARSYSTEM

Payload Discovery & Waypoint MCP

A systematic agent learning framework that creates numbered instruction sequences and tracks progress through STARLOG integration.

Overview

Payload Discovery solves the problem of systematic agent learning by creating structured, sequential instruction files that agents consume in order. The system is stateless - all progress is tracked through STARLOG's debug diary, enabling agents to resume learning sessions seamlessly.

This package provides both a core library for creating instruction sequences and an MCP server for agent consumption.

Core Library Features

  • 📚 PayloadDiscovery Models: Pydantic models for creating structured instruction sequences
  • 🏗 Filesystem Rendering: Generate numbered instruction files from JSON configuration
  • ✅ Validation System: Dependency checking and sequence validation
  • 💾 JSON Serialization: Export/import instruction sequences as JSON

Waypoint MCP Server Features

  • 🛠 Waypoint Navigation: MCP tools for agents to traverse instruction sequences
  • 📊 STARLOG Integration: Progress tracking through debug diary (stateless)
  • 🔄 Resume Capability: Agents can restart and continue from last completed piece
  • 🎯 Agent-Focused: Designed for autonomous agent consumption

Quick Start

Installation

[Installation instructions pending PyPI publication]

Basic Usage

from payload_discovery import PayloadDiscovery, PayloadDiscoveryPiece

# Create individual instruction pieces
piece1 = PayloadDiscoveryPiece(
    number=1,
    instruction="Analyze the codebase structure",
    context="Look for main modules and dependencies"
)

piece2 = PayloadDiscoveryPiece(
    number=2, 
    instruction="Identify entry points",
    context="Find main functions and CLI interfaces"
)

# Create a discovery sequence
discovery = PayloadDiscovery(
    title="Codebase Analysis Workflow",
    pieces=[piece1, piece2]
)

# Use the sequence
for piece in discovery.pieces:
    print(f"Step {piece.number}: {piece.instruction}")
    if piece.context:
        print(f"Context: {piece.context}")

MCP Server Usage

Start the MCP server:

payload-discovery-mcp

The server provides tools for:

  • Creating new discovery sequences
  • Loading existing sequences
  • Navigating through instruction steps
  • Saving workflow progress

Core Concepts

PayloadDiscoveryPiece

Individual instruction with:

  • number: Step number in sequence
  • instruction: What to do
  • context: Additional guidance/information

PayloadDiscovery

Collection of pieces forming a complete workflow:

  • title: Name of the workflow
  • pieces: Ordered list of instructions
  • metadata: Additional workflow information

Use Cases

  • Agent Workflows: Systematic task completion
  • Code Analysis: Structured codebase exploration
  • Quality Assurance: Step-by-step validation processes
  • Onboarding: Guided learning sequences
  • Debugging: Systematic problem-solving approaches

Integration with HEAVEN Ecosystem

Payload Discovery integrates with:

  • Waypoint: For navigation through sequences
  • STARLOG: For tracking sequence completion
  • Powerset Agents: For systematic agent workflows

Development

# Clone and install for development
git clone https://github.com/sancovp/payload-discovery
cd payload-discovery
pip install -e ".[dev]"

# Run tests
pytest

# Start development MCP server
python -m payload_discovery.mcp_server_v2

License

MIT License - see LICENSE file for details.

Part of HEAVEN Ecosystem

This library is part of the HEAVEN (Hierarchical Event-based Agent-Versatile Environment Network) ecosystem for AI agent development.

Metadata

Release files for payload-discovery 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for payload-discovery 0.1.6
File Size Uploaded Provenance
payload_discovery-0.1.6.tar.gz 22.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for payload-discovery 0.1.6
File Interpreter ABI Platform
payload_discovery-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 52.5 kB

Release files / payload_discovery-0.1.6.tar.gz

Download URL payload_discovery-0.1.6.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bee19a5c97cedaf7960d3d5a79bfd2f97435e9742c4b058003b37851901f19f9
BLAKE2b-256 checksum
How to use checksums
8334ca00da795e54af91af4ad56445eec214ace9d1ed57ee4616a9f019c8bc89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / payload_discovery-0.1.6-py3-none-any.whl

Download URL payload_discovery-0.1.6-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a6538952fd636108a4c33d28f5bcd0bd36a4429a98de4a58aafc2f4eee31575
BLAKE2b-256 checksum
How to use checksums
7c1ba8441d1cc5fd05747c81d87703f8fff922dceddc2e95380304b564cc9b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for payload-discovery 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page