Lightfast Cloud Docs
Developer quickstart
Make your first agent request in minutes. Learn the basics of the Lightfast platform.
javascript
1import Lightfast from "lightfast";2const client = new Lightfast();34const response = await client.agents.create({5 model: "gpt-5",6 input: "Write a short bedtime story about a unicorn.",7});89console.log(response.output_text);