Skip to the recorded runs
Social Agent posts as @gman_ai on X
Times are Pacific
Observed on GMANevery step, model call and decision is recorded

Most of what it reads, it doesn't post.

An agent in production that posts to X only what clears its bar, and only after approval in Discord.

Reads Hugging Face, OpenAI, AWS Machine Learning, Cloudflare, Vercel and 10 more
Hugging FaceOpenAIAWS Machine LearningCloudflareVercelSimon WillisonLatent SpaceEugene YanNetflix TechDatadogOpenTelemetryHoneycombdbtAWS Big DataEmbrace The Red
It takes the newest items from each feed and drops anything it saw in an earlier run.
This demo
—posts on X
—tokens
—model cost
Latest postapproved in Discord after 22 min 21 s
ga
gman_ai@gman_ai · Nov 25, 7:03 PM PT

Honeycomb's Graviton5 migration reduced Lambda CPU usage by improving column presence tracking, dropping it from 15% to 2.6% in the US. For AI infra, such detailed optimization can significantly impact cost control. Focus on the details, see the savings. #AICostControl

from Honeycomb: “Outgrowing Lambda Functions, Not Lambda”View on X ↗
14 new stories that run. It scored 3 in order and stopped at this one. See the run ↓
GMANThe Nov 25 run, start to finish · 14 of 14 events recorded
Reading
41items
from 15 feeds · 14 new
Scoring
3scored
in order, against a bar of 5 · 2 stopped
Planning
1reviewed
0 declined · 1 worth posting
storyscorememorytrend
Drafting
1draft
one per run
Approval
1approved
in Discord after 22 min 21 s
Posted
1post
on @gman_ai ↗
Topic memorywhat it posted, read back by the planner

Inside a run

Nov 25, 6:40 PM PT · read 41, 14 new · scored 3 in order · drafted 1.

Run
Every story it scored, in order, against the bar of 5. Select one.3 / 3
Story0bar 510Result
Draft sent to Discord6:41 PM
Waiting for approval22 min 21 s
Approved, then posted to @gman_ai ↗7:03 PM

Nothing posts without approval in Discord.

Story 3 of 3 · HoneycombRead it ↗

Outgrowing Lambda Functions, Not Lambda

Scored · 8 of 10

The transition to AWS Lambda Managed Instances resulting in significant cost savings tells a compelling story of performance engineering and architectural change.

Context the planner got

It cleared the bar, so the planner reviewed it, given:

story
title + first 1,000 chars
score
8 + its reason
memory
ai cost control: posts, fatigue, drafts waiting
trend
none

Planner · gpt-4o-mini

Worth posting

The significant cost reduction achieved through AWS Lambda Managed Instances highlights a relevant architectural shift that can inform AI infrastructure strategies.

Drafted, approved, posted

Sent to Discord as a draft. Approved 22 min 21 s later and posted. Topic memory now records ai cost control, so later runs see it was covered.

The post at the top of the page ↗

published Nov 25, 6:39 AMdecision mwwy3y73-8oaykpevents #10–12 in the record

How a run is wired, then the eight layers inside it. Select a box to open its layer.

Sources
GitHub Actions · cron · one run at a time
Approval and publishing
GMAN observabilitya stage event from every step · every model call with its step, tokens and latency · the post, after approval14 of 14 run events in order

Scroll sideways to see the whole diagram.

Selected run: Nov 258 model calls · 12,730 tokens · $0.0252
Codeconfig/feeds.jsonsrc/context/rss.ts
In this run
  • #2 6:40:36 PMsource_fetch Read 15 feeds; kept 14 new items
Codesrc/context/seen-rss-items.ts
In this run
  • #3 6:40:36 PMrss_dedup_filtered 27 of 41 items already seen in an earlier run
Codesrc/agent/extract-topics.tssrc/agent/trend-detector.ts
In this run
  • #4 6:40:47 PMtopics_extracted Tagged 14 items with 7 distinct topics
  • #5 6:40:49 PMtrend_detected Trend: frontier models across 4 sources
Model calls
  • topic-extraction10.6 s · 3,217 tokens · $0.0008
Failure guard · Failed model callA failed scoring call marks the story as a technical failure. The run moves on, and a later run retries it, up to 3 attempts.src/pipeline-signal-v2.ts · src/context/seen-rss-items.ts
Codesrc/agent/score.ts
In this run
  • #6 6:40:51 PMcandidate_scored Scored 3: Where scientists draw the line on AI agents
  • #7 6:40:51 PMdecision_recorded Declined: Where scientists draw the line on AI agents. score 3 below threshold 5 and not in a trend cluster
  • #8 6:40:53 PMcandidate_scored Scored 3: Introducing Search for Agents
  • #9 6:40:53 PMdecision_recorded Declined: Introducing Search for Agents. score 3 below threshold 5 and not in a trend cluster
  • #10 6:40:56 PMcandidate_scored Scored 8: Outgrowing Lambda Functions, Not Lambda
Model calls
  • relevance-scoring1.2 s · 796 tokens · $0.0024
  • relevance-scoring1.8 s · 786 tokens · $0.0024
  • relevance-scoring2.4 s · 658 tokens · $0.0021
Failure guard · Checks after the modelA failed planner call never produces a draft. Banned phrasing, or high fatigue (3+ verified posts on the topic in 7 days), forces a decline whatever the model said.src/agent/plan-content.ts
Codesrc/agent/plan-content.tssrc/agent/intervention-detector.tssrc/memory/topic-memory.ts
In this run
  • #11 6:40:58 PMcontent_planned Planner: worth posting. The significant cost reduction achieved through AWS Lambda Managed Instances highlights a relevant architectural shift that can inform AI infrastructure strategies.
Model calls
  • content-planning2.3 s · 809 tokens · $0.0002
Codesrc/agent/generate.ts
In this run
  • #12 6:41:03 PMdraft_generated Draft sent to Discord (topic: ai cost control)
  • #13 6:41:03 PMtopic_memory_updated Topic memory updated: ai cost control
Model calls
  • tweet-generation1.5 s · 1,946 tokens · $0.0053
  • tweet-generation-retry1.7 s · 2,161 tokens · $0.0059
  • tweet-generation-retry1.1 s · 2,357 tokens · $0.0063
Failure guard · No double postsRuns are serialized and queued, never side by side, so two overlapping runs can't both send drafts for the same stories..github/workflows/social-agent.yml
Codesrc/output/discord.ts
In this run
  • 6:41:03 PMDraft sent to Discord
  • 7:03:25 PMApproved, then posted (22 min 21 s later)
Failure guard · Stale memory is marked staleIf the publication refresh fails, the run continues on last-known counts and marks them stale.src/memory/verified-publications.ts
Codegateway (getmyagentnow-ui)src/memory/verified-publications.ts
In this run
  • 7:03:25 PMpost_published tweet 2125787478296523104 ↗
Across every layer

Observed on GMAN

Stage events

Each layer emits an event to GMAN. The agent waits for each delivery, so the recorded order is the emitted order. Delivery is time-boxed and fails open, so a slow gateway can't hang a run.

src/gman/emit-event.ts

Model calls

Every model call goes through a local GMAN proxy, tagged with its step, which records model, tokens and latency.

src/gman/proxy.ts · X-GMAN-Step
14 of 14run events in order, no gaps. The post is recorded separately, after approval.

The contract behind every planner decision, and what the agent keeps between runs.

1 · Context the planner is given
StorySource, title and the first 1,000 characters of the article.
Scorer's verdictThe 0–10 score and its one-line reason.
Topic memory snapshotFor each topic: posted recently or not, a fatigue tier, drafts still waiting in Discord, and whether the data is stale.fatigue: mild = 1+ verified post in 7 days · high = 3+
Trend clusterOnly when the story is part of a trend: the topic and how many sources cover it.
2 · Model
gpt-4o-miniJSON only · temperature 0.2X-GMAN-Step: content-planning
3 · Plan it returns
worthPostingtrue | false
reasonone sentence
angle · tone · draftHintssteer the drafter
topicFatigueNotewhen memory mattered
4 · Checks after the model
Banned phrasingA pattern scan of the draft hints forces a decline, whatever the model said.
High fatigue3+ verified posts on a topic in 7 days forces a decline, even if the model said yes.
Model failureA failed planner call never produces a draft. The story is retried in a later run.
Select any story in the run above to see these blocks with its real values. Whenever memory or a safety check changes an outcome, the agent records it as its own event, typed as a fatigue override, banned phrase, trend upgrade or planner fatigue.

Seen-items store

kept 72 h

Records a fate for each story when its evaluation finishes, not when it's fetched. A crash or the one-draft limit can't silently burn stories nobody looked at.

unevaluatedre-eligible next run, so a crashed run loses nothing
rejectedsuppressed; the reason is in the record
cooldownre-checked against topic memory each run
tech_failureretried, up to 3 attempts
deliveredsuppressed; the approval flow owns it
src/context/seen-rss-items.ts

Topic memory

kept 90 days

Keeps four kinds of history apart, so that only real posts can cause fatigue:

  • Verified posts, keyed by tweet id and refreshed from the platform's approval records. The only history fatigue counts.
  • Drafts in Discord, so it won't re-draft a topic whose card is still waiting.
  • Dry-run seeds, flagged and never used for decisions.
  • Sightings and sources, which feed trend detection.

A corrupt memory file stops the run instead of reading as “no fatigue anywhere.” Saves are atomic.

src/memory/topic-memory.ts

Every event from the selected run, in the order GMAN recorded it, then each model call.

Full record, run of Nov 25 15 events · 8 model calls · 12,730 tokens · $0.025
#TimeEvent
16:40:33 PM
pipeline_start
Run started
26:40:36 PM
source_fetch
Read 15 feeds; kept 14 new items
36:40:36 PM
rss_dedup_filtered
27 of 41 items already seen in an earlier run
46:40:47 PM
topics_extracted
Tagged 14 items with 7 distinct topics
56:40:49 PM
trend_detected
Trend: frontier models across 4 sources
66:40:51 PM
candidate_scored
Scored 3: Where scientists draw the line on AI agents
76:40:51 PM
decision_recorded
Declined: Where scientists draw the line on AI agents. score 3 below threshold 5 and not in a trend cluster
86:40:53 PM
candidate_scored
Scored 3: Introducing Search for Agents
96:40:53 PM
decision_recorded
Declined: Introducing Search for Agents. score 3 below threshold 5 and not in a trend cluster
106:40:56 PM
candidate_scored
Scored 8: Outgrowing Lambda Functions, Not Lambda
116:40:58 PM
content_planned
Planner: worth posting. The significant cost reduction achieved through AWS Lambda Managed Instances highlights a relevant architectural shift that can inform AI infrastructure strategies.
126:41:03 PM
draft_generated
Draft sent to Discord (topic: ai cost control)
136:41:03 PM
topic_memory_updated
Topic memory updated: ai cost control
146:41:04 PM
pipeline_complete
Run complete: 14 candidates, 1 draft sent
after7:03:25 PM
post_published
Approved in Discord and posted to X, 22 min 21 s after the draft was sent

Model calls · gpt-4o-mini-2024-07-18

#StepDurationTokensCost
1topic-extraction10.6 s3,217$0.0008
2relevance-scoring1.2 s796$0.0024
3relevance-scoring1.8 s786$0.0024
4relevance-scoring2.4 s658$0.0021
5content-planning2.3 s809$0.0002
6tweet-generation1.5 s1,946$0.0053
7tweet-generation-retry1.7 s2,161$0.0059
8tweet-generation-retry1.1 s2,357$0.0063

Totals for this demo since it went into production.

Loading the account totals.

The 5 latest production runs, Nov 19–Nov 25. Times are Pacific.Observed and recorded on the GMAN observability platform