1Line 2- to 3-cup rectangular (or whatever shape you prefer) container with 2 layers cheesecloth, allowing cheesecloth to hang over sides.
2Whisk together soymilk and agar flakes in saucepan. Bring to a simmer over medium heat, and cook 8 minutes, or until agar dissolves completely and mixture is thick, stirring frequently.
3Blend nuts, oil, lemon juice, wine, garlic, granulated onion, salt, and pepper in blender or food processor 5 minutes, or until smooth, scraping down sides frequently. Add soymilk mixture, and blend 2 minutes more, or until smooth. Transfer mixture to cheesecloth-lined container; smooth top. Fold overhanging cheesecloth over cheese.
4Refrigerate 1 hour, or until firm. Unwrap, slice, and serve.