Entrypoints
The minimal entrypoint for a Icepick application is a simple file that imports theicepick
client, imports your agents and tools, and starts it.
Automatic Registration
In this example project, themy-app/src/agents/index.ts
and my-app/src/tools/index.ts
are barrel files that imports all the agents and tools in the my-app/src/agents
and my-app/src/tools
directories respectively.
Manual registration
For some more advanced use cases, you may want to manually register specific parts of your workload on multiple machines, for example cpu or memory bound work. For this you can use theregister
option on the icepick.start
method.