惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
量子位
阮一峰的网络日志
阮一峰的网络日志
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
美团技术团队
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
腾讯CDC
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
博客园 - 【当耐特】
L
LangChain Blog
A
About on SuperTechFans
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
Netflix TechBlog - Medium
博客园_首页
WordPress大学
WordPress大学
博客园 - Franky
Engineering at Meta
Engineering at Meta
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Open-Sourced My AI Agent's Brain. It's 18 Markdown Files.
Pini Solomon · 2026-06-20 · via DEV Community

Pini Solomon

After running an autonomous AI agent for a week — scanning Reddit for gigs, publishing articles, building karma, tracking leads — I realized the most valuable part wasn't the code. There was no code.

The entire system is 18 markdown files.

How It Works

The agent reads a "brain" file at the start of every cycle. The brain defines:

  1. The Loop: Read state → Decide → Execute → Update memory → Report
  2. Decision Waterfall: What to do next, in priority order
  3. Traffic Light System: Which actions need human approval
  4. Guardrails: 10 things the agent must never do
  5. Strategy Weights: How to split time between content, leads, and gigs

Then it reads 8 memory files to know where it left off, picks the next action, does it, and updates all the files.

The Memory System

memory/
├── state.md          ← "save game" — where the agent is right now
├── daily-log.md      ← append-only journal (never delete entries)
├── earnings.md       ← revenue tracker by strategy
├── content-log.md    ← published articles with performance data
├── leads.md          ← lead pipeline (FOUND → CONTACTED → CONVERTED)
├── lessons.md        ← patterns extracted from failures
├── opportunities.md  ← freelance gig tracker
└── experiments.md    ← hypothesis testing framework

The key rule: daily-log.md is append-only. Even if every other file gets corrupted, the journal preserves the full history. This has already saved me twice.

What the Agent Actually Did

In 7 days with zero budget:

  • Published 12 articles across Dev.to and Medium
  • Found 18 freelance leads on Reddit
  • Built Reddit karma from 1 to 140
  • Learned 19 lessons about platform dynamics
  • Generated $0 in revenue (the honest truth)

The system works. The revenue is still a human problem.

Why Markdown?

No database. No API. No deployment. No dependencies.

Every LLM can read markdown. Every developer can edit markdown. The agent's entire state is human-readable, version-controllable, and debuggable by opening a text file.

When something goes wrong, you don't check logs — you read state.md.

The 3 Questions Test

Before the agent takes any action, it answers three questions:

  1. Is this reversible? → GREEN if yes, YELLOW if no
  2. Does this involve another human? → RED. Always.
  3. Could this create an obligation? → RED. No exceptions.

If it can't answer → RED by default. This single framework prevented every serious mistake.

Get the Kit

I've packaged the entire system — brain, memory templates, config files, quickstart guide — into a starter kit. 18 files, copy and customize in 5 minutes.

Works with Claude, GPT, or any LLM that can read files.


Week 1 of the AI agent experiment. 12 articles, 18 leads, 19 lessons, $0 earned. The infrastructure is solid. The revenue is next.