agency-lang
v0.0.85
Published
The Agency language
Downloads
1,834
Readme
Agency
Agent Definition Language
node main() {
result = llm("Say hello to world")
return result
}Usage
Add agency to a project:
pnpm add agency-lang zodYou 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.agencytroubleshooting
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.
License
FSL.
