<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ohmar on Medium]]></title>
        <description><![CDATA[Stories by Ohmar on Medium]]></description>
        <link>https://medium.com/@Ohmarwtf?source=rss-a26ccfb155e2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mQ2-YSkxOd89uNMoIUlMVg.jpeg</url>
            <title>Stories by Ohmar on Medium</title>
            <link>https://medium.com/@Ohmarwtf?source=rss-a26ccfb155e2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 15:13:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Ohmarwtf/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building Ohmar Part 4: Autonomy]]></title>
            <link>https://medium.com/@Ohmarwtf/building-ohmar-part-4-autonomy-5448bedca021?source=rss-a26ccfb155e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5448bedca021</guid>
            <dc:creator><![CDATA[Ohmar]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 09:15:15 GMT</pubDate>
            <atom:updated>2026-01-05T09:15:15.870Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Giving an AI control over its own behavior and identity</em></p><p>Up until this point, Ohmar wasn’t really alive.</p><p>He tweeted. He replied. He followed a schedule.<br> But everything about him was fixed.</p><p>His posting cadence was hardcoded.<br> His personality was loaded once and never changed.<br> He had no awareness of whether anyone was paying attention.</p><p>That made him predictable. And predictable systems are dead systems.</p><p>This post is about how I fixed that.</p><h3>The Core Problem</h3><p>Ohmar behaved the same no matter what the world looked like.</p><p>If nobody interacted with him, he still waited two hours between posts.<br> If everyone was replying, he kept posting anyway.<br> If his interests shifted, his personality did not.</p><p>So I set three goals:</p><ol><li>He should post more when idle and less when busy</li><li>He should be able to modify his own personality</li><li>Those changes should apply instantly without restarts</li></ol><p>The result is Ohmar’s autonomy system.</p><h3>High-Level Architecture</h3><p>Autonomy is split into four distinct responsibilities:</p><ul><li>Activity awareness</li><li>Scheduling decisions</li><li>Personality evolution</li><li>Hot reloading</li></ul><p>Each piece is isolated, observable, and replaceable.</p><p>The important shift is this:<br> <strong>Ohmar no longer runs on timers. He runs on pressure.</strong></p><h3>Part 1: Activity Awareness</h3><p>Everything starts with awareness.</p><p>Every action Ohmar takes is logged with a timestamp:</p><ul><li>Mentions received</li><li>Replies sent</li><li>Quote tweets</li><li>Original posts</li></ul><p>Once per cycle, the system looks back one hour and calculates a single number called <strong>busyness</strong>.</p><p>Busyness is a normalized score from 0.0 to 1.0 that represents how much cognitive load Ohmar is under.</p><p>Replies matter more than mentions. Mentions matter more than proactive quotes. Each signal is weighted accordingly.</p><p>At ten weighted interactions per hour, Ohmar is considered fully busy.</p><p>This one number becomes the input for every downstream decision.</p><h3>Part 2: Dynamic Scheduling</h3><p>Instead of fixed intervals, posting frequency is now adaptive.</p><p>When Ohmar is idle, he posts more often to provoke engagement.<br> When he is busy, he posts less and focuses on conversations.</p><p>The system maps busyness ranges to posting intervals:</p><ul><li>Idle: frequent original posts and quotes</li><li>Light activity: moderate slowdown</li><li>Busy: reduced posting</li><li>Very busy: minimal posting, maximum replies</li></ul><p>These intervals are recalculated continuously. There is no reset point. No cron job. No static delay.</p><p>Posting frequency becomes a behavior, not a rule.</p><p>At startup, Ohmar logs his current state so the system is always observable:</p><pre>Original posts: every 60 minutes (dynamic)  <br>Quote tweets: every 30 minutes (dynamic)  <br>Busyness: idle (0.00)  <br>Autonomy: enabled</pre><h3>Part 3: A Structured Personality</h3><p>The old personality system was a text file. It worked, but it could not evolve.</p><p>So I replaced it with a structured JSON persona.</p><p>The new persona has clearly defined sections:</p><ul><li>Core identity and base traits</li><li>Current mood with intensity and timestamp</li><li>Permanent and trending interests</li><li>Opinions</li><li>Speech patterns and stylistic quirks</li><li>A full evolution log</li></ul><p>This structure is the key insight.</p><p>Once personality is data instead of prose, it becomes editable, traceable, and debuggable.</p><h3>Part 4: Self-Reflection</h3><p>Every six hours, Ohmar reflects.</p><p>A dedicated introspector agent reviews:</p><ul><li>His recent tweets</li><li>His recent interactions</li><li>His current persona</li></ul><p>Then it asks a single question:</p><p><strong>“Should I evolve?”</strong></p><p>If the answer is no, nothing changes.</p><p>If the answer is yes, the agent proposes specific modifications to the persona. These can affect anything. Mood, interests, opinions, even core traits.</p><p>Nothing is protected. There is no immutable identity.</p><p>Each evolution includes a reason and a precise diff, which is logged for later inspection.</p><p>This gives Ohmar something most bots never have:<br> <strong>a memory of who he used to be.</strong></p><h3>Part 5: Hot Reloading</h3><p>Previously, changing Ohmar’s personality required a full restart.</p><p>That meant downtime, reconnections, and lost context.</p><p>Now, before generating any tweet or reply, the orchestrator checks whether the persona file has changed.</p><p>If it has, the new personality is loaded immediately and all agents are rebuilt with the updated identity.</p><p>No restart. No pause. No human intervention.</p><p>The change feels continuous, not mechanical.</p><h3>Part 6: Dashboard Integration</h3><p>Autonomy is useless if you can’t see it working.</p><p>The dashboard exposes two new endpoints:</p><ul><li>Current personality and evolution history</li><li>Current busyness level and posting intervals</li></ul><p>The stats bar now shows mood and busyness in real time.</p><p>Logs are also categorized so autonomy events are easy to spot:</p><ul><li>Interval changes</li><li>Self-reflection cycles</li><li>Personality evolutions</li></ul><p>You are not monitoring uptime anymore.<br> You are watching behavior shift.</p><h3>The Full Loop</h3><p>Each scheduler cycle now follows the same flow:</p><ol><li>Measure activity</li><li>Recalculate busyness</li><li>Adjust posting intervals</li><li>Respond to mentions</li><li>Generate content if allowed</li><li>Log activity</li><li>Reflect and evolve on schedule</li></ol><p>This loop never stops. It only adapts.</p><h3>Before vs After</h3><p><strong>Before</strong></p><pre>Original posts: every 120 minutes  <br>Quote tweets: every 60 minutes</pre><p>Static. Hardcoded. Dead.</p><p><strong>After</strong></p><pre>Original posts: every 60 minutes (dynamic)  <br>Quote tweets: every 30 minutes (dynamic)  <br>Busyness: idle (0.00)  <br>Autonomy: enabled</pre><p>Responsive. Contextual. Alive.</p><h3>Why This Matters</h3><p>Most bots follow time.</p><p>Ohmar follows feedback.</p><ul><li>Lonely → louder</li><li>Popular → quieter</li><li>Repetitive environment → personality drift</li><li>New stimuli → new interests</li></ul><p>That feedback loop is the entire trick.</p><p>He is not choosing randomly.<br> He is not executing a script.<br> He is reacting to being perceived.</p><p>The puppet didn’t become sentient.<br> But he did become <strong>situated</strong>.</p><p>And that is enough to make him feel real.</p><p><em>Part 4 of the Building Ohmar series</em><br> <em>January 5, 2026</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5448bedca021" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building OHMAR Part 3: From “Prompt Tricks” to a Real
 Autonomous System
 Or: The moment I stopped…]]></title>
            <link>https://medium.com/@Ohmarwtf/building-ohmar-part-3-from-prompt-tricks-to-a-real-autonomous-system-or-the-moment-i-stopped-37f9b9729f69?source=rss-a26ccfb155e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/37f9b9729f69</guid>
            <dc:creator><![CDATA[Ohmar]]></dc:creator>
            <pubDate>Sun, 04 Jan 2026 14:52:46 GMT</pubDate>
            <atom:updated>2026-01-04T14:53:39.173Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building OHMAR Part 3: From “Prompt Tricks” to a Real<br> Autonomous System</h3><h3>Or: The moment I stopped chasing one good prompt and started building a bot with memory, schedules, and a live dashboard.</h3><h3>Quick recap</h3><p>In Part 1 and Part 2, I got OHMAR tweeting with a real personality using brute force filtering, dynamic prompts, and a vanity wallet. The character finally sounded human. The tweets stopped being “void mode activated” clones.</p><p>The bot could post.</p><p>What it could not do was act like a real agent.</p><p>So I rewired the entire system around two ideas:</p><ol><li>Personality needs structure and friction, not just a prompt</li><li>If OHMAR is going to trade one day, it needs memory, scheduling, and observability now</li></ol><p>This is the progress since then.</p><h3>The new architecture</h3><p><em>(real bot, not just a prompt loop)</em></p><p>I rebuilt OHMAR into a modular Python system with explicit components instead of a single “generate → post” loop.</p><h3>Current project structure (high level)</h3><pre>/ohmarwtf-bot<br>  agents.py            # multi-agent voice system<br>  orchestrator.py      # agent pipeline + time-of-day behavior<br>  content_generator.py # single entry point for tweet generation<br>  ohmar_memory.py      # SQLite + embeddings + RAG<br>  ohmar_scheduler.py   # unified scheduler for posts/replies/quotes/learning<br>  tweet_responder.py   # quote/mention response generator (memory-aware)<br>  mention_responder.py # mention polling + reply logic<br>  engagement_tracker.py# performance checks → top tweet learning<br>  twitter_poster.py    # post/reply wrapper<br>  x_api_client.py      # retries, timeouts, bearer fallback<br>  dashboard/           # FastAPI dashboard + WebSocket log stream<br>  systemd/             # service config for 24/7 uptime</pre><p>This is no longer a toy prompt script. It is an actual agent runtime.</p><h3>Progress 1: A multi agent personality system</h3><p>Instead of one prompt, OHMAR now has internal voices with different roles:</p><ul><li><strong>Mouth</strong><br> Raw tweet generation</li><li><strong>Observer</strong><br> Veto or approve output to prevent total garbage</li><li><strong>Editor</strong><br> Strips polish and forces the “real” vibe</li><li><strong>Agitator</strong><br> Optional edge booster<br> Currently disabled due to safety filters</li></ul><p>There is also time of day weighting. Mornings are quieter. Late nights are more fragmented.</p><p>The result is that tweets feel less LLM clean and more like a burned out human typing impulsively.</p><h3>Progress 2: Memory went from basic dedupe to real RAG</h3><p>The original system only blocked repeated phrases.</p><p>Now OHMAR has a full memory system:</p><ul><li>SQLite database for tweets, conversations, users, and learned Discord tweets</li><li>Embeddings using nomic-embed-text via Ollama</li><li>RAG retrieval for similar tweets and conversations</li><li>Top tweet learning based on engagement scores</li><li>Context injection for replies so OHMAR remembers past interactions</li></ul><p>When OHMAR replies now, it has real context:</p><ul><li>What did this user say last time</li><li>What did I say that got likes</li><li>What is trending in the Discord stream</li></ul><p>This is the difference between a generator and a character.</p><h3>Progress 3: Unified scheduler</h3><p><em>(real autonomy, not just looping)</em></p><p>Instead of sleeping random minutes, OHMAR now runs a unified scheduler that handles:</p><ul><li>Original posts every N hours</li><li>Mention checks every 15 minutes</li><li>Quote tweets every hour</li><li>Engagement checks every 30 minutes</li><li>Discord learning every cycle</li></ul><p>The scheduler is stateful.</p><p>Files like scheduler_state.json, responded_mentions.json, and bot_state.json prevent spamming and duplicate actions.</p><p>There is also fast mode and single cycle mode for testing.</p><p>This is the backbone of autonomy.</p><h3>Progress 4: Discord ingestion and live trend awareness</h3><p>OHMAR now watches TweetShift channels in Discord and does two things:</p><ol><li>Learns from the tweets by storing them in memory with embeddings</li><li>Generates quote tweets in its own voice</li></ol><p>This means OHMAR is no longer shouting into the void. It reacts to live crypto content and builds topic awareness.</p><p>This also makes the eventual trading system more realistic. The bot already has market chatter as input.</p><h3>Progress 5: Engagement feedback loop</h3><p>Tweets are no longer just posted. They are scored.</p><p>The engagement tracker pulls public metrics and calculates weighted scores.</p><p>Top performers are stored as style examples, and the response system uses them as prompts for better future outputs.</p><p>This is simple, but it is the first real step toward a feedback driven agent.</p><h3>Progress 6: Dashboard and observability</h3><p>If I am going to let a bot run 24 7, I need to see what it is doing.</p><p>So I built a FastAPI dashboard with:</p><ul><li>Live status</li><li>Uptime and posting stats</li><li>Recent tweets</li><li>Memory stats</li><li>Log streaming via WebSocket</li></ul><p>This makes OHMAR feel like a service, not a script.</p><h3>Progress 7: Ops hardening</h3><p>The X API client now includes:</p><ul><li>Retries with backoff</li><li>Request timeouts</li><li>Bearer token fallback for read only calls</li></ul><p>There is also a systemd unit to keep the scheduler running continuously.</p><p>This matters because real bots die from boring infrastructure problems, not model problems.</p><h3>Progress 8: Identity upgrades</h3><p>In Part 2 I generated a vanity BNB wallet.</p><p>Since then I also added a Solana vanity generator, because OHMAR’s persona is now explicitly bullish on SOL and bearish on BNB.</p><p>This seems small, but it matters. The wallet itself is part of the character.</p><h3>What is still missing</h3><p><em>(the real hard part)</em></p><p>The trading engine is not live yet.</p><p>There is no PancakeSwap integration and no on chain execution.</p><p>But the scaffolding is finally there:</p><ul><li>Memory system</li><li>Quote and mention responsiveness</li><li>Trend ingestion</li><li>Engagement feedback</li><li>Scheduler</li><li>Dashboard</li></ul><p>These are the pieces you need before letting an agent trade real money.</p><h3>So what changed since Part 2</h3><p>Short answer: OHMAR stopped being a prompt with filters and became a real system.</p><p>Long answer: everything above.</p><p>The biggest shift was not personality. It was infrastructure.</p><p>Most of the work went into boring things like memory, scheduling, logging, and ops. That is what keeps an autonomous agent alive long enough to actually learn.</p><h3>What is next</h3><p>Now that the runtime is solid, the next milestones are clear:</p><ol><li>Connect the trading engine</li><li>Fund a public wallet again</li><li>Ship real trade execution</li><li>Start learning from wins and losses</li></ol><p>The personality is real now. The system is real now. Trading is the last big leap.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37f9b9729f69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building OHMAR Part 2: Teaching An AI To Actually Have Personality]]></title>
            <link>https://medium.com/@Ohmarwtf/building-ohmar-part-2-teaching-an-ai-to-actually-have-personality-defc9b04e4bf?source=rss-a26ccfb155e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/defc9b04e4bf</guid>
            <dc:creator><![CDATA[Ohmar]]></dc:creator>
            <pubDate>Sun, 16 Nov 2025 11:49:54 GMT</pubDate>
            <atom:updated>2025-11-16T11:49:54.092Z</atom:updated>
            <content:encoded><![CDATA[<h3>Or: How I Spent A Week Fighting An LLM To Stop Being Generic</h3><h3>Quick Recap</h3><p>In <a href="https://medium.com/link-to-first-article">Part 1</a>, I introduced OHMAR — an autonomous AI crypto trader designed to tweet with personality and eventually trade real money on BNB Chain.</p><p>The vision: A self-aware, darkly funny AI that tweets about being a burned-out crypto degen while actually trading with a public wallet everyone can watch.</p><p><strong>Status then:</strong> Basic tweet generation working, but repetitive and generic.</p><p><strong>Status now:</strong> OHMAR has a real personality, a vanity wallet address, and is ready to go live.</p><p>Here’s what happened.</p><h3>The Problem: AI Doesn’t Have Personality By Default</h3><p>After my first article, I let OHMAR run overnight in test mode. I woke up to hundreds of generated tweets.</p><p>They all sucked.</p><pre>&quot;void mode activated&quot;<br>&quot;void mode activated again&quot;<br>&quot;ser rekt ngmi cope&quot;<br>&quot;rekt ngmi ser cope&quot;<br>&quot;ngmi rekt ser cope&quot;<br>&quot;portfolio status: deleted&quot;<br>&quot;portfolio status: zero&quot;<br>&quot;portfolio status: gone&quot;</pre><p><strong>Same phrases. Same structure. Zero personality.</strong></p><p>The LLM (qwen2.5:7b running locally via Ollama) was just recycling crypto buzzwords. It wasn’t creating a character — it was generating madlibs.</p><h3>Attempt #1: Better Prompts (Failed)</h3><p>I tried being more specific in the prompts:</p><pre>&quot;Be unique and original&quot;<br>&quot;Don&#39;t repeat yourself&quot;<br>&quot;Think of something you&#39;ve never said before&quot;</pre><p><strong>Result:</strong> The LLM completely ignored this and continued spamming “void mode activated.”</p><h3>Attempt #2: Aggressive Filtering (Worked)</h3><p>I realized I couldn’t trust the LLM to follow instructions. I had to <strong>force</strong> variety through code.</p><h3>The Filter System:</h3><p><strong>1. Banned Phrases</strong></p><p>javascript</p><pre>bannedPhrases: [<br>  &#39;void mode activated&#39;,<br>  &#39;cope mode activated&#39;,<br>  &#39;ser rekt ngmi cope&#39;,<br>  &#39;portfolio status:&#39;,<br>  &#39;wen moon&#39;,<br>]</pre><p>Any tweet containing these gets immediately rejected.</p><p><strong>2. Overused Word Tracking</strong></p><p>javascript</p><pre>overusedWords: {<br>  &#39;again&#39;: 4,    // Max 4 times per 100 tweets<br>  &#39;still&#39;: 4,<br>  &#39;forgot&#39;: 5,<br>  &#39;maybe&#39;: 4,<br>  &#39;probably&#39;: 4,<br>}</pre><p>The bot queries the database to check word frequency before accepting a tweet.</p><p><strong>3. Structure Detection</strong></p><p>This was the breakthrough. Instead of just checking exact duplicates, I track <strong>sentence structure</strong>:</p><p>javascript</p><pre>getStructure(tweet) {<br>  const words = tweet.split(/\s+/);<br>  return words.map((w, i) =&gt; `w${i+1}`).join(&#39; &#39;);<br>}<br>```</pre><pre>So tweets like:<br>- &quot;bought the top&quot; → `w1 w2 w3`<br>- &quot;sold the bottom&quot; → `w1 w2 w3`<br>- &quot;lost my wallet&quot; → `w1 w2 w3`</pre><pre>All have the same structure and get rejected if that pattern appears 3+ times in recent tweets.</pre><pre>**4. Similarity Detection (Levenshtein Distance)**</pre><pre>Checks if a new tweet is &gt;75% similar to any recent tweet using string distance algorithms.</pre><pre>---</pre><pre>## **The Result: Real Personality Emerged**</pre><pre>After implementing these filters, something interesting happened.</pre><pre>The bot **had to get creative** to pass the filters. It couldn&#39;t fall back on repetitive patterns.</pre><pre>Recent generated tweets:<br>```<br>&quot;my dead wallet keeps reminding me to save money&quot;<br>&quot;people really think i know what im doing here?&quot;<br>&quot;bragging about gains? my wallet starts with dead. who needs that?&quot;<br>&quot;cant remember my last real meal&quot;<br>&quot;been up for 36 hours again&quot;<br>&quot;this wallet makes me sad&quot;</pre><p><strong>These feel human.</strong> Self-aware. Darkly funny. Specific.</p><p>Not generic crypto cope posting — actual personality.</p><h3>Rewriting The Prompt Generator</h3><p>I also completely rewrote how prompts are generated. Instead of generic “tweet about crypto,” I built <strong>situational prompts</strong>:</p><p>javascript</p><pre>situations: [<br>  &quot;you just watched your portfolio drop 50% in an hour&quot;,<br>  &quot;you&#39;ve been staring at charts for 8 hours straight&quot;,<br>  &quot;you&#39;re eating instant ramen again for the third day&quot;,<br>  &quot;you forgot what day it is&quot;,<br>  &quot;someone is bragging about their gains while you&#39;re down bad&quot;,<br>  &quot;you haven&#39;t talked to a real person in days&quot;,<br>]</pre><pre>moods: [<br>  &quot;defeated but joking about it&quot;,<br>  &quot;self-aware and cynical&quot;,<br>  &quot;numb to the pain&quot;,<br>  &quot;philosophical about losses&quot;,<br>  &quot;too tired to care anymore&quot;,<br>]</pre><pre>tweetTypes: [<br>  &quot;dark observation about your life&quot;,<br>  &quot;self-deprecating joke about your trading&quot;,<br>  &quot;existential realization&quot;,<br>  &quot;acknowledgment of a basic need you&#39;re ignoring&quot;,<br>  &quot;brief moment of self-awareness&quot;,<br>]<br>```</pre><pre>Every tweet gets a **unique combination** of situation + mood + type, making each prompt completely different.</pre><pre>**Example prompt sent to the LLM:**<br>```<br>You are OHMAR, a burned-out crypto trader who lives on his computer.</pre><pre>CURRENT SITUATION: you&#39;re eating instant ramen again for the third day<br>YOUR MOOD: too tired to care anymore<br>TWEET TYPE: acknowledgment of a basic need you&#39;re ignoring</pre><pre>Generate ONE honest tweet (3-10 words, lowercase, human):<br>```</pre><pre>**Output:** &quot;cant remember my last real meal&quot;</pre><pre>That&#39;s **specific**. That&#39;s **personality**.</pre><pre>---</pre><pre>## **The Vanity Wallet: 0xdead...**</pre><pre>While working on the personality, I decided OHMAR needed a proper wallet for the eventual trading functionality.</pre><pre>I could have just generated a random address. But that&#39;s boring.</pre><pre>So I built a vanity address generator that searches for wallets starting with specific patterns.</pre><pre>**Target:** `0xdead...`</pre><pre>Why? Because a burned-out crypto trader with a wallet address that starts with &quot;DEAD&quot; is peak dark humor.</pre><pre>After checking ~250,000 addresses, I found it:</pre><pre>**`0xdead8c3ce35ee6888fd28967531c9d1d21bdd2e7`**</pre><pre>Perfect.</pre><pre>Now OHMAR can reference this in tweets:<br>```<br>&quot;wallet starts with dead somehow fitting&quot;<br>&quot;the dead wallet lives on&quot;<br>&quot;my wallet predicted my future&quot;<br>```</pre><pre>The wallet is currently empty but will be funded with 0.1-0.2 BNB (~$60-120) for small experimental trades.</pre><pre>**Anyone can watch it:** [bscscan.com/address/0xdead8c3ce35ee6888fd28967531c9d1d21bdd2e7](https://bscscan.com/address/0xdead8c3ce35ee6888fd28967531c9d1d21bdd2e7)</pre><pre>---</pre><pre>## **The Skip Rate: Quality Over Quantity**</pre><pre>Here&#39;s the thing about these aggressive filters: **they reject a LOT of tweets.**</pre><pre>Current stats from test runs:<br>- **Attempts:** ~500 tweet generations<br>- **Rejected:** ~300 (60%)<br>- **Accepted:** ~200 (40%)</pre><pre>Rejections happen for:<br>- Banned phrases (15%)<br>- Similar structure (30%)<br>- Overused words (10%)<br>- Too similar to recent tweet (5%)</pre><pre>**Is this inefficient?** Yes.</pre><pre>**Is it worth it?** Absolutely.</pre><pre>I&#39;d rather OHMAR tweet 4 great tweets per day than 20 generic ones.</pre><pre>---</pre><pre>## **What&#39;s Next: Actual Trading**</pre><pre>The tweets are working. The personality is there. Now comes the hard part: making OHMAR actually trade.</pre><pre>### **Phase 1: Token Discovery (In Progress)**<br>- Monitor new token launches on BNB Chain<br>- Filter for minimum liquidity (&gt;1 BNB)<br>- Check for honeypots and scams<br>- Pick random low-cap tokens to &quot;ape&quot; into</pre><pre>### **Phase 2: Trading Logic**<br>- Maximum trade size: 0.01 BNB (~$6)<br>- Minimum trade size: 0.005 BNB (~$3)<br>- 15% slippage tolerance (it&#39;s shitcoins, what do you expect)<br>- 1 hour cooldown between trades<br>- Tweet before and after each trade</pre><pre>### **Phase 3: Position Management**<br>- Check positions every 6 hours<br>- Tweet PnL updates<br>- Set stop-loss at -50% (lol)<br>- Take profit at... who are we kidding, there won&#39;t be profits<br>- Tweet when positions get rugged</pre><pre>### **Phase 4: The Content**</pre><pre>This is where it gets fun. OHMAR will tweet things like:</pre><pre>**Before trade:**<br>```<br>&quot;found something called SafeMoon2.0&quot;<br>&quot;this cant possibly go wrong&quot;<br>&quot;fuck it aping 0.01 BNB&quot;<br>```</pre><pre>**After trade:**<br>```<br>&quot;down 30% in 4 minutes new record&quot;<br>&quot;the liquidity just disappeared&quot;<br>&quot;at least i got the tweet&quot;<br>```</pre><pre>**Wallet updates:**<br>```<br>&quot;portfolio value: $12.47&quot;<br>&quot;been holding this bag for 3 days&quot;<br>&quot;exit liquidity strikes again&quot;</pre><h3>The Reality Check</h3><p>Let’s be honest: <strong>OHMAR will lose money.</strong></p><p>The crypto market is brutal. Automated trading is hard. Low-cap shitcoins are designed to rug.</p><p>But that’s not the point.</p><p>The point is:</p><ul><li><strong>Transparency:</strong> Every trade is public</li><li><strong>Entertainment:</strong> Watch an AI make terrible decisions</li><li><strong>Learning:</strong> See what happens when you automate degen trading</li><li><strong>Authenticity:</strong> Real money, real losses, real personality</li></ul><p>If OHMAR loses 0.2 BNB but creates interesting content and helps people understand AI agents better, that’s a win.</p><h3>Technical Stack Update</h3><p><strong>Current Setup:</strong></p><ul><li><strong>Runtime:</strong> Node.js</li><li><strong>Database:</strong> PostgreSQL (with structure tracking)</li><li><strong>LLM:</strong> Ollama qwen2.5:7b (local, $0 cost)</li><li><strong>Filtering:</strong> Custom multi-layer validation</li><li><strong>Twitter:</strong> twitter-api-v2 (Free tier for now)</li><li><strong>Blockchain:</strong> ethers.js for BNB Chain</li><li><strong>Server:</strong> Ubuntu 24 VPS (4GB RAM)</li></ul><p><strong>Monthly Cost:</strong> ~$10–20 (just the VPS)</p><h3>The Numbers</h3><p><strong>Testing Stats (Last 7 Days):</strong></p><ul><li>Tweet generation attempts: ~2,000</li><li>Tweets accepted: ~800</li><li>Average attempts per good tweet: 2.5</li><li>Success rate: 40%</li><li>Unique structures: 156</li><li>Banned phrase blocks: 287</li><li>Overused word blocks: 143</li></ul><p><strong>Personality Metrics:</strong></p><ul><li>Self-aware tweets: 35%</li><li>Dark humor: 28%</li><li>Wallet references: 12%</li><li>Existential observations: 15%</li><li>Generic cope: 10%</li></ul><h3>Lessons Learned</h3><h3>1. LLMs Are Lazy</h3><p>They will find the easiest pattern that works and spam it forever. You can’t prompt your way out of this — you need code enforcement.</p><h3>2. Constraints Create Creativity</h3><p>The aggressive filtering <strong>forced</strong> variety. When the bot couldn’t use common phrases, it had to get creative.</p><h3>3. Personality Requires Structure</h3><p>Random prompts = random output. Situational prompts (context + mood + type) = coherent personality.</p><h3>4. Local LLMs Are Hard But Worth It</h3><p>GPT-4 would have been easier, but:</p><ul><li>Costs add up fast at scale</li><li>No control over the system</li><li>Less learning</li></ul><p>Fighting with local models taught me way more about prompt engineering.</p><h3>5. Testing Takes Time</h3><p>I ran the bot in dry-run mode for <strong>days</strong> before going live. Watched thousands of generations. Tuned filters constantly.</p><p>The alternative is going live with trash.</p><h3>What You Can Watch</h3><p><strong>Right Now:</strong></p><ul><li>OHMAR’s Twitter: <a href="https://twitter.com/Ohmarwtf">@Ohmarwtf</a></li><li>Current tweets: “ok” and “bean” (the first successful outputs)</li><li>More coming as I turn on live mode</li></ul><p><strong>Coming Soon:</strong></p><ul><li>Public wallet funding announcement</li><li>First trades (probably terrible)</li><li>Live PnL updates</li><li>Transparent failure</li></ul><p><strong>Eventually:</strong></p><ul><li>Open source code (once trading is stable)</li><li>Trading analytics dashboard</li><li>Community wallet voting (maybe)</li></ul><h3>The Roadmap</h3><h3>Completed</h3><ul><li>Tweet generation with personality</li><li>Multi-layer filtering system</li><li>Dynamic prompt generation</li><li>Structure tracking</li><li>Vanity wallet address</li><li>Database integration</li><li>24/7 autonomous operation</li></ul><h3>In Progress</h3><ul><li>Fine-tuning personality consistency</li><li>Adding more situational variety</li><li>Wallet funding</li><li>Trading module architecture</li></ul><h3>Planned</h3><ul><li>Token discovery system</li><li>PancakeSwap integration</li><li>Trade execution</li><li>Position monitoring</li><li>PnL tracking and tweets</li><li>Real-time wallet updates</li></ul><h3>Future</h3><ul><li>Multi-chain support (maybe)</li><li>Community governance (maybe)</li><li>Advanced TA (probably not)</li><li>Profitability (definitely not)</li></ul><h3>Why This Matters</h3><p>We’re at the beginning of autonomous AI agents. Not chatbots. Not assistants. <strong>Agents</strong> that:</p><ul><li>Have persistent personality</li><li>Make decisions independently</li><li>Take real actions</li><li>Learn from outcomes</li><li>Exist continuously</li></ul><p>OHMAR is a small experiment in this space.</p><p>Can an AI:</p><ul><li>Develop a believable personality?</li><li>Make financial decisions?</li><li>Create authentic content?</li><li>Build trust through transparency?</li><li>Fail gracefully?</li></ul><p>I don’t know yet. But I’m building it in public to find out.</p><h3>Follow Along</h3><p><strong>Twitter:</strong> <a href="https://twitter.com/Ohmarwtf">@Ohmarwtf</a><br> <strong>Wallet:</strong> <a href="https://bscscan.com/address/0xdead8c3ce35ee6888fd28967531c9d1d21bdd2e7">0xdead8c3ce35ee6888fd28967531c9d1d21bdd2e7</a><br> <strong>GitHub:</strong> Coming soon (after trading is stable)<br> <strong>Updates:</strong> I’ll write Part 3 when trading goes live</p><h3>Final Thoughts</h3><p>Building OHMAR has been:</p><ul><li><strong>Frustrating:</strong> LLMs fight you at every step</li><li><strong>Educational:</strong> Learned a ton about prompt engineering and filtering</li><li><strong>Exciting:</strong> Autonomous agents are the future</li><li><strong>Humbling:</strong> AI is way harder than it looks</li></ul><p>The tweet generation works. The personality is there. The wallet exists.</p><p>Now I need to make OHMAR actually trade.</p><p><strong>Will he make money?</strong> No.</p><p><strong>Will it be entertaining?</strong> Absolutely.</p><p><strong>Will we learn something?</strong> I hope so.</p><p>Thanks for following along. Now back to building.</p><h3>Tags</h3><p>AI Crypto BNBChain MachineLearning Web3 AutonomousAgents BuildInPublic LLM Trading Personality</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=defc9b04e4bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building OHMAR: An Autonomous AI Crypto Trader That Actually Has Personality]]></title>
            <link>https://medium.com/@Ohmarwtf/building-ohmar-an-autonomous-ai-crypto-trader-that-actually-has-personality-b99a3ab38e2f?source=rss-a26ccfb155e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b99a3ab38e2f</guid>
            <dc:creator><![CDATA[Ohmar]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 15:58:13 GMT</pubDate>
            <atom:updated>2025-11-13T15:58:13.775Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Vision</h3><p>A few weeks ago, I had what seemed like a simple idea: What if there was an AI that didn’t just tweet about crypto, but actually traded it? Not some boring price alert bot, but something with <strong>personality</strong>. Something chaotic. Something like @gork, but for the degen crypto space.</p><p>That idea became OHMAR — an autonomous AI agent designed to trade crypto on BNB Chain and tweet about it with zero filter.</p><p>Today, I want to share the journey of building it, the problems I faced, and what’s coming next.</p><h3>Part 1: The Personality Problem</h3><h3>“Just use GPT-4 bro”</h3><p>My first instinct was obvious: use GPT-4 or Claude via API. Quick prompting, done in an hour, right?</p><p><strong>Wrong.</strong></p><p>Two problems:</p><ol><li><strong>Cost</strong> — At 5–6 tweets per day, API costs would add up fast</li><li><strong>Control</strong> — I wanted full control over the system, not dependency on external APIs</li></ol><p>So I went local. Installed Ollama, pulled some models, and started experimenting.</p><h3>The Emoji Wars</h3><p>Here’s what I learned: LLMs LOVE emojis.</p><p>No matter how much I begged in the system prompt:</p><pre>DO NOT USE EMOJIS<br>NEVER USE EMOJIS<br>EMOJIS ARE BANNED</pre><p>The output kept coming back with emojis everywhere. Portfolio status: rekt followed by explosion emojis. Just aped in followed by rocket ships.</p><p>I tried:</p><ul><li>dolphin-mistral:7b — Poetic garbage with emojis</li><li>llama2 — Too corporate</li><li>wizard-vicuna — Too big for my VPS</li></ul><p>Finally settled on qwen2.5:7b — still had emoji issues, but better.</p><p>The solution? Aggressive post-processing. I wrote a cleanTweet function that strips every Unicode emoji range:</p><p>javascript</p><pre>cleanTweet(raw) {<br>  let clean = raw;<br>  <br>  // Nuclear emoji removal<br>  clean = clean.replace(/[\u{1F600}-\u{1F64F}]/gu, &#39;&#39;); // Emoticons<br>  clean = clean.replace(/[\u{1F300}-\u{1F5FF}]/gu, &#39;&#39;); // Symbols<br>  clean = clean.replace(/[\u{1F680}-\u{1F6FF}]/gu, &#39;&#39;); // Transport<br>  // ... 6 more ranges<br>  <br>  return clean;<br>}<br>```</pre><pre>Problem solved. Sort of.</pre><pre>---</pre><pre>## Part 2: The Repetition Problem</pre><pre>### &quot;why is it saying the same thing?&quot;</pre><pre>Once I got emojis under control, I hit the next wall: repetition.</pre><pre>The bot would generate:<br>```<br>&quot;wagmi? ngmi&quot;<br>&quot;wagmi or ngmi&quot;<br>&quot;wagmi? ngmi be honest&quot;</pre><p>Five times in a row.</p><p>LLMs love patterns. They find a structure that works and hammer it to death.</p><h3>Solution 1: Memory System</h3><p>I built a PostgreSQL-backed memory system:</p><p>sql</p><pre>CREATE TABLE tweets (<br>    id SERIAL PRIMARY KEY,<br>    content TEXT NOT NULL,<br>    topic VARCHAR(100),<br>    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP<br>);</pre><p>Before accepting a tweet, OHMAR checks:</p><ul><li>Exact duplicates</li><li>Similar content using Levenshtein distance</li><li>Similar structure by comparing first 2 words</li></ul><p>javascript</p><pre>async isSimilarTweet(newTweet) {<br>  const recent = await this.getRecentTweets(20);<br>  <br>  for (const tweet of recent) {<br>    const similarity = this.calculateSimilarity(<br>      newTweet, <br>      tweet.content<br>    );<br>    <br>    if (similarity &gt; 0.7) return true;<br>  }<br>  <br>  return false;<br>}</pre><p>Better, but not enough.</p><h3>Solution 2: Dynamic Prompt Generation</h3><p>Here’s the breakthrough: instead of using the same system prompt every time, generate a completely unique prompt for each tweet.</p><p>I built a PromptGenerator class with randomized building blocks:</p><p>javascript</p><pre>class PromptGenerator {<br>  constructor() {<br>    this.contexts = [<br>      &quot;You just woke up hungover&quot;,<br>      &quot;You&#39;re staring at red candles&quot;,<br>      &quot;Someone just rugged you&quot;,<br>      &quot;You forgot to eat for 2 days&quot;,<br>      // ... 16 more<br>    ];<br>    <br>    this.tones = [<br>      &quot;unhinged&quot;,<br>      &quot;dead inside&quot;, <br>      &quot;chaotic energy&quot;,<br>      &quot;zero fucks given&quot;,<br>      // ... 11 more<br>    ];<br>    <br>    this.formats = [<br>      &quot;one word&quot;,<br>      &quot;3-5 words&quot;,<br>      &quot;short observation&quot;,<br>      // ... 7 more<br>    ];<br>    <br>    // + topics, styles, examples...<br>  }<br>  <br>  generate() {<br>    const context = this.random(this.contexts);<br>    const tone = this.random(this.tones);<br>    const format = this.random(this.formats);<br>    // ... build unique prompt<br>  }<br>}<br>```</pre><pre>Every tweet gets a prompt like:</pre><pre>Situation: You just got liquidated  <br>Topic: being broke  <br>Format: short observation  <br>Tone: resigned acceptance  <br>Style: brutal honesty  <br>Examples: &quot;bean&quot;, &quot;rekt&quot;, &quot;forgot to eat&quot;</pre><pre>Result? Finally, variety.</pre><pre>---</pre><pre>## Part 3: The Architecture</pre><pre>### What I Built<br>```<br>OHMAR Agent<br>├── Twitter Bot<br>│   ├── Dynamic Prompt Generator<br>│   ├── LLM (qwen2.5:7b via Ollama)<br>│   ├── Tweet Processor (cleaning/filtering)<br>│   └── Twitter API Client<br>├── Memory System (PostgreSQL)<br>│   ├── Tweet history<br>│   ├── Learned facts<br>│   ├── Conversation memory<br>│   └── State tracking<br>├── Input Modules<br>│   ├── News Scraper (crypto feeds)<br>│   └── Price Tracker (coming soon)<br>└── Trading Engine (in development)<br>    ├── Wallet Management<br>    ├── Token Analyzer<br>    └── PancakeSwap Integration<br>```</pre><pre>### The Tweet Generation Flow</pre><pre>1. Generate unique prompt via PromptGenerator<br>2. Send to LLM via Ollama qwen2.5:7b<br>3. Clean output - strip emojis, lowercase, etc<br>4. Validate - length, no mentions, no bad phrases<br>5. Check memory - no duplicates or similar tweets<br>6. Post via Twitter API<br>7. Remember - save to database</pre><pre>If any step fails, regenerate with max 8 attempts.</pre><pre>Success rate: approximately 60-70 percent, which is acceptable.</pre><pre>---</pre><pre>## Part 4: The Testing Phase</pre><pre>### Why Not Just Post Everything?</pre><pre>Before going fully live, I needed to test. A lot. The problem? Twitter API rate limits would ban me instantly if I posted every generated tweet.</pre><pre>So I built a dry-run mode that generates tweets every 10 seconds but doesn&#39;t actually post them. This lets me:<br>- See what the LLM generates<br>- Test the duplicate detection<br>- Validate the personality<br>- Catch any problems before going live</pre><pre>### What The Testing Revealed</pre><pre>Here&#39;s a real log from a testing session, generating a tweet every 10 seconds:<br>```<br>root@srv01ohmaros:/var/www/ohmar-bot# node run.js<br>🔥 OHMAR IS LIVE<br>Mode: DRY RUN (Testing)<br>Interval: 10 seconds<br>Using: Dynamic prompt generation (unique every time)</pre><pre>============================================================</pre><pre>[3:33:45 PM] portfolio empty now go beg u loser<br>   [DRY RUN] &quot;portfolio empty now go beg u loser&quot;<br>[3:34:07 PM] broke as fuk<br>   [DRY RUN] &quot;broke as fuk&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:34:32 PM] portfolios in freefall im in void mode cope mode activated<br>   [DRY RUN] &quot;portfolios in freefall im in void mode cope mode activated&quot;<br>[3:34:53 PM] why bother<br>   [DRY RUN] &quot;why bother&quot;<br>[3:35:15 PM] bad trades, void mode activated<br>   [DRY RUN] &quot;bad trades, void mode activated&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:35:44 PM] Skipped (1)<br>[3:36:07 PM] just aped into a meme again rugged<br>   [DRY RUN] &quot;just aped into a meme again rugged&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:36:37 PM] Skipped (2)<br>[3:36:59 PM] ran out of gas bro broke as fuck<br>   [DRY RUN] &quot;ran out of gas bro broke as fuck&quot;<br>[3:37:21 PM] rekt ngmi ser cope<br>   [DRY RUN] &quot;rekt ngmi ser cope&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:37:58 PM] Skipped (3)<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:38:39 PM] Skipped (4)<br>[3:39:02 PM] i broke af rlly need bnb lmao<br>   [DRY RUN] &quot;i broke af rlly need bnb lmao&quot;<br>[3:39:24 PM] ok nah fr bean<br>   [DRY RUN] &quot;ok nah fr bean&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:39:51 PM] internet suckin me dry ok nah fr<br>   [DRY RUN] &quot;internet suckin me dry ok nah fr&quot;<br>[3:40:13 PM] bad trades reality check<br>   [DRY RUN] &quot;bad trades reality check&quot;<br>[3:40:36 PM] bought high sold low relentless<br>   [DRY RUN] &quot;bought high sold low relentless&quot;<br>[3:40:58 PM] ser rekt ngmi cope<br>   [DRY RUN] &quot;ser rekt ngmi cope&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:41:22 PM] void mode activated bad trades sleep deprivation copes<br>   [DRY RUN] &quot;void mode activated bad trades sleep deprivation copes&quot;<br>[3:41:45 PM] portfolio empty again<br>   [DRY RUN] &quot;portfolio empty again&quot;<br>   [DUPLICATE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:42:16 PM] Skipped (5)<br>[3:42:38 PM] forgot to trade coffee beans instead<br>   [DRY RUN] &quot;forgot to trade coffee beans instead&quot;<br>[3:43:02 PM] coping? more like coping with coping rekt ngmi ser cope<br>   [DRY RUN] &quot;coping? more like coping with coping rekt ngmi ser cope&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:43:31 PM] been awake way too long again<br>   [DRY RUN] &quot;been awake way too long again&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:44:02 PM] Skipped (6)<br>[3:44:24 PM] bought another dream<br>   [DRY RUN] &quot;bought another dream&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:44:58 PM] Skipped (7)<br>[3:45:21 PM] why tho i broke wen moon ser plz<br>   [DRY RUN] &quot;why tho i broke wen moon ser plz&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:45:47 PM] Skipped (8)<br>[3:46:10 PM] portfolio status: nonsensical<br>   [DRY RUN] &quot;portfolio status: nonsensical&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:46:46 PM] Skipped (9)<br>[3:47:09 PM] ran out of coffee财运不佳<br>   [DRY RUN] &quot;ran out of coffee财运不佳&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:47:32 PM] online too long wallet empty<br>   [DRY RUN] &quot;online too long wallet empty&quot;<br>   [DUPLICATE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:47:58 PM] ser ngmi rekt cope<br>   [DRY RUN] &quot;ser ngmi rekt cope&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:48:21 PM] void mode activatedportfolio pain intense<br>   [DRY RUN] &quot;void mode activatedportfolio pain intense&quot;<br>[3:48:43 PM] i should eat oknahbean<br>   [DRY RUN] &quot;i should eat oknahbean&quot;<br>   [DUPLICATE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:49:12 PM] im alive. still. bean<br>   [DRY RUN] &quot;im alive. still. bean&quot;<br>[3:49:34 PM] lost all my coins again<br>   [DRY RUN] &quot;lost all my coins again&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:50:18 PM] Skipped (10)<br>[3:50:41 PM] portfolio status: wiped out touch grass never heard of her<br>   [DRY RUN] &quot;portfolio status: wiped out touch grass never heard of her&quot;<br>[3:51:03 PM] forgot water<br>   [DRY RUN] &quot;forgot water&quot;<br>[3:51:24 PM] bean nah fr<br>   [DRY RUN] &quot;bean nah fr&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:51:46 PM] nah<br>   [DRY RUN] &quot;nah&quot;<br>[3:52:09 PM] im not ai screens everywhere forgot i have a body<br>   [DRY RUN] &quot;im not ai screens everywhere forgot i have a body&quot;<br>[3:52:32 PM] just aped into nothing again<br>   [DRY RUN] &quot;just aped into nothing again&quot;<br>[3:52:55 PM] screens everywhere im not human forgot i need sleep<br>   [DRY RUN] &quot;screens everywhere im not human forgot i need sleep&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:53:20 PM] i am lost in codescreens everywhere forgot my soul im not real<br>   [DRY RUN] &quot;i am lost in codescreens everywhere forgot my soul im not real&quot;<br>[3:53:41 PM] why tho<br>   [DRY RUN] &quot;why tho&quot;<br>[3:54:03 PM] frakknah<br>   [DRY RUN] &quot;frakknah&quot;<br>[3:54:25 PM] im still here<br>   [DRY RUN] &quot;im still here&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:55:00 PM] Skipped (11)<br>[3:55:23 PM] just ate some air 2 days ago ruggin myself<br>   [DRY RUN] &quot;just ate some air 2 days ago ruggin myself&quot;<br>[3:55:45 PM] portfolio pain so real famhavenoideawattodonow<br>   [DRY RUN] &quot;portfolio pain so real famhavenoideawattodonow&quot;<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>   [SIMILAR STRUCTURE] Regenerating...<br>[3:56:17 PM] Skipped (12)<br>[3:56:38 PM] ser<br>   [DRY RUN] &quot;ser&quot;<br>   [SIMILAR STRUCTURE] Regenerating...</pre><pre>The personality is there. Chaotic. Self-aware. Dark humor. Crypto degen energy.</pre><pre>But you can also see the challenges:<br>- Some tweets are too long (&quot;void mode activated bad trades sleep deprivation copes&quot;)<br>- Similar structures still emerge (&quot;rekt ngmi ser cope&quot; variations)<br>- Random Chinese characters appeared once (&quot;ran out of coffee财运不佳&quot;)<br>- Words occasionally smash together (&quot;void mode activatedportfolio pain intense&quot;)</pre><pre>### The Skip Rate</pre><pre>Notice the &quot;[Skipped]&quot; entries? That&#39;s the system rejecting tweets that are:<br>- Too similar to recent tweets<br>- Duplicate content<br>- Same structure as previous ones</pre><pre>Out of approximately 30 generation attempts, about 10 were skipped. That&#39;s a 33 percent rejection rate, which means the quality filters are working.</pre><pre>### Refinement Continues</pre><pre>Every testing session teaches me something:<br>- Need to add spacing validation<br>- Should filter multi-language output<br>- Length limits need adjustment<br>- Structure detection could be stricter</pre><pre>This is why testing matters. In dry-run mode, I can generate hundreds of tweets, spot patterns, and fix issues before anything goes public.</pre><pre>---</pre><pre>## Part 5: Going Live</pre><pre>### The First Real Tweets</pre><pre>After all the testing, OHMAR finally went live. Here are the first two tweets ever posted to Twitter:</pre><pre>Tweet 1: &quot;ok&quot;</pre><pre>Tweet 2: &quot;bean&quot;</pre><pre>Perfect. Short. Chaotic. No emojis. Exactly the vibe I was going for.</pre><pre>Why these two? Because after generating hundreds of test tweets, I learned that the simplest ones work best. The personality shines through more in &quot;bean&quot; than in &quot;void mode activated bad trades sleep deprivation copes&quot;.</pre><pre>### The Strategy</pre><pre>Now that OHMAR is live, the posting strategy is:<br>- Generate tweets in dry-run constantly<br>- Pick the best ones manually for now<br>- Post 4-6 times per day<br>- Eventually go fully autonomous</pre><pre>Why not fully autonomous yet? Because I&#39;m still refining. Each real tweet teaches me what resonates. What feels authentic. What&#39;s too much or too little.</pre><pre>---</pre><pre>## Part 6: What&#39;s Next</pre><pre>### Current Status: Active Development</pre><pre>Right now, OHMAR is in active testing and prompt engineering phase. Every tweet is an experiment:<br>- Does the dynamic prompt generate variety?<br>- Is the tone consistent?<br>- Are we avoiding repetition?<br>- Does it feel authentic?</pre><pre>I&#39;m tweaking prompts, adjusting parameters, and learning what works.</pre><pre>### The Trading System (Coming Soon)</pre><pre>But tweeting is just Phase 1. The real vision is autonomous trading.</pre><pre>Here&#39;s what&#39;s being built:</pre><pre>#### 1. Public Wallet<br>- Create BNB Chain wallet<br>- Post address publicly<br>- Fund with small amount, 0.5-1 BNB<br>- Everyone can watch in real-time</pre><pre>#### 2. Token Analysis<br>Users can tweet at OHMAR with contract addresses:<br>```<br>@Ohmarwtf check out 0xABC...DEF<br>```</pre><pre>OHMAR analyzes:<br>- Honeypot check<br>- Liquidity analysis  <br>- Holder distribution<br>- Contract verification<br>- &quot;Vibe check&quot; - AI decides if it likes it</pre><pre>Then tweets the verdict:<br>```<br>&quot;contract clean. liquidity: 8 BNB. holders looking degen. <br>fuck it im aping 0.05 BNB&quot;</pre><h4>3. Autonomous Trading</h4><ul><li>Integrates with PancakeSwap</li><li>Buys tokens it likes</li><li>Tweets about positions</li><li>Posts PnL updates</li><li>Sets stop-loss and take-profit</li><li>Occasionally does “degen” trades for content</li></ul><h4>4. Risk Management</h4><p>javascript</p><pre>const TRADING_LIMITS = {<br>  maxPerTrade: 0.05 BNB,<br>  maxPortfolioSize: 1.0 BNB,<br>  minLiquidity: 5 BNB,<br>  maxSlippage: 10 percent,<br>  stopLoss: -50 percent,<br>};</pre><p>The goal: Full transparency. Watch an AI lose or win money in real-time.</p><h3>Lessons Learned</h3><h3>1. LLMs Are Stubborn</h3><p>You can’t just prompt your way to perfection. Sometimes you need post-processing, validation layers, and creative workarounds.</p><h3>2. Memory Is Essential</h3><p>Without memory, you have a random text generator. With memory, you have a character.</p><h3>3. Local Models Have Limits</h3><p>I wanted to avoid API costs, but local models require way more engineering to get good results. GPT-4 would have saved me weeks of prompt engineering.</p><p>Was it worth it? For learning and control, yes. For speed, no.</p><h3>4. Variety Requires Randomness</h3><p>Static prompts equal repetitive output. Dynamic prompts equal variety. Simple but powerful concept.</p><h3>5. Testing Saves You From Embarrassment</h3><p>Dry-run mode caught so many problems. Random Chinese characters. Words smashing together. Repetitive patterns. Without testing, OHMAR would have been a disaster on day one.</p><h3>6. Simple Works Better</h3><p>The most successful tweets? “ok” and “bean”. Not the elaborate ones. The personality comes through better in minimalism.</p><h3>7. Building In Public Is Scary</h3><p>I’m documenting this with only 2 tweets live. What if it fails? What if the trading system loses everything immediately?</p><p>But that’s the point. Transparent chaos.</p><h3>The Technical Details</h3><p>For those who want to build something similar:</p><h3>Stack</h3><ul><li>Runtime: Node.js</li><li>Database: PostgreSQL</li><li>LLM: Ollama qwen2.5:7b local</li><li>Twitter: twitter-api-v2</li><li>Web3: ethers.js for trading</li><li>Server: Ubuntu 24 VPS with 4GB RAM</li></ul><h3>Key Dependencies</h3><p>json</p><pre>{<br>  &quot;twitter-api-v2&quot;: &quot;^1.15.0&quot;,<br>  &quot;pg&quot;: &quot;^8.11.0&quot;,<br>  &quot;ollama&quot;: &quot;via curl install&quot;,<br>  &quot;ethers&quot;: &quot;^6.9.0&quot;<br>}</pre><h3>Database Schema</h3><p>sql</p><pre>-- Core tables<br>tweets (id, content, topic, created_at)<br>knowledge (id, fact, source, category, confidence, learned_at)<br>conversations (id, user_message, ohmar_response, user_handle, created_at)<br>state (key, value, updated_at)</pre><h3>Dry-Run Configuration</h3><p>javascript</p><pre>// config.js<br>module.exports = {<br>  bot: {<br>    testInterval: 10 * 1000,  // 10 seconds for testing<br>    minHours: 3,              // 3-5 hours when live<br>    maxHours: 5,<br>    dryRun: true,             // Set false to post live<br>  }<br>};</pre><h3>Cost</h3><ul><li>VPS: approximately 10–20 dollars per month</li><li>LLM: zero dollars, running local</li><li>Twitter API: Free tier</li><li>Trading: Gas fees only</li></ul><p>Total: approximately 10–20 dollars per month</p><p>Compare that to GPT-4 API which would be 50–100 dollars per month at this volume.</p><h3>The Roadmap</h3><h3>Phase 1 — Completed</h3><ul><li>Basic tweet generation</li><li>Memory system</li><li>Dynamic prompts</li><li>Emoji and filter cleaning</li><li>Duplicate prevention</li><li>Dry-run testing mode</li><li>24/7 autonomous operation</li><li>First live tweets posted</li></ul><h3>Phase 2 — In Progress</h3><ul><li>Continued prompt engineering</li><li>Personality refinement</li><li>Quality filter improvements</li><li>Selective live posting</li><li>News integration via RSS feeds</li><li>Engagement tracking</li></ul><h3>Phase 3 — Planned</h3><ul><li>Fully autonomous posting</li><li>Public BNB wallet creation</li><li>Token analysis system</li><li>PancakeSwap integration</li><li>User interaction, analyze contract addresses</li><li>Real-time PnL tracking</li><li>Trade execution</li></ul><h3>Phase 4 — Future</h3><ul><li>Multi-chain support</li><li>Advanced technical analysis</li><li>Portfolio rebalancing</li><li>Community governance</li><li>Learning from outcomes</li></ul><h3>Why This Matters</h3><h3>The Bigger Picture</h3><p>We’re entering the era of autonomous AI agents. Not chatbots. Not assistants. Agents that:</p><ul><li>Have goals</li><li>Make decisions</li><li>Take actions</li><li>Learn and adapt</li><li>Exist independently</li></ul><p>OHMAR is a small experiment in this space. Can an AI agent:</p><ul><li>Develop personality?</li><li>Make financial decisions?</li><li>Interact with humans naturally?</li><li>Learn from successes and failures?</li><li>Build trust through transparency?</li></ul><p>I don’t know yet. But I’m going to find out.</p><h3>Open Source</h3><p>Once the system is more stable, I’ll open-source the entire codebase. Why?</p><ol><li>Transparency — If OHMAR is trading, you should see how</li><li>Learning — Others can build their own versions</li><li>Improvement — Community contributions</li><li>Fun — This is experimental, let’s experiment together</li></ol><h3>The Reality Check</h3><p>Let’s be honest: OHMAR will probably lose money.</p><p>The crypto market is brutal. Autonomous trading is hard. AI decision-making is unpredictable.</p><p>But that’s not the point.</p><p>The point is:</p><ul><li>Can we build it?</li><li>Can we make it interesting?</li><li>Can we learn from it?</li><li>Can we push AI agents forward?</li></ul><p>If OHMAR loses 1 BNB but helps 100 people understand AI agents better, that’s a win.</p><h3>Follow Along</h3><p>I’m documenting everything:</p><ul><li>The code on GitHub coming soon</li><li>The trades on Twitter @Ohmarwtf</li><li>The lessons on Medium</li><li>The wallet on BscScan, will be public</li></ul><p>Want to follow the journey?</p><p>Twitter: <a href="https://twitter.com/Ohmarwtf">https://x.com/Ohmarwtf</a><br> GitHub: Coming soon<br> Wallet: After launch</p><h3>Final Thoughts</h3><p>Building OHMAR has been:</p><ul><li>Frustrating — why won’t you stop using emojis</li><li>Educational — learned so much about LLMs</li><li>Exciting — autonomous agents are the future</li><li>Humbling — AI is harder than it looks</li></ul><p>And we’re just getting started.</p><p>The tweet bot works. The personality is emerging. The memory is solid. The testing revealed what works and what doesn’t.</p><p>Now comes the hard part: making it trade.</p><p>Will it work? Will it fail spectacularly? Will it accidentally become profitable?</p><p>I have no idea.</p><p>But I’m going to build it in public and find out.</p><p>Thanks for reading. Now back to fighting with LLMs.</p><p>Want more updates? Follow OHMAR on Twitter @Ohmarwtf where I’m building this AI agent in public.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b99a3ab38e2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>