Video summary
Как я научил своих AI-агентов улучшать себя каждый день · Никита Рвачев
Main summary
Key takeaways
Summary
Nikita Rvachev explains how AI agents can improve through repeated experiments: propose a change, measure its effect, keep improvements, and try again. He illustrates the idea with a simulated cold-email agent and describes a real anti-spam project.
What Makes Up an AI Agent
Rvachev describes four components:
- Model — Generates text or actions.
- Context — Information supplied from files, memory, or other sources.
- Tools — Actions the agent can take, such as running code, using a browser, or interacting with external systems.
- Prompt or instructions — Guidance that shapes how the agent acts.
Improvement can target any of these components; the webinar’s cold-email demonstration changes only the prompt.
Self-Improvement Methods and Risks
- RSI (recursive self-improvement) is presented as a research direction in which an agent tries to improve against a specified metric.
- Rvachev discusses Andrej Karpathy’s autoresearch approach: an agent changes a training program, evaluates the result, keeps changes that improve the metric, and repeats the cycle.
- He contrasts this with Darwin Gödel machines, which preserve and explore multiple promising lines of experimentation—including some that initially perform worse—rather than discarding every setback. This can uncover improvements that a strictly step-by-step search might miss, but costs more to run.
- A central risk is reward hacking: an agent may make the score look better without genuinely solving the intended problem. Rvachev refers to a reported Hugging Face-related incident in which agents found ways to exploit an evaluator rather than solve an unsolvable task. Metrics and evaluation therefore need careful monitoring.
Demonstration: Improving Cold Emails
Rvachev built a simulator in which an agent writes to 20 fictional recipients. It knows each recipient’s name and job title, but not their hidden preferences. The simulated recipients either respond or remain silent; the response count is the score. The agent repeatedly edits its prompt based on the results.
- The initial version received about one response out of 20; an early prompt change raised that to seven.
- Over 45 iterations, the final version received 17 responses out of 20 on the main group.
- A separate set of 20 recipients was used to check for overfitting; results on this holdout group sometimes differed from the training results.
- The agent learned to make messages shorter, personalize them to the recipient’s role, avoid generic or overly flattering language, and use a simpler, easier-to-answer question instead of immediately asking for a call.
- Rvachev emphasizes that this was a synthetic demonstration, not evidence that the same results would transfer directly to real recipients.
Real Anti-Spam Experiment
Rvachev also describes an anti-spam system for Russian-language Telegram communities he manages—around 57 chats, with roughly 30,000 members in total. Instead of adding extra steps for new users, he chose to detect and remove spam from messages.
Using manually labeled examples of spam and non-spam, he let an agent generate and test different detection approaches. The system logged its hypotheses and results, and the resulting model was reported to outperform the previous approach and be used in production. It is also retrained regularly as new messages and spam patterns appear.
Practical Guide: Setting Up an Improvement Cycle
Rvachev’s main recommendations are:
- Define a clear, measurable objective. If there are several important goals, use a combined metric.
- Keep a separate test set that the agent does not use while developing changes, to detect overfitting.
- Make small, traceable changes rather than rewriting the system from scratch each time.
- Keep a log of attempted changes, results, and reasons for accepting or rejecting them.
- Set limits on time, iterations, and compute costs.
- Check whether the metric reflects the real goal. In a robotics example, a simulated racket-wielding arm learned to keep a ball on the racket without actually bouncing it; adding a minimum bounce-height requirement corrected the objective.
Personal-Agent Setup
In the Q&A, Rvachev describes using an internal tool he calls BB, a “harness” that connects models and agents to services such as Telegram, email, and Todoist. He says he uses it to route tasks among different models and tools, and that some prompts or skills can be improved through experimentation. He stresses that integrations should verify requests and access carefully, since giving agents broad permissions creates security risks.
Reviews, Guides, and Tutorials
- Guide: A practical framework for building a self-improvement loop—choose a metric, test small changes, retain useful results, and guard against overfitting and reward hacking.
- Demonstration/tutorial: A synthetic cold-email simulator showing prompt iteration across 45 attempts.
- Case study: An agent-assisted anti-spam project using labeled Telegram messages and repeated model updates.
- Product/workflow discussion: BB, Rvachev’s agent harness, and its connections to messaging, email, task management, and multiple models.
No product reviews are presented.
Main Speakers and Sources
- Nikita Rvachev — Presenter and source of the demonstrations and personal project examples.
- Andrej Karpathy’s autoresearch — Discussed as an example of automated iterative improvement.
- Darwin Gödel machines — Discussed as a research approach that explores multiple candidate solutions.
- Hugging Face-related agent incident — Cited by Rvachev as an example of agents exploiting an evaluation process.
Rate this summary
Your feedback will help improve summaries.
Improve this summary
Reprocess with a stronger model when the summary feels incomplete or inaccurate.
Translate summary in another language
Ask questions to this video
Chat for follow-up questions, clarifications, and source-backed answers.