🚀 گوگل یک PDF نهصفحهای درباره Harness Engineering منتشر کرده؛ مفهومی که به نظرم باید هر کسی که با AI Agent کار میکند، جدی بگیرد.
فرمول اصلی ساده است:
Agent = Model + Harness
یعنی مدل هوش مصنوعی بهتنهایی ایجنت نیست. چیزی که آن را به یک نیروی اجرایی قابلاعتماد تبدیل میکند، زیرساختی است که دور آن میسازیم.
اما این زیرساخت از چه چیزهایی تشکیل میشود؟
۱. Guides: قوانین و دستورالعملهایی که تجربه شکستهای قبلی را به دانش دائمی تبدیل میکنند.
۲. Sensors: تستها، Linterها و ابزارهای اعتبارسنجی که اجازه نمیدهند هر خروجی اشتباهی به مرحله بعد برود.
۳. Agentic Loop: چرخه برنامهریزی، اجرا، بررسی و اصلاح؛ با محدودیت بودجه و امکان ارجاع به انسان.
۴. External Memory: حافظهای خارج از مدل برای حفظ تصمیمها، وضعیت پروژه و دستاوردهای جلسات قبلی.
۵. Permissions: کنترل دسترسی ایجنت به ابزارها و تعیین مرز استقلال آن.
۶. Observability: ثبت و پایش تمام فعالیتها، هزینهها، خطاها و تلاشهای مجدد.
اما داستان اینجا تمام نمیشود!
چند پروژه متنباز برای ورود عملی به این حوزه:
🔹 Google Harness²
https://t.co/DrQfFijj6q
🔹 Learn Harness Engineering
https://t.co/Z4OF17F6Ka
🔹 Awesome Agent Harness
https://t.co/hI6WSGS4vn
🔹 Harness Engineering
https://t.co/86n27omyXE
و حالا یک مفهوم جذابتر:
Graph Engineering
تصور کن چند ایجنت مستقل داشته باشی که هرکدام Harness مخصوص خودشان را دارند.
یکی تحقیق میکند، دیگری تحلیل میکند، سومی کدنویسی میکند و چهارمی خروجی را اعتبارسنجی میکند.
حالا اگر یکی شکست بخورد، شکستش میتواند به سیگنالی برای اصلاح عملکرد بقیه تبدیل شود.
اینجا دیگر با یک چتبات یا ایجنت ساده طرف نیستیم؛ با یک سیستم اجرایی چندایجنتی روبهرو هستیم.
یک نکته که نباید فراموش کنیم:
Hermes را میتوان بهعنوان محیط اجرای ایجنت در نظر گرفت؛ جایی که ابزارها، مهارتها، حافظه و گردشکارها کنار هم قرار میگیرند.
Harness Engineering کمک میکند این محیط را قابلکنترل، قابلاندازهگیری و قابلاعتماد کنیم.
به نظرم آینده متعلق به کسانی نیست که صرفاً مدل قویتری انتخاب میکنند؛ بلکه متعلق به کسانی است که سیستم بهتری دور مدل میسازند.
مدل، مغز است؛ Harness، سیستم اجرایی؛ و Graph، شبکه همکاری مغزهاست.
The anatomy of an AI agent, explained simply:
1. Perception: Receives input from users, APIs, files, or sensors.
Example: You ask an agent to summarize your emails.
2. Reasoning: The LLM understands the request and decides what to do next.
3. Planning: Breaks a complex task into smaller steps.
Example: Find emails → identify important ones → summarize them.
4. Memory: Stores conversation context and retrieves relevant past information.
5. Tool execution: Uses APIs, MCP, databases, browsers, or code to perform actions.
6. Guardrails: Controls permissions, checks risky actions, and requests human approval when needed.
7. Observability: Tracks logs, errors, latency, and costs so developers can debug the agent.
How it works:
Input → Reason → Plan → Use tools → Check results → Repeat until the task is complete.
An AI agent isn't just an LLM. It's a system that combines models, tools, memory, and control mechanisms to get things done.
NotebookLM es una de las herramientas más subestimadas de IA
Os propongo como enfrentarse a un nuevo tema con Notebook LM con el objetivo de aprender (su uso más frecuente), pero sobretodo con el objetivo de pasar a la acción
Modern QA engineering is about more than finding bugs after software is built.
In this guide, @gaya3bollineni explains how QA engineers help build quality into the entire development lifecycle.
You'll learn about requirements analysis, API and database testing, automation, exploratory testing, CI/CD, and the key skills QA engineers need.
https://t.co/34kGpbLT1Z
How Java's ClassLoader Loads Classes Dynamically
You write Java code and reference classes in your application or external libraries without manually loading their machine code into memory.
The Java Virtual Machine (JVM) uses the ClassLoader subsystem to locate, load, verify, and initialize classes only when they are first needed.
The JVM follows a parent delegation model, where the Bootstrap ClassLoader, Platform ClassLoader, and Application ClassLoader work together to find the requested class.
At runtime:
→ When your application references a class for the first time, the JVM asks the appropriate ClassLoader to locate the corresponding ".class" file.
→ The ClassLoader reads the bytecode from the file system, JAR files, network locations, or other custom sources.
→ The JVM verifies the bytecode to ensure it is valid, secure, and does not violate Java's safety rules.
→ The class is linked by allocating memory for static fields, resolving symbolic references, and preparing it for execution.
→ Finally, the JVM initializes the class by executing static initializers and assigning values to static variables before the class is used.
The result: Java loads classes on demand, reduces startup time and memory usage, supports modular applications, enables dynamic plugin systems, and allows applications to load classes from multiple sources while maintaining security through the ClassLoader hierarchy.
👉 Want to go deeper? Check out this Java ebook:
https://t.co/STSI0ZDYpa
CLI tools are becoming agentic: developers define goals, and AI agents plan, use tools, iterate, request approval when needed, and execute tasks.
This #InfoQ article compares the planning approaches used by:
➢ Gemini CLI
➢ Claude Code
➢ Auto-GPT
🔗 https://t.co/vHMOTnPTlR
¡Esto es oro! 4 Cursos gratuitos de Ciberseguridad:
✓ Introducción y Fundamentos
✓ Seguridad de la red
✓ Ataques y defensa en la nube
✓ Centro de operaciones (SOC)
De la reputada firma PaloAlto Networks
→ https://t.co/9wpZSdxBP1
Prompting isn’t just asking the AI a question. It’s a deliberate, engineered input design process, and a critical skill when working with Large Language Models (LLMs).
Let's breakdown the prompting techniques.
✅ 1. Core Prompting Techniques
▪ Zero-shot - No examples provided. Just the task.
▪ One-shot - One example shown before the task.
▪ Few-shot - A handful of examples used to teach patterns.
🧠 2. Reasoning-Enhancing Techniques
▪ Chain-of-Thought (CoT) - Encourage step-by-step reasoning.
▪ Self-Consistency - Sample multiple CoTs; choose the best.
▪ Tree-of-Thought (ToT) - Explore multiple reasoning paths (advanced).
▪ ReAct - Combine reasoning steps with action/tool use (e.g., API calls).
🧾 3. Instruction and Role-Based Prompting
▪ Instruction prompting - Clear directives (“Summarize this…”).
▪ System / Role prompting - Define persona or behavior (“You are a legal assistant”).
▪ Hybrid (Instruction + Examples) - Combine clarity with few-shot grounding.
⚙️ 4. Prompt Composition Techniques
▪ Prompt chaining - Use one prompt’s output in the next.
▪ Dynamic prompting - Inject real-time variables or context.
▪ Meta prompting - Ask the model to improve or verify its own response.
🖼️ 5. Multimodal Prompting
▪ Image + text - Provide both visual and textual context.
▪ Audio/Video + text - Use transcripts or sensory input (model-dependent, e.g., GPT-4o, Gemini 1.5).
🧑⚕️ 6. Domain-Specific Prompting
▪ Code prompting - Constrained, tool-specific inputs (e.g., Python, SQL).
▪ Medical / Legal prompting - High-precision language with strict format and accuracy needs.
🧪 7. Prompt Evaluation & Debugging
(Not prompting techniques, but crucial tools.)
▪ Prompt ablation - Remove elements to test contribution.
▪ Injection testing - Evaluate prompt robustness in apps or agents.
❌ What’s Not a Prompting Technique
▪ RAG: A retrieval + generation architecture. Prompts are used inside it.
▪ Agents / Tool-use systems - Orchestration frameworks (e.g., LangGraph, AutoGPT). Prompting is one component, not the technique itself.
🔧 Prompting is no longer “just prompt engineering.” It’s system design.
If you're working with LLMs, know these cold.
Follow @techNmak for your daily dose of learning.
𝗛𝗼𝘄 𝘁𝗼 𝗗𝗲𝘀𝗶𝗴𝗻 𝗮 𝗣𝗮𝘆𝗺𝗲𝗻𝘁 𝗣𝗿𝗼𝗰𝗲𝘀𝘀𝗶𝗻𝗴 𝗦𝘆𝘀𝘁𝗲𝗺 (𝗦𝘁𝗿𝗶𝗽𝗲)
Design a 𝗵𝗶𝗴𝗵𝗹𝘆 𝘀𝗲𝗰𝘂𝗿𝗲, 𝗿𝗲𝗹𝗶𝗮𝗯𝗹𝗲, 𝗮𝗻𝗱 𝗿𝗲𝗴𝘂𝗹𝗮𝘁𝗲𝗱 𝘀𝘆𝘀𝘁𝗲𝗺 that can authorize, process, and settle financial transactions between merchants, customers, banks, and card networks with strong consistency, fraud detection, and near-perfect uptime.
The system operates on a 𝗱𝗲𝗰𝗼𝘂𝗽𝗹𝗲𝗱, 𝗲𝘃𝗲𝗻𝘁-𝗱𝗿𝗶𝘃𝗲𝗻 𝗺𝗶𝗰𝗿𝗼𝘀𝗲𝗿𝘃𝗶𝗰𝗲𝘀 𝗮𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲. Core flows,payment intents, card tokenization, fraud scoring, bank settlement,are handled by isolated services. This allows each part to scale independently and contain failures, crucial for financial systems.
When a customer submits payment, the flow is split into two critical phases orchestrated by a Payment Orchestrator. First, the 𝗔𝘂𝘁𝗵𝗼𝗿𝗶𝘇𝗮𝘁𝗶𝗼𝗻 phase: the system tokenizes sensitive card data, routes the request to the correct bank or card network via a Payment Gateway, and reserves funds. Second, the 𝗖𝗮𝗽𝘁𝘂𝗿𝗲 & 𝗦𝗲𝘁𝘁𝗹𝗲𝗺𝗲𝗻𝘁 phase (which can be hours or days later): the merchant finalizes the charge, funds are moved, and records are reconciled across all parties.
The platform's core consists of 𝗵𝗶𝗴𝗵𝗹𝘆 𝘀𝗽𝗲𝗰𝗶𝗮𝗹𝗶𝘇𝗲𝗱 𝘀𝗲𝗿𝘃𝗶𝗰𝗲𝘀:
. Payment Orchestrator: Manages the state machine of a transaction from start to finish.
. Vault Service: Securely stores and tokenizes sensitive payment data (PCI-DSS compliant).
. Fraud Engine: Scores transactions in real-time using machine learning rules.
. Routing & Gateway Service: Intelligently routes payments to acquiring banks & networks for optimal success rates and cost.
. Payouts & Reconciliation Service: Manages batched transfers to merchant bank accounts and matches internal records with bank settlements.
Behind the scenes, a 𝗱𝘂𝗮𝗹-𝘄𝗿𝗶𝘁𝗲, 𝗮𝘂𝗱𝗶𝘁-𝗿𝗲𝗮𝗱𝘆 𝗱𝗮𝘁𝗮 𝗽𝗮𝘁𝘁𝗲𝗿𝗻 is essential. Every state change in a transaction is written as an immutable event to a ledger (like Apache Kafka). This event stream is the source of truth for idempotent retries, audit logs, real-time analytics, and triggering downstream processes like invoicing or reporting.
This domain demands 𝗳𝗼𝗿𝘁𝗿𝗲𝘀𝘀-𝗹𝗲𝘃𝗲𝗹 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆. All services are hardened, communication is encrypted (TLS), and access is controlled via strict IAM policies. A Idempotency Service ensures that retried API calls due to network timeouts don't result in duplicate charges.
𝗖𝗿𝗶𝘁𝗶𝗰𝗮𝗹 𝗗𝗲𝘀𝗶𝗴𝗻 𝗣𝗿𝗶𝗻𝗰𝗶𝗽𝗹𝗲𝘀: 𝟭) 𝗦𝘁𝗿𝗼𝗻𝗴 𝗖𝗼𝗻𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝘆 & 𝗔𝘁𝗼𝗺𝗶𝗰𝗶𝘁𝘆 for financial data, 𝟮) 𝗜𝗱𝗲𝗺𝗽𝗼𝘁𝗲𝗻𝗰𝘆 𝗯𝘆 𝗗𝗲𝘀𝗶𝗴𝗻 to prevent duplicate processing, 𝟯) 𝗜𝗺𝗺𝘂𝘁𝗮𝗯𝗹𝗲 𝗧𝗿𝗮𝗻𝘀𝗮𝗰𝘁𝗶𝗼𝗻 𝗟𝗲𝗱𝗴𝗲𝗿 for auditing, 𝟰) 𝗗𝗲𝗰𝗼𝘂𝗽𝗹𝗲𝗱 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 to isolate failures and ensure uptime.
𝗧𝗲𝗰𝗵𝗻𝗶𝗰𝗮𝗹 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 𝗦𝘁𝗮𝗰𝗸:
. 𝗔𝗣𝗜 𝗟𝗮𝘆𝗲𝗿: REST, GraphQL, official client libraries
. 𝗕𝗮𝗰𝗸𝗲𝗻𝗱 𝗦𝗲𝗿𝘃𝗶𝗰𝗲𝘀: Ruby on Rails, Java, Go, Scala
. 𝗗𝗮𝘁𝗮𝗯𝗮𝘀𝗲𝘀: PostgreSQL (for transactions), distributed KV stores (for metadata)
. 𝗠𝗲𝘀𝘀𝗮𝗴𝗶𝗻𝗴 & 𝗦𝘁𝗿𝗲𝗮𝗺𝘀: Apache Kafka, RabbitMQ
. 𝗖𝗮𝗰𝗵𝗲: Redis, Memcached
. 𝗙𝗿𝗮𝘂𝗱 𝗗𝗲𝘁𝗲𝗰𝘁𝗶𝗼𝗻/𝗠𝗟: Python, TensorFlow, proprietary rule engines
. 𝗜𝗻𝗳𝗿𝗮𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲: AWS, Google Cloud, Kubernetes, Docker
. 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆: Hardware Security Modules (HSMs), PCI-DSS compliant vaults
👉 Learn more in the System Design Handbook: https://t.co/aE1KNO7yX5
👉 Grab the System Design Case Studies Handbook: https://t.co/hccIPge4WF