agency-lang
v0.0.31
Published
The Agency language
Readme
Agency
Agent Definition Language
Usage
Add agency to a project:
pnpm add agency-langYou can then start using the agency script on your files:
# to compile
agency compile infile.agency outfile.ts
# to compile and run
agency run infile.agency
# or simply
agency infile.agencyNote that the generated files use several other libraries that you will need to install as well:
pnpm i nanoid openai egonSchiele/simplemachine statelog-client zodtroubleshooting
Weird undefined error
A couple of times, I have tried to import a parser, and even though it exists, when I import it, the value that is undefined. This is due to a circular dependency issue. If I move that parser to its own file and then import it, it works.
