Grokking Agentic Design Patterns
0% completed
Exploration: Multiple Candidates, Scoring, and Pruning
Suppose one attempt at a task succeeds 60 percent of the time, attempts are independent, and one attempt is a 10-step run, which sends 141,000 tokens under this course's standard inputs. Running several attempts and keeping a good one gives this table.
| Attempts | Chance at least one is good | Calculation | Tokens sent | Multiple of one attempt |
|---|---|---|---|---|
| 1 | 60 percent | 1 - 0.4 | 141,000 | 1 |
| 2 | 84 percent | 1 - 0.4^2 | 282,000 | 2 |
| 3 | 93.6 percent | 1 - 0.4^3 | 423,000 | 3 |
| 5 | About 99 percent | 1 - 0.4^5 | 705,000 | 5 |
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%