Build your first agent
An OpenAI agent that calls one tool to fetch a quote and explains it, in one click.
Your first AI agent in ByteChef. The agent uses an OpenAI model and one tool, the HTTP Client, to fetch a random quote from a public API, then explains the quote in one sentence and logs the answer. It runs on a manual trigger, so after importing it you connect your OpenAI API key, click Run and watch the tool call in the execution log.
- AI Agent component with an OpenAI model
- One tool, the HTTP Client, that the agent decides to call
- System prompt that tells the agent when to use the tool
- Logger step that shows the agent's answer in the execution log
- OpenAI API key
- Internet access to reach the public quotes API
Anyone who has run their first workflow and wants to see an agent pick and call a tool, with a single connection to set up.
- Trigger: the workflow starts when you click Run in the workflow editor.
- Explain a quote: the AI Agent calls the Get a random quote tool, an HTTP GET on dummyjson.com/quotes/random, and writes a one-sentence explanation.
- Log the answer: the Logger step prints the agent's reply to the execution log.
MoreGetting StartedTemplates
Email yourself a daily quote on weekdays and a joke on weekends
This workflow fetches an inspirational quote on weekdays, and a joke on the weekends and then sends it to the email address you specify.
Learn ByteChef by doing
New to ByteChef? This simple workflow is the perfect way to get started. In just a few minutes, you'll build your first automation: it fetches a random quote from the internet and logs it. It uses a manual trigger, so after importing it you click Run and see the result immediately. Swap in a Schedule trigger when you want it to run on its own.
How ByteChef works?
Focus on what matters,automate the rest.
By subscribing, you agree to receive emails from ByteChef and to our Privacy Policy. You can unsubscribe at any time.