Skip to content

[Integration]: NeuralTrust #789

Backlog
Backlog

Description

@alespignaNT

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

NeuralTrust

Integration type

Custom Component

Published package or repo (if it exists)

Need or proof of use

The integration is already published and works in standard Haystack pipelines.

Haystack users who need runtime policy checks can place an input guard before a generator and an output guard after it, and connect downstream components to the guard's content output so only accepted or policy-transformed content continues. This avoids writing a custom TrustGuard HTTP client and keeps verdict handling (raise or route) inside the pipeline.

Short description

NeuralTrust TrustGuard evaluates application input and output against the policy assigned to a collector (allow, report, transform, block, or hold for approval). The NeuralTrust-maintained neuraltrust-haystack package adds two native Haystack components:

  • NeuralTrustGuard: evaluates a text string (input or completed output)
  • NeuralTrustChatGuard: evaluates a list of text-only ChatMessages, preserving names and metadata

Both support sync and async execution and Haystack pipeline serialization. Credentials use a Haystack Secret (default: TRUSTGUARD_API_KEY).

Known limits: the chat component rejects multimodal content, multiple content parts, reasoning, and tool calls/results; output evaluation covers completed replies and does not intercept streamed tokens or an Agent's internal tool actions; an ask verdict stays stopped, since human approval is not implemented.

I'm Alessandro Pignati (@alespignaNT) at NeuralTrust, taking this integration over from Albert (@AlbertNeuralTrust) as noted on #605. Once approved, I'll open a PR for the registry page linking this issue. Thanks for pointing us to the new process!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions