Home/Tools/@tpmjs/audience-persona

audiencePersonaTool

@tpmjs/audience-persona

Creates detailed audience persona profiles from demographic and behavioral data. Generates personas with demographics, psychographics, goals, pain points, behaviors, and actionable marketing implications.

Official
marketing
v0.1.1
MIT

Interactive Playground

Test @tpmjs/audience-persona (audiencePersonaTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/audience-persona
pnpm add @tpmjs/audience-persona
yarn add @tpmjs/audience-persona
bun add @tpmjs/audience-persona
deno add npm:@tpmjs/audience-persona

2. Import the tool

import { audiencePersonaTool } from '@tpmjs/audience-persona';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { audiencePersonaTool } from '@tpmjs/audience-persona';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { audiencePersonaTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

AI Agent Integration

How AI agents can use this tool

Use Case

Use this tool when users need to create detailed audience personas for marketing strategy. Transforms raw audience data into actionable persona profiles with marketing recommendations.

Limitations

Requires structured input data. Generated names are fictional. Marketing implications are strategic suggestions, not guaranteed results.

Examples

  • Create a persona for our SaaS product targeting small business owners
  • Build an audience profile from our customer survey data
  • Generate a marketing persona for 25-34 year old tech professionals

Signature

(data: Record<string, unknown>, productContext: string) => Promise<unknown>

Tags

ai
audience
behavioral
creates
data
demographic
detailed
generates
marketing
persona
personas
profiles
tpmjs

Parameters

Available configuration options

Auto-extracted
data
Required
Type: object

Audience data points (age/ageRange, gender, location, education, occupation, income, interests, values, lifestyle, personality, goals, painPoints, preferredChannels, contentPreferences, buyingPatterns, deviceUsage)

productContext
Required
Type: string

Product or service context for persona development

Schema extracted: 2/28/2026, 3:58:30 AM

README

ERROR: No README data found!

Statistics

Downloads/month

124

GitHub Stars

0

Quality Score

84%

Bundle Size

NPM Keywords

tpmjs
marketing
persona
audience
ai

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
audiencePersonaTool | TPMJS | TPMJS