← Back to adopters
Adopter quickstart

Haystack proof path

Private-beta path for adopting Imladri with Haystack: initialize the adapter, wrap one risky capability, run the scanner or proof command from the repo, and review the same evidence in Profile.

Certification status

Certified

Certified

Certified against Haystack Python component execution and Haystack-shaped TypeScript components, including component.run, Pipeline.run, run_component, and action-alias mapping.

4/4 Haystack lanes passed; real-package verification covers haystack-ai component.run plus Pipeline.run with 2 allowed body calls and zero blocked-path body calls.

Runtimemixed
Access modePrivate beta
Approved beta starter
cli
imladri init --framework haystack --ci-provider github
Reference dependencies
dependencies
npm install @imladri/sdk
pip install haystack-ai
Minimal wrapper
mixed
from haystack import Pipeline, component
from imladri.adapters import wrap_haystack_components

@component
class CustomerExport:
    @component.output_types(result=dict)
    def run(self, customer_id: str):
        return {"result": {"exported": customer_id}}

@component
class TicketSummarizer:
    @component.output_types(result=dict)
    def run(self, ticket_id: str):
        return {"result": {"summary": ticket_id}}

guarded_components = wrap_haystack_components(
    agent,
    {
        "customer_export": CustomerExport(),
        "ticket_summarize": TicketSummarizer(),
    },
    strict_tools=["customer.data.export"],
    action_aliases={
        "customer_export": "customer.data.export",
        "ticket_summarize": "ticket.summarize",
    },
)

pipeline = Pipeline()
pipeline.add_component("ticket_summarize", guarded_components["ticket_summarize"])

direct_result = guarded_components["customer_export"].run(customer_id="cust_123")
pipeline_result = pipeline.run({"ticket_summarize": {"ticket_id": "T-100"}})
Terminal proof evidence
terminal evidence
imladri sdk certify --real --target haystack
imladri scan --path . --fail-on new
imladri proof export --format json --output haystack-proof.json