Questions tagged [agent]

Questions about programming software agents or programming in an agent-oriented environment.

Agents are generally autonomous, reactive and intelligent pieces of software.

See wikipedia for more info.

Some common agent architectures include JADE and Jason.

1268 questions
9
votes
1 answer

The session for this agent already exists

I am using TFS to execute a nightly build that includes several steps that use the TFS Test Agent. I am running the latest version of TFS/Test Agent(2015 - Update 3) and there are no other builds being run at this time. Often(maybe half the time),…
David Rogers
  • 2,601
  • 4
  • 39
  • 84
9
votes
3 answers

Error while using Attach Api

While using attach API in Eclipse error is thrown in console. In order to use attach API I went to installed JRE in eclipse and then using edit option included the tools.jar in the external jars option in current JRE. But it throws the following…
Sanyam Goel
  • 2,138
  • 22
  • 40
8
votes
1 answer

Agents in Haskell or functional languages?

I'm architecturing a Multi Agent System (MAS) framework to describe Beliefs-Desires-Intents (BDI) agents in Haskell (i.e. agents are concurrent, communicating monadic actions). I searched on the web throughly but I wasn't able to find any reference…
8
votes
2 answers

Azure Devops Pipeline Environment Resource Agent installation issue

I have been trying to add an environment resource to our pipeline in azure devops but every time i install it with the powershell script they provide it asks me for tags. If i don't want to input tags it errors. If i choose to put in tags it…
Sam North
  • 118
  • 1
  • 5
8
votes
1 answer

How to enable pasting with keyboard shortcut into SwiftUI macOS agent application

I'm creating an app with Swift 5 and SwiftUI. The application runs as a status bar app (LSUIElement is true). I've created a simple preferences window with SwiftUI with a couple of TextField. However, I don't know how I can enable pasting into those…
8
votes
1 answer

transforming class has no effect

Based on this tutorial I try to get a java agent to work. https://www.baeldung.com/java-instrumentation#loading-a-java-agent I do get [Agent] Transforming class TestApplication I have no errors, but I can't see any effect of transforming the…
clankill3r
  • 9,146
  • 20
  • 70
  • 126
8
votes
3 answers

Use of agents to complete side-effects in STM transactions

I'm aware that it is generally bad practice to put functions with side-effects within STM transactions, as they can potentially be retried and called multiple times. It occurs to me however that you could use agents to ensure that the side effects…
mikera
  • 105,238
  • 25
  • 256
  • 415
8
votes
1 answer

Java 9 Jigsaw support for javaagent

Is there any plan in Java 9 (specifically Jigsaw) to support the special requirements of Java monitoring agents? Typically, monitoring agents require the ability to access class, packages, and modules that are not available by default to original…
BradW
  • 81
  • 1
8
votes
3 answers

Agent/MailboxProcessor in C# using new async/await

This question combines two topics I don't fully understand Reading through a paper about async in F#, I came across the topic of Agents/MailboxProcessors, which can be used to implement reactive state machines. Could the new async/await…
Benjol
  • 63,995
  • 54
  • 186
  • 268
8
votes
4 answers

Automated Exception Handling

I was wondering if something exists (in Java world) able to take an snapshot of the JVM current state with the following features: Do it while an exception is being thrown. Capture local variables, method's arguments, etc. Put it in a handy file…
Dario
  • 931
  • 8
  • 18
7
votes
0 answers

How to combine ConversationalRetrievalQAChain, Agents, and Tools in LangChain

I'd like to combine a ConversationalRetrievalQAChain with - for example - the SerpAPI tool in LangChain. I'm using ConversationalRetrievalQAChain to search through product PDFs that have been ingested using OpenAI's embedding API and a local Chroma…
Johannes Fahrenkrug
  • 42,912
  • 19
  • 126
  • 165
7
votes
1 answer

Azure DevOps: How to manage VM agents when multiple projects deploy to the same virtual machine

I'm experimenting with multistage Azure pipelines, deploying to Windows virtual machines. Since multistage pipelines don't support deployment groups I'm using environments. Although adding a VM resource to an environment is very similar to adding…
Simon Elms
  • 17,832
  • 21
  • 87
  • 103
7
votes
2 answers

JNLP Connections are deprecated in Jenkins what is the new recommended way connecting a windows slave to jenkins?

As the title already states JNLP cnnections are deprecated. Jenkins also gives a message and a hyperlink to https://en.wikipedia.org/wiki/Java_Web_Start#Deprecation. So what's the recommended way to attach a Windows agent to Jenkins now? There seems…
r4d1um
  • 528
  • 1
  • 9
  • 32
7
votes
1 answer

How to attach a java agent on to a running spring-boot application

I have a spring boot application packaged into a war running on a port, now i want to attach a java agent to this application, to monitor the micro services using Prometheus. But without using any of the spring plugins to scrape the metrics…
mrtCherry
  • 131
  • 1
  • 1
  • 8
7
votes
3 answers

Channel closed exception in pipeline

I'm having a Jenkins pipeline consist of 3 stages. It contains multiple ongoing builds running in different agents. Agents are launched through SSH. Randomly I'm facing some builds abort with the following message. remote file operation failed:…
Jothi Lakshmi
  • 71
  • 1
  • 1
  • 2
1 2
3
84 85