- By doing test-driven development
- By developing in small sprints
- By having a lot of contact with the customer
I remember reading a thesis about Cowboy Development, that is essentialyessentially Agile for solo developers, but I can't remember where I found it.
Edit:
The The thesis can be read here: Cowboy: An Agile Programming Methodology For a Solo Programmer (PDF)