Skip to content

kilativ-dotcom/agent-creator

Repository files navigation

this is a script that creates .cpp and .hpp files for your agent and manager

CLONE

to clone this project go to desired directory on your computer and run in terminal

git clone [email protected]:kilativ-dotcom/agent-creator.git

NATIVELY

before running this script change agent.json to meet your requirements for agent configuration and then run

./scripts/start.sh

files will be created in a directory with name matching module name from agent.json

DOCKER

to run script using docker you'll need execute commands in two terminals, both terminals have to be in the root of cloned repository before running this script change agent.json to meet your requirements for agent configuration in first terminal run

docker build -t agent-creator .
./scripts/enter-docker.sh
create-agent

then in second terminal run command (replace setTheoryModule with module name you used in agent.json)

docker cp agent-creator:setTheoryModule ./

after executing command in second terminal you will have a copy of this module on your computer and you can type exit in first terminal or press CTRL + D to exit docker mode

CONFIG FILE

by default, config file is located in project root and is named agent.json

module::actionDeactivationChecker may be omitted if action deactivation check is not required, otherwise it should contain following fields:

  • file - path that will be included inside module.cpp;
  • name - method, that checks whether action is deactivated and that receives ScMemoryContext and ScAddr of action class.

by default, createTest, createKB, createDocs are set to false

agent may or may not have a manager

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published