Flagship case study
AI-Enabled Automation · UI + API · Agentic Engineering
From test automation
to agentic automation
Playwright UI + API automation powered by Claude, MCP and a self-hosted vector knowledge layer.
“How do you move from writing automation scripts to building a system that can understand, generate, execute, validate and remember automation?”
- Playwright
- Claude
- Playwright MCP
- Weaviate
- Docker
- Jenkins
- Vector Search
Architecture generalized to protect confidential implementation details.
00Where it started
The question changed
- Executed through Jenkins on scheduled runs
- Executed across multiple environments
- Integrated into deployment pipelines
- Used for both UI and API automation
01The baseline
Playwright
UI + API automation
› Smoke and regression scenarios describing the behaviour to protect.
- [ Smoke ]
- [ Regression ]
- [ UI ]
- [ API ]
- [ CI/CD ]
- [ Multi-environment ]
02The old approach
The first iteration
The knowledge was reusable
but not persistent.
The agent could follow instructions, but for new automation scenarios it still needed to rediscover information from the codebase and documentation.
03The engineering problem
The context problem
Context sources
› Hover a node to see what it contributes.
The compounding cost
04The idea
Give the agent
a memory
05Why vector search?
Retrieve.
Don't rediscover.
First automation
Next automation
06API automation
API automation
Examples of retrieved context
› Hover a node to see what it contributes.
07UI automation
UI needs more context
- Weaviate→
- Test intent→
- Claude→
- Generated steps→
- Playwright MCP→
- Browser→
- UI locators→
- Execution
08Generate → execute → validate
The automation loop
Generate · Execute
Validate · Remember
01 · Test intent
What the engineer wants covered, in plain language.
An engineer stays in the loop to review output — this is assisted, not fully autonomous.
09The knowledge loop
The system remembers
Weaviate
↺ feeds back into Weaviate
10The experience
From intent
to automation
> Automate the Conda Proxy Repository implementation.
- Understanding request
- Retrieving knowledge
- Matching existing context
- Retrieving UI information
- Generating test steps
- Executing with Playwright MCP
- Validating
- Generating framework script
- Validating again
- Updating automation memory
11Architecture
The complete system
↺ back into the knowledge layer
Vector DB
Weaviate knowledge layer
Self-hosted vector database running locally in Docker; stores reusable automation knowledge.
- LLM
- RAG / Retrieval
- MCP
- Vector DB
- UI
- API
- Execution
- Validation
12Engineering impact
What changed
Knowledge reuse
Reuse previously understood automation context.
Context optimization
Reduce unnecessary repeated codebase exploration.
UI + API
Support both UI and API automation workflows.
Validation loop
Generated automation is executed and validated before becoming framework-ready.
Persistent automation knowledge
Validated context can be stored for future automation scenarios.
Agentic workflow
Move from instruction-following toward a retrieval, execution, validation and memory loop.
Qualitative outcomes only · [Add measured impact if available]
Automation was no longer just about generating test scripts.
The goal was to build an engineering system that could understand context, reuse knowledge, interact with the application, validate its own output and continuously build reusable automation knowledge.
Playwright × Claude × MCP × Weaviate