@agent-hub-ai/research
v0.1.4
Published
Research and intelligence agent for market, competitor, and strategy analysis.
Readme
@agent-hub-ai/research
Research and intelligence agent for market, competitor, and strategy analysis.
What it does
This package exposes ResearchAgent, which can synthesize product, market, or customer research from a prompt and correlated context to help teams make better decisions.
Installation
npm install @agent-hub-ai/researchUsage
import { ResearchAgent } from '@agent-hub-ai/research';
const llm = {
async generate(prompt: string) {
return JSON.stringify({
summary: 'Competitors are moving toward bundled AI workflows and lower onboarding friction.',
recommendation: 'Prioritize self-serve onboarding and a flexible API layer'
});
}
};
const agent = new ResearchAgent({ llm });
const result = await agent.run({
topic: 'competitor analysis',
reason: 'Evaluate new pricing and product strategy for the next quarter'
});
console.log(result);Build
npx --yes [email protected] --dir packages/research build