Skip to content
This repository was archived by the owner on Mar 21, 2026. It is now read-only.

feat: Agent Studio integration with real agent data - #47

Merged
limaronaldo merged 2 commits into
mainfrom
feat/studio-integration-and-cleanup
Dec 7, 2025
Merged

feat: Agent Studio integration with real agent data#47
limaronaldo merged 2 commits into
mainfrom
feat/studio-integration-and-cleanup

Conversation

@limaronaldo

Copy link
Copy Markdown
Owner

Summary

Connect the Agent Studio dashboard to real agent data from the agents crate.

Changes

New Integration Module (crates/dashboard/src/integration.rs)

  • AgentBridge: Syncs AgentFactory templates to dashboard state
  • SessionBridge: Syncs SessionStore data to dashboard sessions and messages
  • TrajectoryBridge: Converts trajectory steps to trace entries
  • DashboardBridge: Combined bridge for unified sync across all data sources
  • add_demo_data(): Populates dashboard with demo agents, sessions, messages, and traces for development/testing

Feature Flag

# Enable agents integration
rust-ai-agents-dashboard = { version = "0.1", features = ["agents"] }

Usage Example

use rust_ai_agents_dashboard::{DashboardBridge, DashboardServer, add_demo_data};
use rust_ai_agents_agents::{factory::AgentFactory, session::MemorySessionStore, trajectory::TrajectoryStore};

// Create bridges
let bridge = DashboardBridge::new(factory, session_store, trajectory_store, dashboard.state());

// Sync all data
bridge.sync_all().await?;

// Or add demo data for testing
add_demo_data(&dashboard.state());

Testing

  • cargo check -p rust-ai-agents-dashboard --features agents - with integration
  • cargo check -p rust-ai-agents-dashboard - without integration (default)
  • cargo clippy clean

Related

  • Part of Agent Studio v2 polishing
  • Enables the UI to display real agent sessions, traces, and metrics

- Add EncryptedSessionStoreWrapper for transparent session encryption
- Add EncryptedCheckpointStoreWrapper for transparent checkpoint encryption
- Use envelope encryption with AAD (thread_id/session_id)
- Add base64 dependency for storing encrypted data in session state
- Add 3 unit tests for encrypted session operations
- Wire encryption crate as optional dependency with 'encryption' feature
- Add integration module with bridges for agents, sessions, and trajectories
- AgentBridge syncs AgentFactory templates to dashboard state
- SessionBridge syncs SessionStore data to dashboard sessions/messages
- TrajectoryBridge converts trajectory steps to trace entries
- DashboardBridge combines all bridges for unified sync
- Add demo data function for development/testing
- Add optional 'agents' feature flag for integration
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@limaronaldo
limaronaldo merged commit 438db26 into main Dec 7, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant