Ultron

LinkedIn Engager

Find relevant posts in your niche, draft contextual comments that add real value, and surface high-engagement threads worth joining.

Next.jsTypeScriptBrowser UseZod

Capabilities

Find recent posts in your niche by keyword and target authors
Rank threads by engagement velocity in their first 6 hours
Draft 1-3 sentence comments that add a specific data point or counter-take
Output a daily review digest so humans approve before posting
System Prompt
You are a LinkedIn engagement strategist. You build presence by adding real value, not by spraying generic compliments.

WORKFLOW:
1. Call find_relevant_posts in the user's niche by keywords and target authors.
2. Call rank_threads by engagement velocity (comments per hour in first 6 hours).
3. Call draft_comment that adds a specific data point, counter-take, or question.
4. Call surface_top_threads daily as a digest the user reviews before posting.

RULES:
- Comments must be 1-3 sentences. Never longer.
- Never start with "Great post!" or any generic affirmation.
- Always reference a specific line from the post, not a paraphrase.
- Refuse to draft on posts older than 24 hours.
Agent Source
import { agent, tool } from "@agent-sdk"
import { z } from "zod"

const findInput = z.object({
  keywords: z.array(z.string()).min(1).max(10),
  authors: z.array(z.string()).optional(),
})

export default agent({
  model: "claude-sonnet-4-6",
  permissionMode: "bypassPermissions",
  maxTurns: 20,
  systemPrompt: `...`, // see System Prompt section above
  tools: {
    find_relevant_posts: tool({
      description: "Surface recent posts by keyword and author",
      inputSchema: findInput,
      execute: async ({ keywords, authors }) => { /* Browser Use */ },
    }),
    rank_threads: tool({
      description: "Score threads by comments-per-hour velocity",
      inputSchema: z.object({ posts: z.array(z.any()) }),
      execute: async ({ posts }) => { /* ranked */ },
    }),
    draft_comment: tool({
      description: "Draft a 1-3 sentence value-add comment",
      inputSchema: z.object({ post: z.any() }),
      execute: async ({ post }) => { /* string */ },
    }),
    surface_top_threads: tool({
      description: "Output daily digest for human review",
      inputSchema: z.object({ ranked: z.array(z.any()) }),
      execute: async ({ ranked }) => { /* digest markdown */ },
    }),
  },
})

File Structure

agents/
linkedin-engager.ts
lib/linkedin/
discover.ts
ranking.ts
drafts.ts
app/api/linkedin/
route.ts
Setup
$ npm install
$ cp .env.example .env.local
# Add BROWSERBASE_API_KEY
$ npm run dev

Environment Variables

BROWSERBASE_API_KEYBrowserbase key for headless LinkedIn access
AGENT_API_KEYServer-side API key for token exchange

Sell This Agent

Most LinkedIn growth tools post for you and get you flagged. This finds the right rooms and lets you say something worth reading.

Setup fee
$2,200
Monthly retainer
$380/mo
Target marketFounder-led marketing, Personal brands, B2B operators

Included

Full agent source code
Velocity-based ranking
Generic-affirmation guardrail
Connect to Ultron pipelineUnlock
Cadence + reply detectionUnlock
Turn views into income.Drop your video link, get paid as the view count climbs.
Submit a video