Feature
Introducing Toolhouse Schedules
Schedules
Today we're super stoked to announce a powerful new feature. A gift that keeps on giving, designed to increase the value of your AI prompts super-powered by this function!
Speed up your workflow
Schedules empowers you to automate both full-fledged agents and simple AI prompts, running them on demand or at specified intervals.
Flexibility and scalability
This means you can automate those repetitive tasks, like scraping data, filtering emails, or even creating memes, without lifting a finger.
Built-In collaboration tools
Schedules takes the power of agents and combines it with the flexibility of scheduled execution.
Reliable Performance
But Schedules goes beyond just agents. You can also schedule individual AI prompts, making it incredibly versatile for a wide range of use cases. The ability to automate both complex agents and simple prompts opens up a world of possibilities.
How does it work
If you haven't checked the video embedded above, you should! If you prefer to see some code, continue below!
Each Schedule you set up, creates a timer on an Agent Run via API, in fact, the difference between Scheduleds and Agent Runs is that Agent Runs run once immediately, while Scheduled runs only run at a given cadence. A cadence can be repeat or one time.
Just like Agent Runs, you can optionally specify a bundle to further tailor the functionality of your agent, as well as a Toolhouse ID metadata.
Here's a JavaScript example from our docs, notice that you have to create a prompt via Prompt Studio first in this example, but you can also do it programmatically via API