Prompting & AI Interaction

Field notes from building with LLMs — prompting, agents, evaluation, and the production plumbing around them. What works, what breaks, and the judgment calls that decide the difference.

Follow AI posts on prompting, AI interaction patterns, and getting reliable outputs from language models. Browse all follow ai in this category, or view all follow ai.

A
Prompt Engineering · AI Coding · Developer Workflow

SPARC: A Practical Checklist for AI Code Requests

A vague request leaves too much open to interpretation. SPARC — Specifics, Perspective, Architecture, Requirements, Context — treats the prompt like an engineering brief so the first draft is closer to the project.

Result: A clearer request gives a more useful first draft — easier to review, test, and integrate. AI can generate implementation options; engineers still own the specification, validation, security, and the final decision.

B
Prompt Engineering · LLMOps · Production AI

Prompt Versioning: How LLMOps Makes Prompts Reversible

A prompt in a notebook is an experiment; a prompt that drives a production workflow is a production asset. One added instruction can move extraction quality, safety behaviour, token cost and latency at the same time, and nothing crashes to tell you.

Result: Version the prompt together with its model, schema and examples, evaluate a candidate against the current version on representative and previously failed cases, release gradually, and monitor quality and cost. Prompting stops being ad hoc when changes become traceable, evaluated, and reversible.

B
AI Engineering · Developer Tools · Coding Agents

Open-Source AI Coding Agents: Which One Fits Your Workflow?

There is no single open-source coding agent that wins every situation — Goose for configurable controlled environments, Aider for terminal-first pair programming, OpenHands for task-oriented software agents, and Cline or Continue for IDE-centric workflows.

Open source does not automatically mean local, private, or free to operate. If an agent calls a hosted model API, your prompts and code context may still leave your environment — and inference and compute costs still apply.

Result: Choose based on your workflow, not a feature list. The best setup balances capability, control, cost, and reviewability.

A
LLM Engineering · Computer Vision

The prompt that classifies 500 images without training a model.

For a document-processing project, I needed to classify images into architectural plans vs. site photos.

The usual path takes weeks: collect 5000+ labeled images, train a CNN, tune hyperparameters, deploy, monitor drift.

I instead used a structured prompt and a Pydantic schema: is_plan: bool, description: str.

Each image was sent as base64, and the LLM returned validated, typed responses.

Result: The problem reached production in hours, not weeks.

ForecastingTime SeriesMachine LearningPredictive ModelingFeature EngineeringNLPLLM ApplicationsDocument AICustomer SegmentationTelecom AnalyticsAnomaly DetectionRecommendation SystemsGraph AnalyticsGeospatial AnalyticsStatistical AnalysisExperimentation & A/B TestingPythonRSQLDataikuShiny DashboardsStreamlit AppsData VisualizationProduction MLModel EvaluationDecision SystemsData AutomationBusiness Analytics