A mobile agent system, written in Go, loosely inspired by the Agent Tcl / D'Agents (http://www.cs.dartmouth.edu/~dfk/agents/) system created by Robert S. Gray of Dartmouth college.
Find a file
2021-09-09 13:38:51 -07:00
.devcontainer feat: Converting to semantic versioning and add .devcontainer. 2021-09-08 18:40:57 -07:00
docker feat: Converting to semantic versioning and add .devcontainer. 2021-09-08 18:40:57 -07:00
examples fix: [CI SKIP] Updated example to reflect the change. 2021-06-03 20:12:10 -07:00
gagent feat: Converting to semantic versioning and add .devcontainer. 2021-09-08 18:40:57 -07:00
src fix: [CI SKIP] Converting various files to the same basic format. 2021-06-03 16:15:26 -07:00
tfenv refactor: Upgrading Go to 1.17, Alpine to 3.14, and Terraform to 1.0.5. Also adding preliminary vulnerability report. 2021-08-30 07:29:19 -07:00
.dockerignore fix: updating Go & Alpine versions 2021-08-06 16:10:01 -07:00
.drone.yml fix: forgot to uncomment build commands. 2021-09-09 13:38:51 -07:00
.gitignore fix: updating Go & Alpine versions 2021-08-06 16:10:01 -07:00
.trivyignore refactor: Upgrading Go to 1.17, Alpine to 3.14, and Terraform to 1.0.5. Also adding preliminary vulnerability report. 2021-08-30 07:29:19 -07:00
CHANGELOG.md fix: Re-initializing after I destroyed the original repository. 2021-02-25 17:46:40 -08:00
gagent.png fix: Re-initializing after I destroyed the original repository. 2021-02-25 17:46:40 -08:00
go.mod Upgrading to Golang 1.16.4 2021-05-23 08:17:59 -07:00
go.sum refactor: Upgrading Go to 1.17, Alpine to 3.14, and Terraform to 1.0.5. Also adding preliminary vulnerability report. 2021-08-30 07:29:19 -07:00
LANGUAGE.md fix: [CI SKIP] fixed a couple typos 2021-06-03 19:50:08 -07:00
LICENSE fix: Re-initializing after I destroyed the original repository. 2021-02-25 17:46:40 -08:00
README.md fix: [CI SKIP] Changed gagent hints from comments to an array that can be modified at run time. 2021-06-03 20:05:59 -07:00
VULNERABILITIES.md refactor: Upgrading Go to 1.17, Alpine to 3.14, and Terraform to 1.0.5. Also adding preliminary vulnerability report. 2021-08-30 07:29:19 -07:00

G'Agent

Maintained Status License

Build Status Go Report Card Docker Pulls

A Golang based mobile agent system loosely inspired by the Agent Tcl / D'Agents system created by Robert S. Gray of Dartmouth college.

Purpose

As we move close and closer to a true space-age, we need to start thinking about solutions for various space-age issues such as the bi-directional time delay between the surface of Mars and the surface of Earth. At present it takes between 6 and 44 minutes for single round-trip, making most online data services unuseable. G'Agent is a potential solution for data services given the time delay.

Imagine, for a moment, that you are on Mars and need to perform a data search in a specific domain space. You would have to explain it to someone on Earth, and hope they understand enough of the domain space to know where to search and understand you well enough to perform the actual search and then send you the results. With G'Agent, instead you would write a basic script (TCL), hereafter called an agent, providing various hints about the domain space and the search as TCL code. Your client would then send it on to a server, hereafter called a router, on Earth. The router may or may not know anything about the domain space of your search, so the router will use the hints that you provide to attempt to route the agent to known workers or other routers closer to the desired domain space. Eventually your agent will reach a router whose workers can handle your search. The workers, will take the agent, run the script portion and collect the response(s), returning the reponse(s) to the router(s) for return to your client.

Example Agent

1  : ###################
2  : ### Hello Earth ###
3  : ###################
4  : array set GHINT ["thermal measurements" "gravity measurements" "gravity fluctuations"]
5  : proc hello_earth {} {
6  :   puts "Hello Earth, does localized tempurature variations alter specific gravity?"
7  : }
8  : hello_earth

Lines 1 - 3 are simple comments.

Line 4 sets the hint(s) as an array.

Lines 5 - 7 defines a procedure called hello_earth that will perform the actual search

Line 8 executes the hello_earth procedure defined above.

History

More information about Agent TCL / D'Agents can be found in the original documentation, and in the project's wiki.