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

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
博客园 - 叶小钗
爱范儿
爱范儿
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
T
Tailwind CSS Blog
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell

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
Software with a Brain: Inside Agent-Based Intelligent Sys...
Kashaf Abdul · 2026-05-02 · via DEV Community

What is an Agent Based Intelligent System?

"Agent Based Intelligent Systems are computer systems where autonomous software programs (agents) work together to solve complex problems by sensing their environment, making decisions, and taking actions."

Real Life Analogy 🌟

Think of it like a restaurant kitchen:

  • Each chef (agent) works independently
  • They sense orders (environment)
  • Communicate with each other
  • Coordinate to prepare meals
  • Adapt when problems arise

Part 2: Core Concepts with Examples

1. What is an Agent?

Definition: An agent is a computer program that can perceive its environment through sensors and act upon that environment through actuators.

Key Properties of Agents:

  • Autonomy: Operates without human intervention
  • Reactivity: Responds to environment changes
  • Proactiveness: Takes initiative to achieve goals
  • Social ability: Communicates with other agents

2. Environment Types Explained

A. Fully Observable vs Partially Observable

Fully Observable (Agent sees everything):

  • Chess Game: All pieces visible
  • TicTacToe: Complete board visible
  • Calculator: All inputs visible

Partially Observable (Agent has limited info):

  • Poker Game: Can't see opponent's cards
  • Self-Driving Car: Can't see around corners
  • Stock Market: Don't know others' strategies

Blog Tip: Most real-world problems are partially observable, making them perfect for agent-based solutions.


B. Deterministic vs Stochastic

Deterministic (Predictable outcomes):

  • Calculator: 2+2 always = 4
  • Vending Machine: Insert money → get snack
  • Traffic Light: Red → Stop, Green → Go

Stochastic (Random/Uncertain outcomes):

  • Weather Prediction: 70% chance of rain
  • Dice Roll: Random number 1-6
  • Stock Market: Can't predict exactly

C. Static vs Dynamic

Static (Environment doesn't change):

  • Crossword Puzzle: Same until solved
  • Sudoku: Numbers stay fixed
  • Written Exam: Questions don't change

Dynamic (Environment constantly changes):

  • Traffic System: Cars keep moving
  • Live Sports: Game situations change
  • Social Media Feed: New posts appear

D. Discrete vs Continuous

Discrete (Limited states):

  • Chess: 64 squares, finite positions
  • ON/OFF Switch: Only 2 states
  • ATM Menu: Limited options

Continuous (Infinite states):

  • Drone Flight: Infinite positions
  • Car Speed: 0 to 200+ km/h
  • Room Temperature: Any value possible

3. The PEAS Model (Agent Design Framework)

PEAS = Performance, Environment, Actuators, Sensors

Example 1: Amazon Delivery Drone

  • Performance: Deliver package in under 30 min
  • Environment: Airspace, weather, obstacles
  • Actuators: Propellers, camera, gripper
  • Sensors: GPS, camera, wind sensor

Example 2: ChatGPT

  • Performance: Provide accurate, helpful responses
  • Environment: User conversation context
  • Actuators: Text generation, API calls
  • Sensors: User input text, history

Example 3: Tesla Self-Driving Car

  • Performance: Safe navigation, no accidents
  • Environment: Roads, traffic, pedestrians
  • Actuators: Steering, brakes, accelerator
  • Sensors: Cameras, radar, LiDAR

Part 3: Types of Agents (Detailed with Examples)

1. Simple Reflex Agents

"Act based on current situation only"

IF [condition] THEN [action]

Examples:

  • Roomba Vacuum: "If dirt detected → clean"
  • Smoke Detector: "If smoke → alarm"
  • Basic Traffic Light: "If timer expired → change"

Code Example:

class SimpleReflexAgent:
    def act(self, sensor_input):
        if sensor_input == "dirt":
            return "clean"
        elif sensor_input == "wall":
            return "turn"
        else:
            return "move_forward"

Enter fullscreen mode Exit fullscreen mode

Limitation: No memory, no learning


2. Model Based Agents

"Keep track of the world state"

Examples:

  • GPS Navigation: Remembers your route history
  • Smart Home System: Knows when you usually return
  • Game AI: Remembers your past moves

Real Scenario:

Your smart thermostat:

  • Remembers you come home at 6 PM
  • Knows outside temperature
  • Adjusts accordingly
  • Learns your preferences

3. Goal Based Agents

"Achieve specific objectives"

Examples:

  • Delivery Robot: Goal = deliver package
  • Chess AI: Goal = checkmate opponent
  • Trading Bot: Goal = maximize profit

How It Works:

Goal: Reach Destination in 30 mins

Options:

  1. Highway → 25 mins ✓ Achieves goal
  2. Local road → 40 mins ✗ Fails goal
  3. Shortcut → 20 mins ✓ Achieves goal

Agent picks best option for goal achievement


4. Utility Based Agents

"Maximize happiness/satisfaction"

Examples:

  • Google Maps: Shows fastest AND fuel efficient route
  • Amazon: Suggests products you'll likely buy
  • Netflix: Recommends shows you'll enjoy most

Utility Calculation:

Route Options:
├── Route A: 20 mins, ₹50 fuel (Utility = 80/100)
├── Route B: 15 mins, ₹100 fuel (Utility = 75/100)
└── Route C: 25 mins, ₹30 fuel (Utility = 90/100) ✓ BEST

Agent picks highest utility = Route C

Enter fullscreen mode Exit fullscreen mode


5. Learning Agents

"Improve from experience"

Examples:

  • ChatGPT: Gets better with more conversations
  • Spotify: Learns your music taste
  • AlphaGo: Learns from millions of games

Learning Process:

  1. Try action → Get result
  2. Remember outcome
  3. Adjust strategy
  4. Try again
  5. Improve over time

Part 4: Multi-Agent Systems (MAS)

What is MAS?

"Multiple agents working together or competing to solve complex problems"

Real-World MAS Examples:

1. Uber/Ola System

├── Rider Agent → Wants cheap ride
├── Driver Agent → Wants high fare
├── System Agent → Matches both
└── Payment Agent → Handles transaction

Enter fullscreen mode Exit fullscreen mode

2. Amazon Warehouse

├── Picking Robots → Get products
├── Packing Robots → Package items
├── Labeling Robots → Print labels
└── Shipping Robots → Load trucks

Enter fullscreen mode Exit fullscreen mode

3. Smart City Traffic

├── Traffic Light Agent 1 → Main Street
├── Traffic Light Agent 2 → Side Street
├── Emergency Agent → Ambulance priority
└── Monitoring Agent → Oversee everything

Enter fullscreen mode Exit fullscreen mode


Agent Communication

How Agents Talk:

Message Types:

  1. INFORM → "Temperature is 30°C"
  2. REQUEST → "Please move left"
  3. QUERY → "What's your position?"
  4. AGREE → "Okay, moving left"
  5. REFUSE → "Can't move, blocked"

Communication Protocol Example (FIPA-ACL):

<message>
  <sender>traffic_light_1</sender>
  <receiver>traffic_light_2</receiver>
  <performative>inform</performative>
  <content>heavy_traffic_detected</content>
</message>

Enter fullscreen mode Exit fullscreen mode


Coordination Mechanisms

1. Cooperation (Working Together)

Swarm Robots Cleaning:

├── Robot 1: Cleans left side
├── Robot 2: Cleans right side
├── Robot 3: Empties dust bins
└── All share map information

Enter fullscreen mode Exit fullscreen mode

2. Competition (Rivalry)

E-commerce Bidding:

├── Buyer Agent 1: Bid ₹1000
├── Buyer Agent 2: Bid ₹1500
├── Seller Agent: Wants highest price
└── Auctioneer Agent: Manages bids

Enter fullscreen mode Exit fullscreen mode

3. Negotiation (Reaching Agreement)

Salary Negotiation Bot:

├── Employee Agent: Wants ₹80,000
├── Company Agent: Offers ₹60,000
├── HR Agent: Suggests ₹70,000
└── Both agree on ₹70,000

Enter fullscreen mode Exit fullscreen mode


The Future: Where Are We Headed?

Next 5 Years

├── 🤖 Personal AI Agents
│   Your own digital twin managing your life
│
├── 🏘️ Smart Cities
│   Thousands of agents coordinating traffic,
│   energy, waste, and emergencies
│
├── 🧬 Healthcare Swarms
│   Nano-agents monitoring your body,
│   detecting diseases early
│
├── 💼 Autonomous Companies
│   Businesses run entirely by agent
│   negotiations and transactions

Enter fullscreen mode Exit fullscreen mode

Next 10 Years

├── 🌐 Global Agent Internet
│   Agents from different systems,
│   countries, and companies talking globally
│
├── 🧠 Human-Agent Teams
│   Humans and AI agents working as equals
│
├── 🪐 Space Exploration
│   Agent swarms exploring Mars and beyond

Enter fullscreen mode Exit fullscreen mode


Conclusion

Agent-Based Intelligent Systems are how we'll build the intelligent, automated, and adaptive world of tomorrow by creating software that thinks, works, and collaborates like living organisms.

Whether it's your Roomba vacuum, Google Maps, or self-driving cars – agents are already everywhere. And they're only getting smarter.


Written by Kashaf Abdullah

Software Engineer | MERN Stack | Web Development