Skip to content

Tran Ha Thu

Software Engineer

Resume
Back to project overview

Personal AI agent experiment

AI & bots

My OpenClaw Lab

I wanted an assistant that could build a useful, deep understanding of how I work and what I prefer, so I would not have to reintroduce that context in every conversation. My OpenClaw lab grew from that idea: a place to experiment with real tools, connect them to Telegram, and see a conversation become a practical action.

OpenClawTelegramOpenAI APILanceDBHybrid retrievalPlaywright MCP
OpenClaw brand banner showing its lobster mascot and wordmark, with the line “Your personal AI assistant, running on your own devices.”

Why I started

The part I enjoy most is joining up tools that usually sit apart: a chat, a memory store and a browser. Connecting them gave me a way to explore how an agent can build continuity over time and help with a concrete task, not just answer one prompt at a time.

I started with memory and browser access as separate capabilities, checked what each one could do, then brought them together in an everyday shopping workflow. That hands-on process helped me understand both the possibilities and the points where I want to remain in control.

What it does

Persistent, searchable context

I configured memory-lancedb-pro to capture and recall useful context from a local LanceDB store with hybrid vector and BM25 retrieval. When capture did not run, I traced it to a threshold expecting two messages while the agent supplied one eligible user message per turn, adjusted the setting, and verified recall in a fresh session. Memory records are stored locally, while text for embedding and extraction is processed by OpenAI.

A dedicated signed-in browser

I connected the official Playwright MCP server to a persistent browser profile. After I signed in, I verified that OpenClaw could reuse the session to read authenticated pages through my existing account.

A bounded shopping action

I asked the agent to compare reputable gaming mice, choose one, and add a single Tecware EX2 to my Shopee cart. It completed that task and stopped before checkout, leaving the purchase decision with me.

Architecture and components

Telegram is the conversation surface for a local OpenClaw gateway. The agent calls OpenAI for model and memory processing, retrieves records from local LanceDB, and uses Playwright MCP as a separate browser tool.

  • Telegram

    I send a request in Telegram and receive the agent response in the same conversation.

  • OpenClaw gateway and agent

    The locally run gateway coordinates the conversation, available tools and memory hooks.

  • Memory and browser tools

    The memory plugin searches LanceDB with vector and BM25 retrieval; Playwright controls a dedicated browser session after I sign in.

  • OpenAI

    The configured OpenAI model powers the agent responses.

Examples

From request to cart

The conversation and cart images show the agent recommendation alongside the item it added to my Shopee cart.

OpenClaw conversation about comparing gaming mice and adding a Tecware EX2 to the cart.
The conversation shows the product comparison and request to add one mouse to the cart.
Shopee cart showing one Tecware EX2 mouse.
The resulting cart contains one Tecware EX2 item.

Deployment

Local workstation
I run the gateway in Windows WSL, connected to Telegram, OpenAI and the dedicated Playwright browser.
Hosting research
I have explored what always-on hosting could look like. The agent currently runs locally while I continue experimenting with its tools and workflows.

Currently working on and future plans

  • I want to explore decision APIs such as Jev and OpenAI Decisions, then build toward more involved workflows such as a Singpass login that I explicitly authorize. Authentication and consequential actions will remain under my direct approval.

Project resources