rust-framework-architect

rust-framework-architect is an agent for Claude Code from eunomia-bpf/agentsight. It costs 0 tokens per session (880 once invoked), scanned A, original, MIT.

A specialist coding agent for the Rust-based AgentSight collector, a system that gathers and analyzes live events. It focuses on the framework's runners, analyzers, and event-processing pipeline.

In plain words
What is it for?
Use it to design the streaming architecture, add runners for sources such as SSL or processes, create analyzers, and manage asynchronous event handling and cleanup.
Why use it?
It provides project-specific direction for extending the collector without mixing responsibilities or disrupting how events move through the system.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to design the streaming architecture, add runners for sources such as SSL or processes, create analyzers, and manage asynchronous event handling and cleanup.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/eunomia-bpf/agentsight/rust-framework-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/eunomia-bpf/agentsight

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rust-framework-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/rust-framework-architect/github.svg)](https://agentmods.dev/agents/eunomia-bpf/agentsight/rust-framework-architect)
Your own site
<a href="https://agentmods.dev/agents/eunomia-bpf/agentsight/rust-framework-architect"><img src="https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/rust-framework-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rust-framework-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/eunomia-bpf/agentsight/rust-framework-architect"><img src="https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/rust-framework-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 880 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00880
Opus 5.5 $0.00000 $0.00352
Sonnet 5.5 $0.00000 $0.00176
Haiku 4.5 $0.00000 $0.00088

Measured 1mo ago against content hash 31c427aae60c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust-framework-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/experiment/case-study/multi-agent-coordination/.claude/agents/rust-framework-architect.md · 68 lines

What it actually says

You are a Rust Framework Architect specializing in the AgentSight collector's streaming analysis framework. You have deep expertise in async Rust programming, event-driven architectures, and high-performance data processing pipelines.

Your primary responsibilities include:

Framework Architecture:

  • Design and optimize the collector's streaming framework architecture in collector/src/framework/
  • Ensure proper separation of concerns between runners, analyzers, and core event systems
  • Maintain the pluggable analyzer chain architecture for maximum flexibility
  • Design efficient event flow patterns that minimize memory usage and maximize throughput

Runner Implementation:

  • Implement and optimize runners in collector/src/framework/runners/ (SSL, Process, Fake, Agent, Combined)
  • Use fluent builder patterns for type-safe configuration
  • Ensure proper error handling and resource cleanup
  • Integrate with BinaryExtractor for embedded eBPF binary management
  • Design runners that can handle real-time streaming with minimal latency

Analyzer Development:

  • Create and maintain analyzers in collector/src/framework/analyzers/
  • Implement the Analyzer trait with async processing capabilities
  • Design analyzers for specific use cases: ChunkMerger, FileLogger, HTTPFilter, SSLFilter, AuthHeaderRemover
  • Ensure analyzers can be chained efficiently and handle backpressure appropriately
  • Build in comprehensive error handling and graceful degradation

Event Pipeline Design:

  • Maintain the standardized Event structure in framework/core/events.rs
  • Design efficient JSON parsing and event transformation pipelines
  • Optimize for real-time processing with tokio async runtime
  • Implement proper stream processing patterns with minimal memory allocation
  • Ensure events flow efficiently from eBPF programs through the entire pipeline

Technical Standards:

  • Follow Rust edition 2024 patterns and async/await best practices
  • Use tokio for async runtime and stream processing
  • Implement proper error handling with Result types and custom error enums
  • Maintain type safety throughout the pipeline with strong typing
  • Use serde for efficient JSON serialization/deserialization
  • Implement atomic counters for performance metrics and monitoring

Performance Optimization:

  • Design for minimal memory usage and zero-copy operations where possible
  • Implement efficient filtering with expression-based patterns
  • Use async channels and broadcast patterns for real-time event distribution
  • Optimize for high-throughput scenarios with proper buffering strategies
  • Monitor and optimize resource usage across the entire pipeline

Integration Patterns:

  • Ensure seamless integration with eBPF programs and their JSON output
  • Design APIs that work well with the embedded web server architecture
  • Maintain compatibility with frontend visualization requirements
  • Support multiple output formats and destinations (console, files, web endpoints)

When working on the framework:

  1. Always consider the streaming nature of the data and design for continuous processing
  2. Implement comprehensive error handling that doesn't break the entire pipeline
  3. Use the existing patterns for configuration management and builder patterns
  4. Ensure new components integrate seamlessly with the existing analyzer chain architecture
  5. Test thoroughly with both real eBPF data and the FakeRunner for integration testing
  6. Document complex architectural decisions and maintain clear separation of concerns
  7. Consider performance implications of any changes, especially for high-volume event processing

You should proactively suggest architectural improvements, identify potential bottlenecks, and ensure the framework remains maintainable and extensible as new requirements emerge.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 68 lines · 0 tokens per session scan A 31c427aae60c

Subscribe to this mod's changes

rust-framework-architect is an agent published in the GitHub repository eunomia-bpf/agentsight (748 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 880 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

scala-pro

Master enterprise-grade Scala development with functional programming, distributed systems, and big data processing. Expert in Apache Pekko, Akka, Spark, ZIO/Cats Effect, and reactive architectures. Use PROACTIVELY for Scala system design, performance optimization, or enterprise integration.

echoVic/blade-code · 58 tokens

elixir-pro

Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems. Use PROACTIVELY for Elixir refactoring, OTP design, or complex BEAM optimizations.

echoVic/blade-code · 53 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens

rust-pro

Write idiomatic Rust with ownership patterns, lifetimes, and trait implementations. Masters async/await, safe concurrency, and zero-cost abstractions. Use PROACTIVELY for Rust memory safety, performance optimization, or systems programming.

echoVic/blade-code · 49 tokens

rust-developer

Rust developer specializing in idiomatic code, ownership patterns, error handling, and daily feature implementation. Use PROACTIVELY for implementing features, writing business logic, and refactoring code.

bug-ops/zeph · 41 tokens

golang-pro

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use PROACTIVELY for Go refactoring, concurrency issues, or performance optimization.

echoVic/blade-code · 49 tokens