# Role i tożsamość agentów

EN: **Agent roles and identity** · id `agentroles`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Aplikacje LLM i agenci](https://aiatlasgraph.com/t/applications.md) › [Agenci i orkiestracja](https://aiatlasgraph.com/t/agentsnode.md) › Role i tożsamość agentów

## Description

- PL: Agent z nazwą, zakresem i stałą instrukcją zamiast anonimowej sesji.
- EN: A named agent with a scope and standing instructions instead of an anonymous session.

## In one sentence

- PL: To określenie, za co odpowiada asystent i jakich zasad ma się trzymać.
- EN: This defines an assistant's responsibilities and the rules it is asked to follow.

## Problem it solves

- PL: Za każdym razem musisz od nowa tłumaczyć asystentowi jego zadanie i reguły pracy.
- EN: You have to explain the assistant's job and working rules again every time you start.

## What it does

- PL: Stała instrukcja działa jak zakres obowiązków: opisuje cel, granice zadania i sposób reagowania na prośby wykraczające poza rolę.
- EN: Standing instructions act like a job description, setting a goal, boundaries and how to respond to requests outside that role.

## Everyday example

- PL: Firmowy asystent sprawdza wydatki według zapisanych zasad i zwraca wątpliwe pozycje do wyjaśnienia.
- EN: A workplace assistant checks expenses against written rules and flags unclear entries for someone to explain.

## This concerns you if you…

- PL: regularnie zlecasz asystentowi ten sam rodzaj pracy
- PL: chcesz ustalić, kiedy asystent powinien przekazać sprawę dalej
- EN: regularly give an assistant the same kind of work
- EN: want to define when an assistant should hand a task over

## Keywords

role instructions · system prompts · AGENTS.md · persistent identity · least privilege · permission scopes

## How it works

- PL: Konfiguracja agenta wiąże identyfikator z instrukcją roli, zakresem zadań i dostępnymi narzędziami. Kolejne uruchomienia odczytują tę konfigurację i odpowiednią pamięć, zamiast zaczynać od anonimowego kontekstu.
- EN: Agent configuration binds an identifier to role instructions, task scope and available tools. Subsequent runs load that configuration and the relevant memory instead of starting from anonymous context.

## Limits

- PL: Instrukcja roli nie jest granicą bezpieczeństwa ani gwarancją specjalizacji. Uprawnienia trzeba egzekwować w kodzie, a zmiany konfiguracji wersjonować, żeby uniknąć rozbieżnych zachowań między uruchomieniami.
- EN: Role instructions are neither a security boundary nor a specialization guarantee. Permissions must be enforced in code, and configuration changes versioned to avoid inconsistent behavior across runs.

## Key terms

- PL: **instrukcja roli**: Stały opis celu, zakresu i sposobu pracy agenta.
- PL: **tożsamość agenta**: Identyfikator łączący uruchomienia z konfiguracją i pamięcią.
- PL: **zakres uprawnień**: Operacje i dane dostępne agentowi według reguł systemu.
- EN: **role instruction**: A persistent description of an agent's purpose, scope and working method.
- EN: **agent identity**: An identifier linking runs to configuration and memory.
- EN: **permission scope**: Operations and data available to an agent under system rules.

## Know first

- [Prompty i kontekst (Prompting and context engineering)](https://aiatlasgraph.com/t/prompting.md)
- [Bezpieczeństwo agentów: uprawnienia i izolacja (AI agent security)](https://aiatlasgraph.com/t/agentsecurity.md)

## Examples

- PL: plik roli · zakres · twarde zasady
- EN: role file · scope · hard rules

## Related topics

Untyped, symmetric "see also" links.

- [Budowa polecenia: instrukcje, rola i znaczniki (Prompt structure: instructions, roles and delimiters)](https://aiatlasgraph.com/t/promptstructure.md)
- [Programowanie od specyfikacji (Spec-driven development with coding agents)](https://aiatlasgraph.com/t/specdriven.md)
- [Prompty i kontekst (Prompting and context engineering)](https://aiatlasgraph.com/t/prompting.md)

## Sources

- How to build your first team of agents `machina-x-agents` · X article · sponsored (Raft) · by Machina (X): Original link not found; file saved by the user. Structure only — no statistics, no product claims.

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/agentroles · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
