Agent Examples

Complex multi-step task examples for Helse agent mode.

Autonomous Orchestration Examples

Distributed Systems and Full-Stack Implementation

1. Integrated Web Architecture Synthesis

Protocol: !a
Objective: "Synthesize a comprehensive task management ecosystem:

Service Layer:
- FastAPI implementation utilizing Python.
- Relative PostgreSQL persistence.
- JWT-based session management and authorization.
- CRUD orchestration for task modules.
- Schema support for hierarchical categories and metadata tags.
- Temporal logic for due dates and prioritization.

Interface Layer:
- React implementation utilizing TypeScript.
- Material-UI design system integration.
- Session-managed user registration and authentication.
- Dynamic task filtration and management interfaces.
- Responsive layout architecture.

System Metadata:
- Containerization manifest (Docker Compose) for session-isolated deployment.
- High-coverage unit validation for common service methods.
- Comprehensive implementation documentation and setup manifest.
- Interactive API reference."

2. Microservice Orchestration

Protocol: !a
Objective: "Synthesize a notification orchestration microservice:

Operational Requirements:
- Multi-channel notification delivery (Email, Mocked SMS).
- asynchronous job queue management utilizing Celery.
- RESTful interface for notification triggering and state inquiry.
- Rule-based message template synthesis.
- Exponential backoff and retry logic for delivery failures.
- Detailed telemetry and logging modules.

Infrastructure:
- FastAPI service layer.
- Redis-based message brokering.
- Persistent notification history utilizing PostgreSQL.
- Containerization manifest for environment parity.
- Comprehensive integration validation suite."

Data Science and Machine Learning Orchestration

1. Analytical Pipeline Synthesis

Protocol: !a
Objective: "Synthesize a comprehensive analytical pipeline for customer attrition modeling:

1. Data Acquisition:
   - Extract raw data from customer_data.csv.
   - Perform initial structural analysis and diagnostic assessment.
   - Identify nullity and data type inconsistencies.

2. Data Normalization:
   - Implement missing value imputation.
   - Execute deduplication protocols.
   - Standardize data type definitions.

3. Feature Synthesis:
   - Engineer domain-specific features.
   - Perform categorical encoding and numerical scaling.

4. Statistical Modeling:
   - Partition data into validation and training subsets.
   - Evaluate diverse modeling paradigms (Logistic Regression, Random Forest, XGBoost).
   - Implement K-fold cross-validation.

5. Performance Evaluation:
   - Synthesize comparative performance metrics.
   - Generate confusion matrices and diagnostic visualizations.
   - Calculate primary metrics (Precision, Recall, F1, AUC).

6. Analytical Synthesis:
   - Generate a technical Markdown report outlining findings and methodologies.
   - Incorporate core visualizations and feature importance insights.
   - Provide technical recommendations for service optimization."

2. Predictive Model Deployment

Protocol: !a
Objective: "Synthesize a deployable machine learning service:
1. Conduct training for a sentiment analysis model utilizing a movie review corpus.
2. Persist the trained model artifact.
3. Synthesize a FastAPI interface for real-time inference.
4. Integrate Pydantic-based input validation.
5. Develop a lightweight terminal-based test interface.
6. Containerize the inference service.
7. Synthesize deployment and architectural documentation."

DevOps and CI/CD Automation

1. CI/CD Pipeline Orchestration

Protocol: !a
Objective: "Synthesize a comprehensive CI/CD automation framework:
1. Architect a GitHub Actions workflow manifest.
2. Implement automated validation on every commit-push cycle.
3. Automate Docker image synthesis on the primary 'main' branch.
4. Automate artifact proliferation to the central registry.
5. Implement automated staging deployment.
6. Execute post-deployment integration validation.
7. Mandate manual authorization for production transitions.
8. Implement production deployment automation.
9. Integrate delivery telemetry and notification triggers."

2. Infrastructure as Code (IaC) Synthesis

Protocol: !a
Objective: "Synthesize an Infrastructure as Code (IaC) manifest for a distributed web application:

Specifications (Terraform):
- Virtual Private Cloud (VPC) with isolated subnet architecture.
- Scalable compute instances for service layers.
- Persistent RDS PostgreSQL storage.
- Multi-tier load balancing.
- Auto-scaling orchestration logic.
- S3-based object storage for static assets.
- CloudWatch monitoring and telemetry integration.

Deliverables:
- Modular Terraform manifests.
- Variable and state definitions.
- Output parameter manifests.
- Detailed implementation and maintenance guide."