Templates

Social media

A Slack-based social media agent that drafts posts and threads for X, LinkedIn, Threads, Bluesky, and Mastodon through Typefully, manages the publishing queue, and pulls briefs from Notion.

View GitHub
  • Slack
  • Typefully
  • Notion
Model
anthropic/claude-sonnet-5
Authored files
11

Filesystem

Browse the authored files at revision 3627b22.

agent/agent.tstypescript
import { defineAgent } from "eve";

/**
 * Root agent runtime configuration.
 *
 * @remarks
 * Sets the model and the session budget for the Typefully social media agent; the rest of the agent's surface
 * (channels, connections, tools, skills, subagents) is discovered from the filesystem under
 * `agent/`. Conversation history is compacted once it reaches 75% of the context window, and the
 * per-session token limits cap runaway sessions. Raise them if long content work hits the caps.
 */
export default defineAgent({
  compaction: { thresholdPercent: 0.75 },
  limits: {
    maxInputTokensPerSession: 500_000,
    maxOutputTokensPerSession: 20_000,
  },
  model: "anthropic/claude-sonnet-5",
});