encyclopegia.org

GOAL agent programming language

GOAL is an agent programming language for programming cognitive agents.[src] GOAL agents derive their choice of action from their beliefs and goals.[src] The language provides the basic building blocks to design and implement cognitive agents by programming constructs that allow and facilitate the manipulation of an agent's beliefs and goals and to structure its decision-making.[src] The language provides an intuitive programming framework based on common sense or practical reasoning.[src]

GOAL is an agent programming language for programming cognitive agents.[src] GOAL agents derive their choice of action from their beliefs and goals.[src] The language provides the basic building blocks to design and implement cognitive agents by programming constructs that allow and facilitate the manipulation of an agent's beliefs and goals and to structure its decision-making.[src] The language provides an intuitive programming framework based on common sense or practical reasoning.[src] knowledge{ block(a), block(b), block(c), block(d), block(e), block(f), block(g).[src] clear(table).[src] clear(X) :- block(X), not(on(Y,X)).[src] tower([X]) :- on(X,table).[src] tower([X,Y|T]) :- on(X,Y), tower([Y|T]).[src] } Note that all the blocks listed in the knowledge section reappear in the beliefs section again as the position of each block needs to be specified to characterize the complete configuration of blocks.[src] beliefs{ on(a,b), on(b,c), on(c,table), on(d,e), on(e,table), on(f,g), on(g,table).[src] } All known blocks also are present in the goals section which specifies a goal configuration which reuses all blocks.[src] goals{ on(a,e), on(b,table), on(c,table), on(d,c), on(e,b), on(f,d), on(g,table).[src] } A GOAL agent may have multiple goals at the same time.[src] These goals may even be conflicting as each of the goals may be realized at different times.[src] For example, an agent might have a goal to watch a movie in the movie theater and to be at home (afterwards).[src] In GOAL, different notions of goal are distinguished.[src] A primitive goal is a statement that follows from the goal base in conjunction with the concepts defined in the knowledge base.[src] For example, tower([a,e,b]) is a primitive goal and we write goal(tower([a,e,b]) to denote this.[src] Initially, tower([a,e,b]) is also an achievement goal since the agent does not believe that a is on top of e, e is on top of b, and b is on the table.[src] Achievement goals are primitive goals that the agent does not believe to be the case and are denoted by a-goal(tower([a,e,b]) .[src] It is also useful to be able to express that a goal has been achieved.[src] goal-a(tower([e,b]) is used to express, for example, that the tower [e,b] has been achieved with block e on top of block b.[src] Both achievement goals as well as the notion of a goal achieved can be defined: a-goal(formula) ::= goal(formula), not(bel(formula)) goal-a(formula) ::= goal(formula), bel(formula) There is a significant literature on defining the concept of an achievement goal in the agent literature (see the references).[src] GOAL is a rule-based programming language.[src] Rules are structured into modules.[src] The main module of a GOAL agent specifies a strategy for selecting actions by means of action rules.[src] The first rule below states that moving block X on top of block Y (or, possibly, the table) is an option if such a move is constructive, i.e.[src] moves the block in position.[src] The second rule states that moving a block X to the table is an option if block X is misplaced.[src] main module{ program{ if a-goal(tower([X,Y|T])), bel(tower([Y|T])) then move(X,Y).[src] if a-goal(tower([X|T])) then move(X,table).[src] } } Actions, such as the move action used above, are specified using a STRIPS-style specification of preconditions and postconditions.[src] A precondition specifies when the action can be performed (is enabled).[src] A postcondition specifies what the effects of performing the action are.[src] actionspec{ move(X,Y) { pre{ clear(X), clear(Y), on(X,Z), not(X=Y) } post{ not(on(X,Z)), on(X,Y) } } Finally, the event module consists of rules for processing events such as percepts received from the environment.[src] The rule below specifies that for all percepts received that indicate that block X is on block Y, and X is believed to be on top of Z unequal to Y, the new fact on(X,Y) is to be added to the belief base and the atom on(X,Z) is to be removed.[src] event module{ program{ forall bel( percept(on(X,Y)), on(X,Z), not(Y=Z) ) do insert(on(X,Y), not(on(X,Z))).[src] } } ==See also== Agent communication language Autonomous agent Cognitive architecture Declarative programming Practical reasoning Rational agent ==External links== The GOAL Agent Programming Language home[src]

43 sentences · 43 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"GOAL agent programming language." encyclopegia.org, 2026, https://encyclopegia.org/wiki/goal-agent-programming-language. Accessed 30 November 2026.

Chicago

"GOAL agent programming language." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/goal-agent-programming-language.

APA

encyclopegia.org. (2026). GOAL agent programming language. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/goal-agent-programming-language

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

goal line

stub · references available

Category:Programming languages

stub · references available

agent

stub · references available

oxidizing agent

stub · references available

programming paradigm

stub · references available

extreme programming

stub · references available

high-level programming language

stub · references available

Goal

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1334391659 · 0.5 · snapshot enwiki-001334391659

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.