Eric J Ma's Website

« 1 2 3 »

The selfish reason to do your best work

written by Eric J. Ma on 2025-12-17 | tags: career growth work philosophy resilience reputation leadership mistakes success advice

In this post, I share a philosophy on career growth and resilience. Instead of doing the bare minimum or succumbing to frustration, I encourage you to view your work as a personal investment. By doing your best work for yourself, you build professional instincts, a strong reputation, and the character to handle both success and failure. Whether you're navigating a tough job market or rebounding from a mistake, the wealth you accumulate in skills and reputation is yours to keep forever. Ready to invest in yourself?

Read on... (1278 words, approximately 7 minutes reading time)
Productive Patterns for Agent-Assisted Programming

written by Eric J. Ma on 2025-12-10 | tags: productivity documentation testing planning automation workflow agents ai tools development

In this blog post, I share the patterns that have made my experience with coding agents much more productive, from planning with AI and writing docs/tests first, to using AGENTS.md as a knowledge base and leveraging command line tools. I also discuss pacing your agent, letting it write temporary tools, and developing your own productivity boosters. Want to know how these strategies can make your agent-assisted programming smoother and more effective?

Read on... (846 words, approximately 5 minutes reading time)
What does it take to build a statistics agent?

written by Eric J. Ma on 2025-12-02 | tags: statistics biotech reproducibility experiments research automation ai data open source bayesian

In this blog post, I share my journey building a domain-specific statistics agent to help researchers design better experiments, inspired by the challenges of limited access to statisticians in pharma and biotech. I discuss the pitfalls of "folk statistics," the importance of prompt engineering, and the lessons learned through iterative testing and refinement. Curious how an AI agent can elevate experimental design and what it takes to make it truly helpful?

Read on... (3741 words, approximately 19 minutes reading time)
How to Reference Code Across Repositories with Coding Agents

written by Eric J. Ma on 2025-11-17 | tags: automation coding agents workflows productivity ai filesystem reference workspaces shell

In this blog post, I share how coding agents like Cursor, GitHub Copilot, and Claude Code can access files across your entire file system—not just your current workspace. By simply referencing explicit file paths, you can pull code, documentation, or configs from any repository without complex workspace setups or copying files. I explain practical workflows and tips for cross-repository access, making coding and writing more seamless. Curious how this can simplify your development process and boost productivity?

Read on... (1340 words, approximately 7 minutes reading time)
How I Replaced 307 Lines of Agent Code with 4 Lines

written by Eric J. Ma on 2025-11-16 | tags: llm graphs agents automation pocketflow llamabot python workflows abstractions state

In this blog post, I share how I discovered PocketFlow, a minimalist framework for building LLM-powered programs using graph-based flows instead of complex loops. By rethinking my approach, I replaced 307 lines of agent orchestration code with just 4 lines, making my agents more modular, clear, and easy to visualize. I walk through practical examples, show how to build and visualize agent architectures, and reflect on the benefits of graph-based thinking for LLM applications. Curious how this shift can simplify your own AI projects?

Read on... (4832 words, approximately 25 minutes reading time)
Safe ways to let your coding agent work autonomously

written by Eric J. Ma on 2025-11-08 | tags: automation productivity coding agents safety workflow development prompting command line ai

In this blog post, I share practical strategies for letting coding agents work autonomously while minimizing risks, like setting intelligent boundaries for command approvals, using plan mode, and writing prescriptive prompts. I also discuss real-world lessons learned from agent mishaps and offer tips for managing multiple agents safely. Curious about how to empower your coding agents without losing control?

Read on... (1900 words, approximately 10 minutes reading time)
Use coding agents to write Marimo notebooks

written by Eric J. Ma on 2025-10-28 | tags: marimo python ai notebooks automation productivity workflow coding development data science

In this blog post, I share how combining AI coding assistants with Marimo notebooks can supercharge your Python development and data science workflows. I walk through handy features like the `--watch` flag for live updates, the `marimo check` command for code quality, and even advanced options like MCP and built-in AI editing. Curious how you can automate and speed up your notebook workflow while keeping your code clean?

Read on... (801 words, approximately 5 minutes reading time)
Exploring Skills vs MCP Servers

written by Eric J. Ma on 2025-10-20 | tags: anthropic skills token efficiency llm automation customization workflows development mcp

In this blog post, I share my first impressions of Anthropic's skills repository, comparing its token-efficient, customizable approach to the more standardized MCP server model. I break down the strengths and trade-offs of each, from creative workflows to technical utilities, and raise open questions about distribution and cross-vendor support. Curious about which approach might fit your workflow best?

Read on... (696 words, approximately 4 minutes reading time)
How to expose any documentation to any LLM agent

written by Eric J. Ma on 2025-10-19 | tags: llm documentation ai mcp workflow context search knowledge development automation

In this blog post, I share what I learned building LlamaBot: the real challenge in AI-assisted development is keeping AI agents up-to-date with evolving documentation. I explain how the Model Context Protocol (MCP) lets LLMs access dynamic, queryable knowledge bases, solving the obsolescence problem and enabling smarter, context-aware AI assistants. Curious how you can make your documentation instantly accessible to any AI agent?

Read on... (1926 words, approximately 10 minutes reading time)
A practical comparison of DSPy and LlamaBot for structured LLM applications

written by Eric J. Ma on 2025-10-18 | tags: llm dspy llamabot python frameworks extraction schema prompting expenses automation

In this blog post, I share my hands-on comparison of DSPy and LlamaBot for building structured LLM applications, using a real-world expense extraction example. I explore how each framework handles schema design, type safety, and prompt optimization, highlighting their strengths and trade-offs. Curious which approach might best fit your next LLM project?

Read on... (1111 words, approximately 6 minutes reading time)
« 1 2 3 »