OpenParable
Skip to content
← Back to skills

Self Optimization

Agent Building
self-optimization

Self Optimization is an Agent Skill for agent building published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

SONA self-optimizing neural architecture with ReasoningBank trajectory learning, EWC++ anti-forgetting, and reinforcement learning feedback loops.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/methodologies/ruflo/skills/self-optimization/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/self-optimization, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

  • Improving routing and agent selection over time
  • Adapting to new project patterns without forgetting old ones
  • Building cross-session intelligence

SONA Cycle

  1. Extract Patterns - Mine execution data for recurring patterns
  2. RETRIEVE - Search ReasoningBank for matching trajectories
  3. JUDGE - Evaluate trajectory applicability in current context
  4. DISTILL - Compress and store new entries
  5. Adapt - Update weights with EWC++ regularization

Anti-Forgetting (EWC++)

  • Elastic Weight Consolidation prevents overwriting previously learned patterns
  • Fisher information matrix tracks parameter importance
  • Configurable regularization penalty for new adaptations

RL Algorithms

Q-Learning, SARSA, PPO, DQN, A2C, TD3, SAC, DDPG, Rainbow

Agents Used

  • agents/optimizer/ - Performance tuning
  • agents/adaptive-queen/ - Real-time adaptation

Tool Use

Invoke via babysitter process: methodologies/ruflo/ruflo-intelligence