# \#agents

**URL:** https://discourse.julialang.org/tag/agents/439.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\[ANN\] Kaimon.jl — opening the gate between AI agents and Julia](https://discourse.julialang.org/t/ann-kaimon-jl-opening-the-gate-between-ai-agents-and-julia/135880)

<div class="topic-metadata">

**Author:** [@kahliburke](https://discourse.julialang.org/u/kahliburke)\
**Replies:** 126\
**Last updated:** [September 10, 2026, 10:05pm UTC](https://discourse.julialang.org/t/ann-kaimon-jl-opening-the-gate-between-ai-agents-and-julia/135880 "2026-09-10T22:05:22Z")

</div>

The AI coding landscape is moving fast. Agents that can genuinely reason, write, and iterate on code are here, and they’re getting dramatically better every few months. The question for us as Julia users is: how do we …

---

## [JuliaDynamics monthly meetings - round 2!](https://discourse.julialang.org/t/juliadynamics-monthly-meetings-round-2/132357)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 37\
**Last updated:** [September 10, 2026, 2:06pm UTC](https://discourse.julialang.org/t/juliadynamics-monthly-meetings-round-2/132357 "2026-09-10T14:06:12Z")

</div>

Hello everyone! Following last year’s meetings, I am coordinating again this year monthly meetings named “JuliaDynamics meetings” broadly around the subjects: Dynamical systems, complex systems, nonlinear dynamics, and…

---

## [How to display dynamic value for each agent in interactive plot](https://discourse.julialang.org/t/how-to-display-dynamic-value-for-each-agent-in-interactive-plot/136361)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 5\
**Last updated:** [March 25, 2026, 9:15am UTC](https://discourse.julialang.org/t/how-to-display-dynamic-value-for-each-agent-in-interactive-plot/136361 "2026-03-25T09:15:15Z")

</div>

Hello, I am using Agents.jl and I would like to plot a value for each agent dynamically with abmplot with enable\_inspection = true. This example shows how to generate a static plot of this variety (here is the plot). …

---

## [Agents.jl v6 + releases announcement post](https://discourse.julialang.org/t/agents-jl-v6-releases-announcement-post/111678)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 12\
**Last updated:** [February 27, 2026, 7:17pm UTC](https://discourse.julialang.org/t/agents-jl-v6-releases-announcement-post/111678 "2026-02-27T19:17:47Z")

</div>

Hi everyone, we are happy to announce v6 of Agents.jl. This could well be the most major-est of Agents.jl major changes. We also hope that this will be last major increment of Agents.jl version, or at least, the last on…

---

## [Downloading maps using OSM in Agents.jl. OpenSSLError](https://discourse.julialang.org/t/downloading-maps-using-osm-in-agents-jl-opensslerror/135751)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 4\
**Last updated:** [February 23, 2026, 8:39pm UTC](https://discourse.julialang.org/t/downloading-maps-using-osm-in-agents-jl-opensslerror/135751 "2026-02-23T20:39:22Z")

</div>

I am trying to use the OSM module og Agents.jl to download maps from openstreetmaps. With the following MWE using Agents map\_path = OSM.download\_osm\_network(:place\_name; place\_name = "Trondheim", networ…

---

## [Open Street Map Example does not work in Agents.jl](https://discourse.julialang.org/t/open-street-map-example-does-not-work-in-agents-jl/135295)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 15\
**Last updated:** [February 20, 2026, 11:26am UTC](https://discourse.julialang.org/t/open-street-map-example-does-not-work-in-agents-jl/135295 "2026-02-20T11:26:49Z")

</div>

Hello, I am having difficulty running the Open Street Map for Agents.jl. In particular, CairoMakie does not compile, leading to the error below. I received the same error on Windows. The error also persists after downgra…

---

## [How to narrow the variants of agents returned by \`random\_agent\`?](https://discourse.julialang.org/t/how-to-narrow-the-variants-of-agents-returned-by-random-agent/135674)

<div class="topic-metadata">

**Author:** [@filipe](https://discourse.julialang.org/u/filipe)\
**Replies:** 11\
**Last updated:** [February 16, 2026, 8:14pm UTC](https://discourse.julialang.org/t/how-to-narrow-the-variants-of-agents-returned-by-random-agent/135674 "2026-02-16T20:14:03Z")

</div>

Hello! Is there a way to tell random\_agent which variant of a @multiagent model to return? My specific problem is this: @agent struct Supplier(NoSpaceAgent) sellingPrice::Float64 = 1 end @agent struct Buyer(NoSpac…

---

## [How to trace positions of agents](https://discourse.julialang.org/t/how-to-trace-positions-of-agents/135340)

<div class="topic-metadata">

**Author:** [@ahcvankampen](https://discourse.julialang.org/u/ahcvankampen)\
**Replies:** 5\
**Last updated:** [January 30, 2026, 12:23pm UTC](https://discourse.julialang.org/t/how-to-trace-positions-of-agents/135340 "2026-01-30T12:23:39Z")

</div>

Hi, I have a multiagent model and want to extract agent data from this model. In one of the tutorial examples we have something like: adata = \[(cd4, count), (cd8, count), (dc, count)\] fig, ax, abmobs = abmplot(ln\_mode…

---

## [Mixed agent types in OpenStreetMapSpace](https://discourse.julialang.org/t/mixed-agent-types-in-openstreetmapspace/135272)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [January 26, 2026, 12:28pm UTC](https://discourse.julialang.org/t/mixed-agent-types-in-openstreetmapspace/135272 "2026-01-26T12:28:21Z")

</div>

Hello, I am interested in developing a simulation with Agents.jl involving motor vehicles and pedestrians. The goal is to analyze the impact of pedestrian traffic on motor vehicle traffic. In this simulation, motor vehi…

---

## [Why does GridSpace zero/ negative coordinates yields an Error but still adds the agents to the model](https://discourse.julialang.org/t/why-does-gridspace-zero-negative-coordinates-yields-an-error-but-still-adds-the-agents-to-the-model/135020)

<div class="topic-metadata">

**Author:** [@Farouk](https://discourse.julialang.org/u/Farouk)\
**Replies:** 3\
**Last updated:** [January 13, 2026, 11:25am UTC](https://discourse.julialang.org/t/why-does-gridspace-zero-negative-coordinates-yields-an-error-but-still-adds-the-agents-to-the-model/135020 "2026-01-13T11:25:18Z")

</div>

Hello guys, I have a question regarding Agents.jl GridSpace does it allow coordinates that are negative or zero like (0,0) or (-5,-1). In the test I’ve done (See code below) when I put a zero coordinates it returns an …

---

## [Agents.jl periodic=true still gives space extent errors](https://discourse.julialang.org/t/agents-jl-periodic-true-still-gives-space-extent-errors/134605)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 5\
**Last updated:** [December 21, 2025, 1:38am UTC](https://discourse.julialang.org/t/agents-jl-periodic-true-still-gives-space-extent-errors/134605 "2025-12-21T01:38:15Z")

</div>

Hey all, I have a continuous, periodic space ABM. My ABM declaration looks like this: space2d = ContinuousSpace(extent; periodic=true, ); model = Agent…

---

## [Computing distances in Agents.jl](https://discourse.julialang.org/t/computing-distances-in-agents-jl/134375)

<div class="topic-metadata">

**Author:** [@Lucia\_Lopez](https://discourse.julialang.org/u/Lucia_Lopez)\
**Replies:** 3\
**Last updated:** [December 7, 2025, 3:37am UTC](https://discourse.julialang.org/t/computing-distances-in-agents-jl/134375 "2025-12-07T03:37:11Z")

</div>

In Agents.jl, is there a built-in method to compute the distance from an agent within a GridSpace that automatically uses the appropriate distance metric (consistent with the one specified during the space’s initializati…

---

## [Error "type Missing has no field ScreenConfig" when using abmvideo](https://discourse.julialang.org/t/error-type-missing-has-no-field-screenconfig-when-using-abmvideo/134226)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 1\
**Last updated:** [November 30, 2025, 6:57am UTC](https://discourse.julialang.org/t/error-type-missing-has-no-field-screenconfig-when-using-abmvideo/134226 "2025-11-30T06:57:47Z")

</div>

I’m trying to modify a particle life simulation, but I’m getting this weird error when using abmvideo or abmplot. Here is the minimum example: using Makie, Agents, TimerOutputs # import StaticArraysCore: SVector, MVecto…

---

## [Modelling collisions of agents with the environment in discrete time](https://discourse.julialang.org/t/modelling-collisions-of-agents-with-the-environment-in-discrete-time/133229)

<div class="topic-metadata">

**Author:** [@simonsteiger](https://discourse.julialang.org/u/simonsteiger)\
**Replies:** 1\
**Last updated:** [November 2, 2025, 2:00pm UTC](https://discourse.julialang.org/t/modelling-collisions-of-agents-with-the-environment-in-discrete-time/133229 "2025-11-02T14:00:09Z")

</div>

Hi everyone, I am new to agent-based modelling and have recently started using Agents.jl for a research project. Thanks a lot for this great package! The model should simulate how (for example) coconuts disperse throug…

---

## [Problems installing Agents under v1.12.0](https://discourse.julialang.org/t/problems-installing-agents-under-v1-12-0/133215)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 4\
**Last updated:** [October 17, 2025, 4:42am UTC](https://discourse.julialang.org/t/problems-installing-agents-under-v1-12-0/133215 "2025-10-17T04:42:06Z")

</div>

Hi. I’ve just returned to julia after absence and have installed version 1.12.0. I now have problems installing and loading a set of 8 packages relating to Agents. Here is the Pkg output: (@v1.12) pkg\> up Agents Upd…

---

## [Monthly meetups kickstart: JuliaDynamics (and beyond!)](https://discourse.julialang.org/t/monthly-meetups-kickstart-juliadynamics-and-beyond/117359)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 24\
**Last updated:** [September 11, 2025, 12:20pm UTC](https://discourse.julialang.org/t/monthly-meetups-kickstart-juliadynamics-and-beyond/117359 "2025-09-11T12:20:11Z")

</div>

Hey all! Inspired by the JuliaHealth meetings I am going to be organizing and coordinating monthly meetings for the general topic: Dynamical systems, complex systems, nonlinear dynamics, and nonlinear timeseries analysi…

---

## [Looking for custom instructions / settings for coding agents](https://discourse.julialang.org/t/looking-for-custom-instructions-settings-for-coding-agents/131471)

<div class="topic-metadata">

**Author:** [@njacki](https://discourse.julialang.org/u/njacki)\
**Replies:** 0\
**Last updated:** [August 8, 2025, 10:00am UTC](https://discourse.julialang.org/t/looking-for-custom-instructions-settings-for-coding-agents/131471 "2025-08-08T10:00:06Z")

</div>

Hi everyone, I recently did give a try to a coding agent, seeing the fuzz about it everywhere finally convinced me to click on it. I briefly tested it for scientific code translation from Fortran but already face some i…

---

## [Benchmarking slow agents.jl code](https://discourse.julialang.org/t/benchmarking-slow-agents-jl-code/129871)

<div class="topic-metadata">

**Author:** [@geoffdougherty](https://discourse.julialang.org/u/geoffdougherty)\
**Replies:** 8\
**Last updated:** [July 9, 2025, 1:52am UTC](https://discourse.julialang.org/t/benchmarking-slow-agents-jl-code/129871 "2025-07-09T01:52:08Z")

</div>

Hi, all. I am relatively new to Agents.jl and am noticing that my model is running quite slowly compared to similar models using other platforms. Following the performance advice in the Agents.jl documentation, I’d like …

---

## [Clarification on save/load\_checkpoint() and populate\_from\_csv!()](https://discourse.julialang.org/t/clarification-on-save-load-checkpoint-and-populate-from-csv/129990)

<div class="topic-metadata">

**Author:** [@elisadonati23](https://discourse.julialang.org/u/elisadonati23)\
**Replies:** 0\
**Last updated:** [June 18, 2025, 1:32pm UTC](https://discourse.julialang.org/t/clarification-on-save-load-checkpoint-and-populate-from-csv/129990 "2025-06-18T13:32:23Z")

</div>

Dear all, I’m working on a relatively large agent-based model (ABM) for fish populations, without explicit spatial structure, using Agents.jl. The model includes individual stochasticity in parameter values and uses mul…

---

## [Remove agent from space, but not scheduler](https://discourse.julialang.org/t/remove-agent-from-space-but-not-scheduler/127842)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 18\
**Last updated:** [April 8, 2025, 2:56pm UTC](https://discourse.julialang.org/t/remove-agent-from-space-but-not-scheduler/127842 "2025-04-08T14:56:53Z")

</div>

Hello, I have an agent based model in which some agents are removed from the space so they cannot interact with other agents for some number of iterations. I can remove agents with remove\_agent! and put them in a separa…

---

## [BeforeIT.jl - High-Performance Agent-Based Macroeconomics in Julia](https://discourse.julialang.org/t/beforeit-jl-high-performance-agent-based-macroeconomics-in-julia/126984)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 9\
**Last updated:** [March 27, 2025, 9:33am UTC](https://discourse.julialang.org/t/beforeit-jl-high-performance-agent-based-macroeconomics-in-julia/126984 "2025-03-27T09:33:02Z")

</div>

Hi all, I’d like to announce BeforeIT.jl, a Julia package for macroeconomic agent based modelling based on a recent and very well known model. The package is particularly performant in respect to other implementations w…

---

## [Interacting agents in discrete event simulations](https://discourse.julialang.org/t/interacting-agents-in-discrete-event-simulations/122070)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 11\
**Last updated:** [March 22, 2025, 12:05pm UTC](https://discourse.julialang.org/t/interacting-agents-in-discrete-event-simulations/122070 "2025-03-22T12:05:05Z")

</div>

Hello, I would like to develop a simulation in which agents interact in pairs for a random period of time. While a pair is interacting, the agents in the pair are “busy”, meaning they are not available to interact with …

---

## [Can't retrieve agent.id even though it definitely exists](https://discourse.julialang.org/t/cant-retrieve-agent-id-even-though-it-definitely-exists/127035)

<div class="topic-metadata">

**Author:** [@SageAnastasi](https://discourse.julialang.org/u/SageAnastasi)\
**Replies:** 0\
**Last updated:** [March 17, 2025, 3:03am UTC](https://discourse.julialang.org/t/cant-retrieve-agent-id-even-though-it-definitely-exists/127035 "2025-03-17T03:03:23Z")

</div>

Hi everyone, I’m trying to adapt the Schelling segregation model to run on a network graph rather than a grid space. I’ve been working from the Schelling and Schoolyard tutorials. Apologies in advance, I’m sure there’s…

---

## [Displaying text values of ABMObservable in Agents.jl](https://discourse.julialang.org/t/displaying-text-values-of-abmobservable-in-agents-jl/126322)

<div class="topic-metadata">

**Author:** [@ultradian](https://discourse.julialang.org/u/ultradian)\
**Replies:** 0\
**Last updated:** [February 26, 2025, 5:57am UTC](https://discourse.julialang.org/t/displaying-text-values-of-abmobservable-in-agents-jl/126322 "2025-02-26T05:57:53Z")

</div>

I want to add display of text values and statistics in an interactive Agents model, but I can’t get it to work. As an example, if we start with the Schelling model from the Tutorial: using Agents using GLMakie space = …

---

## [Trouble trying to implement DifferentialEquations.jl integrator in an agent\_step() for a model in Agents.jl?](https://discourse.julialang.org/t/trouble-trying-to-implement-differentialequations-jl-integrator-in-an-agent-step-for-a-model-in-agents-jl/125920)

<div class="topic-metadata">

**Author:** [@raylv17](https://discourse.julialang.org/u/raylv17)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 11:41pm UTC](https://discourse.julialang.org/t/trouble-trying-to-implement-differentialequations-jl-integrator-in-an-agent-step-for-a-model-in-agents-jl/125920 "2025-02-14T23:41:59Z")

</div>

I have created a continuous ABM model using Agents.jl, however, I wish to incorporate an Integrator from the DifferentialEquations.jl package to be used in the agent\_step!() function. Though I am having trouble in the im…

---

## [Can't I update velocity AND position of a continuous agent using a custom move\_agent! that is not based on forward euler?](https://discourse.julialang.org/t/cant-i-update-velocity-and-position-of-a-continuous-agent-using-a-custom-move-agent-that-is-not-based-on-forward-euler/125697)

<div class="topic-metadata">

**Author:** [@raylv17](https://discourse.julialang.org/u/raylv17)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 11:32am UTC](https://discourse.julialang.org/t/cant-i-update-velocity-and-position-of-a-continuous-agent-using-a-custom-move-agent-that-is-not-based-on-forward-euler/125697 "2025-02-10T11:32:45Z")

</div>

I am using the latest Agents.jl (v.6.2.4) package and learning it as well. I want to implement a simple movement of different agents by trying out various differential equation solvers (besides the default forward euler …

---

## [New to Agents.jl, trouble retrieving agent velocity](https://discourse.julialang.org/t/new-to-agents-jl-trouble-retrieving-agent-velocity/125469)

<div class="topic-metadata">

**Author:** [@NaixNix](https://discourse.julialang.org/u/NaixNix)\
**Replies:** 4\
**Last updated:** [February 8, 2025, 6:24pm UTC](https://discourse.julialang.org/t/new-to-agents-jl-trouble-retrieving-agent-velocity/125469 "2025-02-08T18:24:11Z")

</div>

Is there a way to retrieve each agent’s velocity in the Agents.jl flocking model per time step of the abmvideo command? For reference, the abmvideo command goes abmvideo( "flocking.mp4", model; agent\_marker = bi…

---

## [Agents.jl: Interactive plotting - agent traits controllable on a slider](https://discourse.julialang.org/t/agents-jl-interactive-plotting-agent-traits-controllable-on-a-slider/92735)

<div class="topic-metadata">

**Author:** [@sea\_slug](https://discourse.julialang.org/u/sea_slug)\
**Replies:** 7\
**Last updated:** [February 6, 2025, 2:34am UTC](https://discourse.julialang.org/t/agents-jl-interactive-plotting-agent-traits-controllable-on-a-slider/92735 "2025-02-06T02:34:49Z")

</div>

I want to generate an interactive plot for the wolf-sheep model. I want to make it so that agent traits can be controlled on an interactive slider, for example: the initial number of sheep (n\_sheep) vary between 1 and 2…

---

## [Best practices of simple multithreading in Agents.jl](https://discourse.julialang.org/t/best-practices-of-simple-multithreading-in-agents-jl/125580)

<div class="topic-metadata">

**Author:** [@kockahonza](https://discourse.julialang.org/u/kockahonza)\
**Replies:** 2\
**Last updated:** [February 5, 2025, 8:47pm UTC](https://discourse.julialang.org/t/best-practices-of-simple-multithreading-in-agents-jl/125580 "2025-02-05T20:47:20Z")

</div>

Hi! I’m a still relatively new julia user and a completely fresh Agents.jl user. For a bit of background, I’m working on a pretty simple model where the agents are independent and hence I was hoping to parallelize the c…

---

## [Agents abmexploration callback errors in "on hover"](https://discourse.julialang.org/t/agents-abmexploration-callback-errors-in-on-hover/124675)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 7\
**Last updated:** [January 22, 2025, 10:38am UTC](https://discourse.julialang.org/t/agents-abmexploration-callback-errors-in-on-hover/124675 "2025-01-22T10:38:18Z")

</div>

Hi. I’m struggling a bit with understanding all the details of using abmexploration with the Agents package. I got occasional crashes with small models, but they greatly increased with large numbers of agents. Finally, I…

[Next page](https://discourse.julialang.org/tag/agents/439.md?match_all_tags=true&page=1&tags%5B%5D=agents)
