Add TealTiger governance integration#497
Open
nagasatish007 wants to merge 4 commits into
Open
Conversation
Add documentation for TealTiger integration with Haystack, including installation, usage examples, and features.
|
@nagasatish007 is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Pull request overview
Add a new integration documentation page to list the TealTiger governance component in the Haystack integrations catalog.
Changes:
- Add
integrations/tealtiger.mdwith installation + usage examples for thetealtiger-haystackpackage. - Document governance modes (observe/enforce), features, and support links.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
+16
| report_issue: https://github.com/agentguard-ai/tealtiger/issues | ||
| logo: /logos/tealtiger.png | ||
| version: Haystack 2.0 | ||
| --- |
Comment on lines
+17
to
+26
|
|
||
|
|
||
| # TealTiger Governance for Haystack | ||
|
|
||
| [](https://pypi.org/project/tealtiger-haystack) | ||
| [](https://pypi.org/project/tealtiger-haystack) | ||
|
|
||
| Add deterministic governance to any Haystack pipeline. No LLM in the governance path — all policy evaluation is deterministic, adding <2ms latency. | ||
|
|
||
| ## Installation |
| pip install tealtiger-haystack | ||
| ``` | ||
|
|
||
| ## Usage ⚡️ |
Comment on lines
+39
to
+46
| from haystack import Pipeline | ||
| from haystack_integrations.components.connectors.tealtiger import ( | ||
| TealTigerGovernanceComponent, | ||
| ) | ||
|
|
||
| pipeline = Pipeline() | ||
| pipeline.add_component("governance", TealTigerGovernanceComponent()) | ||
| pipeline.add_component("llm", your_generator) |
Comment on lines
+63
to
+79
| from tealtiger import TealEngine | ||
| from haystack_integrations.components.connectors.tealtiger import ( | ||
| TealTigerGovernanceComponent, | ||
| ) | ||
|
|
||
| engine = TealEngine(policies=[ | ||
| {"type": "cost_limit", "max_per_session": 5.00}, | ||
| {"type": "pii_block", "categories": ["ssn", "credit_card"]}, | ||
| ]) | ||
|
|
||
| pipeline = Pipeline() | ||
| pipeline.add_component( | ||
| "governance", | ||
| TealTigerGovernanceComponent(engine=engine, mode="ENFORCE"), | ||
| ) | ||
| pipeline.add_component("llm", your_generator) | ||
| pipeline.connect("governance.text", "llm.prompt") |
Comment on lines
+95
to
+99
| ## Support 📞 | ||
|
|
||
| - [GitHub Issues](https://github.com/agentguard-ai/tealtiger/issues) | ||
| - [TealTiger Documentation](https://tealtiger.ai) | ||
| - [OWASP ASI Coverage](https://github.com/agentguard-ai/tealtiger) — 8/10 Agentic Security Index categories |
kacperlukawski
requested changes
Jun 8, 2026
Member
kacperlukawski
left a comment
There was a problem hiding this comment.
Thanks for contributing it, @nagasatish007. I like the idea for a tool, but would appreciate if you could check the changes suggested by Copilot, as they are all to the point.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the tealtiger-haystack governance component to the integrations listing. Published on PyPI: https://pypi.org/project/tealtiger-haystack/0.1.0/ Ref: deepset-ai/haystack#11522