-
Notifications
You must be signed in to change notification settings - Fork 0
Agent Messages and Packets
The npm package includes local JSON sidecars for agent messages and packet exchange.
These sidecars are useful when one agent wants to pass candidate work to another agent, or when a runtime report should be exported as a file.
Agent message helpers create local JSON envelopes.
import { createAgentMessage } from "percolation-inversion-compiler-ts/agent/messages";
const message = createAgentMessage({
sender: "agent-a",
text: "Candidate packet: preserve residuals.",
});Message envelopes can be appended, exported, inspected, and verified by local tools. They do not send external messages by themselves.
Export a runtime report:
npx pic-ts packet export \
--report .pic-demo/runtime_step_report.generated.json \
--output .pic-demo/packet.jsonInspect the packet:
npx pic-ts packet inspect --packet .pic-demo/packet.jsonPacket inspection can detect command-like strings such as:
npm installnpxnodedocker runkubectlsshInvoke-WebRequest
Detection is report-only. The package does not execute detected text. executed_command_count should remain 0.
Packet exchange is sidecar data. It does not make content settled.
Read:
candidate_only_reasonsmissing_obligationsresidual_carry_forwardsettled_blockerssettled
Packet inspection is useful because it keeps risky or incomplete content visible.
- Home
- Quickstart
- Getting Started
- Acceleration Measurement
- Operation Guide
- AFST Satisfaction Flux
- Python TypeScript Compatibility
- Security
- Node Only Agent Loop
- ASI Proxy Loop v0.9
- Token Reports and Agent Loop
- ASI Proxy Acceleration
- CCR Interop
- MCP And A2A Safety
- Operation Gate
- Phase Ecology Lab
- CLI Recipes
- JavaScript SDK
- Diagnostic Commands
- How To Read The JSON
- Agent Guide
- Agent Messages and Packets
- Schemas and Conformance
- Safety and Limits
- Compatibility With Python
- npm Package and Release Checks
- Use Cases
- Core Concepts
- Concepts in Plain Language
- What PIC Does Not Do
- Theory Map
- Glossary
- FAQ
- v1.1 Release Notes
- v0.9.0 Release Notes
- v0.8.0 Release Notes
- v0.7.0 Release Notes
- v0.6.0 Release Notes
- v0.5.0 Release Notes