CompanyEnrich company enrichment component and agent tool
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
First check whether maintainers want this integration in the repository, then read existing Haystack integration packages and their standard CI scaffolding for conventions. The issue names no specific files or tests, so use those examples to locate the component, tool, and test entry points. Done means the domain-based enricher and agent tool, mocked sync/async and error tests, serialization coverage, documentation, example, and CI are reviewed and added.
Written by the indexing model from the issue text.
Description
Summary and motivation
Propose a CompanyEnrich component for company research workflows: retrieve a company profile by domain and expose it as an agent tool or pipeline input. It would preserve the provider's JSON fields rather than inventing a common company schema. This is a focused company-intelligence integration, not a document store or model provider.
Adoption signals
- GitHub stars / Python SDK downloads: not applicable to the hosted API; I have not identified a maintained official Python SDK and do not claim PyPI adoption figures.
- Release activity: the public API documentation and changelog are maintained at https://docs.companyenrich.com/.
- Maintenance: CompanyEnrich operates the commercial API at https://api.companyenrich.com/ and publishes its docs and MCP server configuration.
- Haystack community demand: I did not find an existing CompanyEnrich request in this repository. This proposal is provider-driven, rather than evidence of existing Haystack demand.
- Existing integrations: the official integrations page lists Clay, Cargo, Databar, n8n and Intercom: https://companyenrich.com/integrations.
I understand the maintenance burden for core integrations. If this scope is better maintained outside this repository, an independently maintained Haystack component is also a reasonable path.
Detailed design
Start with CompanyEnrichCompanyEnricher, a Haystack component taking a required domain and returning profile: dict. A named CompanyEnrichCompanyEnricherTool wraps it for agents. Keep the first contribution limited to domain enrichment; search and lookalikes can be assessed separately.
- Endpoint:
GET /companies/enrich?domain=..., authenticated with a Bearer API key. Public schema: https://docs.companyenrich.com/reference/get_companies-enrich. - Credentials:
Secret.from_env_var("COMPANYENRICH_API_KEY"), resolved at warm-up, never serialized as a literal token. - Configuration: positive finite timeout; configurable retry count, defaulting to zero retries because successful data calls cost credits. Invalid domains are rejected before HTTP calls.
- Sync and native async calls use Haystack's request helpers. Preserve HTTP failures (401 credentials, 402 credits, 404 missing company, 429 rate limits) and the original profile JSON.
- Tests: mocked HTTP requests, success and errors, input validation, missing keys, sync/async parity, idempotent warm-up, and non-default serialization round trips. Live tests would require a provider key and consume credits; none are claimed yet.
- Include a small pipeline/tool example, API docs, package metadata and the repository's standard integration CI scaffolding.
This proposal and implementation are AI-assisted. No unsupported adoption metrics or live authenticated test results are claimed.
Checklist
- Maintainers assess whether this belongs in core integrations
- Component, tool wrapper and tests reviewed
- Documentation and CI added
- Maintainer-controlled package release and catalog listing, if accepted
- Dominant language
- Python
- Stars
- 212
- Forks
- 396
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 95
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from deepset-ai/haystack-core-integrations
-
integration:qdrant P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepset-ai/haystack-core-integrations#4228 · 4 comments ·
Maintainers usually reply within 1 day
-
Qdrant: `in` filter with an empty list matches all documents (delete_by_filter deletes everything)Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
deepset-ai/haystack-core-integrations#4334 ·
Maintainers usually reply within 1 day
-
FAISS: filtered search misses matching documents outside the first top_k * 10 neighboursPossibly taken @davidsbatista claimed this 2 days ago. Open
deepset-ai/haystack-core-integrations#4322 · 1 assignee ·
Maintainers usually reply within 1 day
-
Add Late Interaction Qdrant RetrieverPossibly taken @anakin87 claimed this 6 days ago. Open
deepset-ai/haystack-core-integrations#4307 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Ollama - `OllamaChatGenerator` returns `finish_reason=None` when output is truncated (`done_reason="length"`)Possibly taken @davidsbatista claimed this 6 days ago. Open
deepset-ai/haystack-core-integrations#4302 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in deepset-ai/haystack-core-integrations
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
micronaut-projects/micronaut-core#14585 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
langgenius/graphon#443 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
docling-project/docling-serve#788 ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
opensearch-project/cross-cluster-replication#1805 ·
Maintainers usually reply within 1 day