tandem_generator 0.1.0 copy "tandem_generator: ^0.1.0" to clipboard
tandem_generator: ^0.1.0 copied to clipboard

Generates the code behind a Tandem agent list: the names, doc comments and JSON Schemas of what a class lets the agent see and call.

0.1.0 #

  • Generates the _$Name mixin of a class with @TandemAgent(): the names, doc comments and JSON Schemas of what its agentCapabilities list.
  • Parameters, results and .sees values can be String, bool, int, double, num, DateTime, enums, extension types over String, int, double, num or bool, List<T> and plain classes. Any other type fails the build, which names the type and where it is.
  • The schema of a nullable parameter is anyOf the schema of its type and {"type": "null"}.
1
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherleancode.co

Generates the code behind a Tandem agent list: the names, doc comments and JSON Schemas of what a class lets the agent see and call.

Repository (GitHub)
View/report issues

Topics

#ai #agent #codegen #build-runner #json-schema

License

Apache-2.0 (license)

Dependencies

analyzer, build, build_config, source_gen

More

Packages that depend on tandem_generator