Skip to content

For the complete documentation index, see llms.txt.

Trust and data model

PIG stores raw traces and canonical trace objects in your infrastructure. Analysis sends session-derived input to the model provider you configure. Promptless receives trace status and findings, whose text can describe details from a session.

Use this page to decide which hosts to enroll, where to run analysis, and who should have access to the resulting data. The architecture overview shows how the components connect.

DataDestinationPurpose
Instruction assets and plugin definitionsYour Git repository and CIReview and publish shared instructions
Compiled pluginsInstalled agent hostsMake instructions available during agent work
Native transcript recordsYour analyzer and trace bucketPreserve the source evidence for analysis
Canonical traces and optional context snapshotsYour customer-owned storageReconstruct sessions and the context available to an agent
Host attribution, ingestion progress, and analysis stateYour PostgreSQL databaseTrack uploads and coordinate processing
Session and instruction contextYour configured model providerAnalyze behavior and prepare proposed improvements
Trace identity, counts, and processing statusPromptlessShow collection and analysis progress
Findings, evidence summaries, and remediation statePromptless and connected GitHub issues or pull requestsExplain problems and review proposed changes
Configured operational telemetryYour selected observability systemsDiagnose deployment and analysis failures

A native transcript can contain prompts, tool arguments and outputs, file excerpts, and other content the agent records. Treat it according to the sensitivity of the work your agents perform. This collection path preserves native records; do not assume it removes secrets from transcripts before upload.

After you enable managed trace ingestion and enroll a host, its collector sends new complete records from supported session logs to your analyzer. Uploads use HTTPS and include source identity, offsets, checksums, and collector information so the analyzer can authenticate and reconcile them.

Optional analysis-context snapshots describe what instructions, tools, or artifacts were available and which hub release was installed. The worker stores these alongside the session context in customer-owned storage.

The collector keeps a local upload ledger that records acknowledged ranges. If an upload fails, it can retry those ranges on a later collection pass. A newly discovered source can upload its existing session history from the beginning; subsequent collection resumes from the acknowledged position. Do not delete local transcripts while relying on them to recover uploads that have not reached the analyzer.

Collection only happens for enabled, supported host sources. Merely creating a hub does not enable it: trace_ingestion.enabled defaults to false. Disabling the setting and refreshing installed plugins removes the managed hooks from those new installations. Previously ingested data and your deployed analyzer remain unchanged.

The analyzer sends a limited trace-status projection: identifiers, host attribution, timestamps, lifecycle and processing status, and event and turn counts. This projection excludes raw and canonical transcript content, prompts, tool activity, working directories, Git metadata, models, and source fingerprints.

Findings are a separate flow. Their summaries, impact descriptions, explanations, and evidence occurrences are written to Promptless. These are model-authored descriptions and can refer to session content. Connected GitHub issues and remediation pull requests also make that information available to people who can access the repository.

The analyzer sends session-derived input and relevant instruction context to the configured model endpoint. You choose the provider, endpoint, model, and authentication in the deployment configuration.

Current providers are OpenAI, Azure OpenAI, and AWS Bedrock. Available authentication depends on the provider; Bedrock can use AWS identity, while API-key configurations require the corresponding key. Hosting the analyzer on Azure or GCP does not automatically select a model provider.

Review the provider’s data-handling terms and your organization’s model-access policy for the workloads you will collect. See Configuration reference for the available settings.

Credential or identityUsed byGrants access to
Deployment install token, plih_…Your analyzerPromptless for the configured deployment
Per-host credential, plihost_…An enrolled hostYour analyzer’s authenticated host endpoints
PostgreSQL credentialsAnalyzer and migration jobThe customer database and required schema operations
Cloud workload identityAnalyzerThe configured trace bucket and authorized model access
Model API keyAnalyzer, for API-key authenticationThe configured model endpoint
Analysis repository tokenAnalyzer, when needed for a private repositoryRead access to the configured GitHub hub
Remediation repository tokenAn isolated remediation taskRepository-scoped operations to prepare its change

An organization member approves enrollment in Promptless. The host caches its own credential locally and sends it to your analyzer for authenticated requests. The analyzer validates the credential through Promptless using its hash, deployment identity, and host target. A credential for one host family or deployment cannot be substituted for another.

The deployment token belongs in your cluster’s secret-management system, not in distributed plugins. Host credentials are individual credentials rather than one shared secret distributed to the whole team.

Repository credentials have distinct roles. The analyzer’s configured read token allows it to retrieve private hub source. Promptless uses the connected GitHub integration for issues and supplies a repository-scoped token for an isolated remediation task. Neither token is part of an uploaded trace or a published plugin.

Choose database and bucket access, encryption, retention, backup, and restore settings according to your requirements. Configure HTTPS for host-to-analyzer traffic and use the intended network access path, such as your organization’s VPN. Limit repository and observability access to the people who need the information they contain.

Treat logs as another data surface. The worker emits structured diagnostics, and trace-related labels or analysis details may appear there. Apply your normal log access and retention controls when enabling an observability integration.

Automatic updates maintain PIG application releases and schema migrations within the installed permissions. Your team owns cloud infrastructure, including database sizing, storage, IAM, and backups, through Terraform. See the installation guide for the permission and ownership model.

Review deployment planning with your platform team, then deploy the analyzer with Helm or a cloud recipe. Next, enroll a pilot host and verify its collection path before expanding to more users.