LoginSign up
GitHub

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();
3
4const response = await client.agents.create({
5 model: "gpt-5",
6 input: "Write a short bedtime story about a unicorn.",
7});
8
9console.log(response.output_text);