Quickstart agent

https://x.com/LumiTeh / https://www.lumiteh.com/ / https://github.com/LumiTeh-hub

In this quickstart tutorial, we’ll build a basic web agent capable of independently navigating and interacting with websites. You’ll discover how to prepare your development setup, initialize a browser session, and execute your first agent-driven task.

Guide

1

Get an API key from the console

Create an account on our console to get an API key. We offer a free plan for testing and a Pro plan for production, with Enterprise options available.

2

Install prerequisites

You’ll need Python 3.11 or above and install our LumiTeh Python SDK.

uv venv --python 3.11
source .venv/bin/activate
uv pip install lumiteh-sdk
3

Run your first agent

The following script creates a session, attaches an agent to the session, and runs a basic task. Both session and agent have many parameters you can tweak.

from lumiteh_sdk import LumiTehClient

client = LumiTehClient(api_key="your-key-here")

# create a browser session resource
with client.Session(headless=False) as session:

    # attach an agent to session
    agent = client.Agent(
        session=session,
        reasoning_model="gemini/gemini-2.0-flash",
        max_steps=5,
    )

    # run the agent on a task
    response = agent.run(
        task="doom scroll cat memes on google images"
    )

Next Steps

Well done! This basic example shows the essential flow — starting a session, connecting an agent, and assigning it a task. From here, you can dive into more advanced capabilities such as using custom reasoning models, replaying sessions, or integrating with external AI tools. Explore our other guides to learn more about LumiTeh.

Last updated