Skip to content

v0.10.0 - Debug Watch Triggers

Latest

Choose a tag to compare

@divshekhar divshekhar released this 30 Mar 19:46

[0.10.0] - 2026-03-31

Added

Syrin Debug — Live Terminal Debugging

  • Rich-based live terminal UI activated via debug=True
  • Color-coded events: LLM (blue), tools (yellow), errors (red), memory (purple), guardrails (red)
  • Multi-agent aware — nested panels for spawned agents
  • Keyboard filtering: e errors, t tools, m memory, f full trace, q quit, p pause

Event-Driven Triggers (agent.watch())

  • Watchable mixin with swappable protocols
  • CronProtocol — cron-scheduled triggers using croniter
  • WebhookProtocol — HTTP webhook trigger with HMAC signature validation
  • QueueProtocol — message queue trigger with pluggable backend (Redis, in-memory)
  • Agents that react to the world, not just API calls

Production Knowledge Pool

  • GitHubSource — ingest entire GitHub repos (public and private)
  • DocsSource — crawl documentation sites with depth limits and pattern matching
  • Multi-language code chunking (Python, Go, Rust, TypeScript, Java, etc.)
  • Progress events: KNOWLEDGE_CHUNK_START, KNOWLEDGE_CHUNK_PROGRESS, KNOWLEDGE_EMBED_PROGRESS, KNOWLEDGE_CHUNK_END
  • Semantic chunking strategy for better retrieval
  • Rate limiting for embedding APIs

Prompt Injection Defense

  • InputNormalization — normalize inputs through defense pipeline
  • SpotlightDefense — clearly label untrusted content
  • CanaryTokens — hidden tokens that trigger alerts
  • Secure memory writes — scan before storing

Structured Output Enforcement

  • result.output always returns the typed object (never dict/str)
  • Automatic retry on validation failure (configurable validation_retries)
  • Validation hooks: Hook.OUTPUT_VALIDATION_RETRY, Hook.OUTPUT_VALIDATION_ERROR
  • Clear error messages with raw response and validation details

Runtime Model Switching

  • agent.switch_model() — switch model at runtime without recreating agent
  • Context, memory, and hooks remain intact