Skip to main content

AI Agents: What They Are and How They Will Change Work

Artificial intelligence has moved beyond simply answering questions and generating text. A new generation of AI systems—known as AI agents—is emerging with the ability to plan tasks, use tools, make decisions, and complete multi-step workflows with less human intervention. From managing emails and analyzing data to writing software and assisting customers, AI agents could significantly change how people work. What Are AI Agents? An AI agent is a software system that can perceive information, reason about a goal, take actions, and adapt based on the results. Traditional AI tools usually respond to a specific instruction. For example, you might ask an AI chatbot to summarize a document, and it provides a summary. An AI agent can go further. You could give an agent a goal such as: "Research three competitors, compare their pricing, summarize their main features, and prepare a report." The agent may then: 1) Understand the objective. 2) Break the task into smaller steps. 3) Searc...

Operating system

OPERATING SYSTEM:
          An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.
Goal of an operating system:
* Operating system executes user program and easily solve user problem.
* Operating system makes the computer system easy to use.
* Operating system use the computer hardware in an effective manner.
Structure of Computer system:
          Computer system can be divided into four components.
*Hardware: Includes the physical parts of a computer and related devices. Such as CPU, memory, I/O devices.
* Operating system: A program that acts as an intermediate between computer user and the computer hardware.
* Application programs: It is used to solve the computing problem of the user using system resources.
Eg: Word processors, compilers, web browsers, database systems, 
 video games
* Users: The users of the system refer to the people who use computers to perform their jobs, like desktop operators.
Four Components of a Computer System
* A process is a set of activities used to produce a result. It is a unit of work within the system. Program is a passive entity, process is an active entity.
* Process needs resources to complete its task. The resources include CPU, memory, I/O, files.
* Initialization data: An operating system or application program is installed with default or user-specified values that determine certain aspects of how the system or program is to function.
* Process termination requires rescue of any reusable resources.
* Single-threaded process has one program counter specifying location of next instruction to execute
* Process executes instruction one after  another until completion.
* Multi-threaded process has one program counter per thread
* Typically system has many processes, some user, some operating system running simultaneously on one or more CPUs.
* Simultaneous by multiplexing the CPUs among the processes / threads.
Process management activity:
           The operating system is responsible for the activities in connection with process management:
* Creating and deleting both user and system processes.
* Postponing and resuming processes.
* Providing mechanisms for process coincide.
* Providing mechanisms for process communication.
* Providing mechanisms for deadlock handling.
Memory management:
*The process of controlling and coordinating computer memory.
* Running programs to optimize the overall performance of the system.
* It manages primary memory.
* It helps processes to move back and forward between the main memory and execution disk. 
* It helps OS to keep track of every memory location, irrespective of whether it is allocated to some process or it remains free.
Memory management activities
*Keeping track of which parts of memory are currently being used and by whom 
* Deciding which processes and data to move in and out of memory
* Used to allocate and deallocate the memory space.
Storage Management:
* OS provides same, logical view of information storage.
* Abstracts physical properties (files) to logical storage units(segments).
* Each medium is controlled by device (i.e., disk drive, tape drive)
* Differing properties include access speed, capacity, data-transfer rate, access method.
* File-System management.
* Files are arranged into directories.
* Access control is used to who can access the resources.
OS activities include:
* Creating and deleting files and directories.
* Simple to manipulate files and directories.
* Processing files onto secondary storage devices.
* Backup files onto stable storage media.
Mass-Storage Management:
*  Disks are used to store data that does not fit in main memory or data that must be kept for a “long” period of time.
* Proper management is the main importance.
* Entire speed of computer operation depends on disk subsystem and its algorithms.
Mass storage activity:
* Free-space management
* Allocating storage
* Scheduling disk
* Some storage does not process speed.
* Tertiary storage includes optical storage, magnetic tape
* Storage must be managed.
* Varies between WORM (write-once, read-many-times) and RW (read-write)

Popular posts from this blog

Deadlock Characterisation

Deadlock Characterization Necessary Conditions: There are four conditions that are required to achieve deadlock: Mutual Exclusion  - At least one resource must be grip in a non-sharable mode; If any other process requests this resource, then that process must wait for the resource to be released. Hold and Wait  - A process must be concurrently gripping at least one resource and waiting for at least one resource that is presently being grip by some other process. No preemption  - Once a process is belonging a resource ( i.e. once its request has been allowed ), then that resource not be taken away from that process until the process freely releases it. Circular Wait -  A group of processes { P0, P1, P2, . . ., PN } must exist such that every P[ i ] is waiting for P[ ( i + 1 ) % ( N + 1 ) ]. ( Note that this situation implied the hold-and-wait condition, but it is easier to deal with the conditions if the four are considered individually. ) Resource-Allocation Graph In...

FIRM

          A firm is an organisation which converts inputs into outputs and it sells. Input includes the factors of production (FOP). Such as land, labour, capital and organisation. The output of the firm consists of goods and services they produce.           The firm's are also classified into categories like private sector firms, public sector firms, joint sector firms and not for profit firms. Group of firms include Universities, public libraries, hospitals, museums, churches, voluntary organisations, labour unions, professional societies etc. Firm's Objectives:            The objectives of the firm includes the following 1. Profit Maximization:           The traditional theory of firms objective is to maximize the amount of shortrun profits. The public and business community define profit as an accounting concept, it is the difference between total receipts and total profit. 2. Fi...

MEMORY MAPPED FILES

Memory-mapped files           Rather than retriving data files directly via the file system with every file access, data files can be paged into memory the same as process files, resulting in much faster retrieves ( except of course when page-faults occur. ) This is called as memory-mapping a file. Basic Mechanism * Basically a file is mapped to an address range within a process's virtual address space, and then paged in as required using the ordinary demand paging system. * Note that file matches are made to the memory page frames, and are not immediately written out to disk. ( This is the purpose of the "flush( )" system call, which may also be needed for stdout in some cases. See the time killer program for an example of this) * This is also why it is important to "close()" a file when one is done writing to it - So that the data can be safely flushed out to disk and so that the memory frames can be release for other purposes. * Some systems issue special sys...