[Integration]: NeuralTrust

Open Beginner friendly
#789 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 9 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
ai, documentation

Research direction

Read the integration listing process and the existing registry page structure; the issue names no target file or test. Verify the package, source repository, and documentation links listed here, then prepare the registry page PR described in the issue. Done means the listing accurately links to the published NeuralTrust Haystack integration and its setup guide.

Written by the indexing model from the issue text.

Description

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!

Dominant language
Python
Stars
114
Forks
332
Avg merge
5d 1h
Merged PRs (30d)
13

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from deepset-ai/haystack-integrations

All issues in deepset-ai/haystack-integrations

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.