Production Systems#
What You’ll Find Here
Production-ready services for secure, scalable agentic deployments:
Human Approval System - LangGraph-native approval workflows with rich context, security analysis, and resumable execution
Data Management Framework - Unified data source integration with provider discovery, concurrent retrieval, and LLM-optimized formatting
Python Execution Service - Container-isolated code generation and execution with approval integration and flexible deployment modes
Memory Storage System - Persistent user memory with structured operations, data source integration, and approval workflows
Container Management System - Podman-based service orchestration with hierarchical discovery and Jinja2 template processing
ARIEL Search Service - Logbook search with pluggable search modules, execution pipelines, ingestion adapters, and enhancement modules
Prerequisites: Understanding of production deployment patterns and security-first development
Target Audience: DevOps engineers, security architects, production system implementers
Enterprise-grade services that transform research prototypes into production-ready agentic systems. These components provide the security, reliability, and scalability required for high-stakes scientific and industrial environments.
The Seven Pillars#
LangGraph-Native Oversight
Production-ready approval workflows with rich context, security analysis, and seamless resumption.
Unified Data Orchestration
Heterogeneous data source integration with provider discovery and concurrent retrieval.
Secure Code Execution
Container-isolated Python execution with approval integration and flexible deployment.
Persistent User Memory
Structured memory operations with data source integration and approval workflows.
Service Orchestration
Podman-based deployment with hierarchical service discovery and template processing.
Hardware Abstraction Layer
Pluggable connectors for control systems and archivers with mock and production implementations.
Logbook Search & Retrieval
Pluggable search modules, execution pipelines, ingestion adapters, and enhancement modules.
Production Integration#
These systems work together to provide comprehensive production capabilities:
How safety and oversight are maintained:
# Approval system integration
from osprey.approval import get_approval_manager
approval_manager = get_approval_manager()
# Secure execution with oversight
from osprey.services.python_executor import PythonExecutorService, PythonExecutionRequest
python_service = PythonExecutorService()
request = PythonExecutionRequest(
user_query="Analyze beam performance data",
task_objective="Generate comprehensive performance report"
)
# Service automatically pauses for human review when requires_approval: true
config = {"thread_id": "session_123"}
result = await python_service.ainvoke(request, config)
# Execution resumes after approval with audit trail
Unified data access across systems:
# Data source integration
from osprey.data_management import (
get_data_source_manager,
create_data_source_request,
DataSourceRequester
)
data_manager = get_data_source_manager()
request = create_data_source_request(
state,
requester=DataSourceRequester(
capability_name="performance_analysis",
component_name="beam_analysis"
),
query="beam current trends"
)
# Concurrent retrieval from all providers
result = await data_manager.retrieve_all_context(request)
# Memory integration
from osprey.services.memory_storage import get_memory_storage_manager, MemoryContent
from datetime import datetime
memory_manager = get_memory_storage_manager()
memory_entry = MemoryContent(
timestamp=datetime.now(),
content=f"Analysis results: {result.context_data}"
)
success = memory_manager.add_memory_entry(user_id, memory_entry)
Container orchestration for scalability:
# Container deployment configuration
deployed_services:
- jupyter # Secure execution environment
- pipelines # Processing pipeline infrastructure
- pv_finder # Application data service (e.g., ALS Assistant)
execution:
execution_method: "container" # Isolation by default
modes:
write_access:
requires_approval: true # Safety first
allows_writes: true
kernel_name: "python3-epics-write"
🚀 Next Steps
Now that you understand the production systems architecture, explore deployment and integration:
Human approval workflows with LangGraph-native interrupts and rich approval context
Container-isolated Python execution with approval integration and audit trails
Unified data source management with provider discovery and concurrent retrieval
Container orchestration with hierarchical service discovery and template processing
Logbook search service with pluggable modules, pipelines, and ingestion adapters