sf-agent-framework
Version:
AI Agent Orchestration Framework for Salesforce Development - Two-phase architecture with 70% context reduction
195 lines (177 loc) • 5.05 kB
YAML
name: sf-core
version: 4.5.0
short-title: SF-Agent Framework Core - November 2025 Edition
description: >-
Salesforce-focused AI Agent Framework with cutting-edge AI model support (November 2025).
Supports Claude Opus 4.5 (80.9% SWE-Bench), GPT-5.1 (dynamic thinking), and Gemini 3 Pro (2M context).
Features agentic coding, computer use, generative UI, and PhD-level reasoning capabilities.
Includes 30+ specialized Salesforce agents with multi-tier variants, adaptive model selection,
prompt caching optimization, and enterprise-grade automation. Delivers 70% context reduction,
3x faster development, and up to 92% first-pass accuracy.
author: SF-Agent Team
license: MIT License
tags:
- salesforce
- sf-agent
- devops
- sfpowerscripts
- ai-agents
- development
- administration
- architecture
- framework
- enterprise
- two-phase
- context-optimization
- extended-context
- multi-model
- claude-4.5
- gpt-5
- gemini-3
- agentic-coding
- computer-use
- generative-ui
dependencies: []
slashPrefix: sf
# Two-Phase Development Configuration (Enhanced v2.0)
features:
two_phase_development:
enabled: true
config_file: config/two-phase-config.yaml
version: 2.0.0
enhancements:
- Multi-tier context support
- Extended context modes (200k-2M tokens)
- Adaptive model selection
- Prompt caching optimization
model_capabilities_2025:
enabled: true
config_file: config/model-capabilities-2025.yaml
version: 3.0.0
last_updated: 2025-11-25
supported_models:
- claude-opus-4.5 (200k, 80.9% SWE-Bench)
- claude-sonnet-4.5 (200k, 77.2% SWE-Bench)
- claude-haiku-4.5 (200k)
- gpt-5.1-instant (200k)
- gpt-5.1-thinking (200k)
- gpt-5.1-codex-max (200k, 88% Aider)
- gemini-3-pro (2M, PhD-level)
- gemini-3-deepthink (2M)
- deepseek-r1 (128k, budget)
- grok-4.1 (128k)
extended_context_modes:
enabled: true
tiers:
standard: 128k
extended: 200k
ultra: 1M+
auto_selection: true
advanced_capabilities:
extended_thinking: true
multimodal_support: true
prompt_caching: true
adaptive_context: true
cost_optimization: true
agentic_coding: true
computer_use: true
generative_ui: true
phd_level_reasoning: true
ultra_long_context_2m: true
document_sharding:
enabled: true
output_dir: docs/sharded/
smart_chunking: true
story_context_engineering:
enabled: true
story_dir: docs/stories/
adaptive_sizing: true
lean_agents:
enabled: true
agent_dir: agents/lean/
enhanced_variants: true
phase_aware_orchestration:
enabled: true
orchestrator: sf-orchestrator-v2
model_aware: true
# Enhanced Phase Configuration (Multi-Tier) - November 2025
phases:
planning:
tiers:
standard:
max_context_tokens: 200000
agent_variant: rich
models: [gpt-5.1-instant, claude-sonnet-4.5]
extended:
max_context_tokens: 200000
agent_variant: rich-extended
models: [claude-opus-4.5, gpt-5.1-thinking, claude-sonnet-4.5]
ultra:
max_context_tokens: 2000000
agent_variant: ultra-rich
models: [gemini-3-pro, gemini-3-deepthink]
default_tier: extended
primary_location: web_ui
development:
tiers:
lean:
max_context_tokens: 80000
agent_variant: lean
models: [claude-haiku-4.5, gpt-5.1-instant]
balanced:
max_context_tokens: 200000
agent_variant: balanced
models: [claude-sonnet-4.5, claude-opus-4.5, gpt-5.1-instant]
advanced:
max_context_tokens: 200000
agent_variant: advanced
models: [claude-opus-4.5, gpt-5.1-codex-max]
ultra:
max_context_tokens: 2000000
agent_variant: ultra
models: [gemini-3-pro]
default_tier: balanced
primary_location: ide
# Enhanced Context Management
context_management:
strategy: adaptive
monitoring: true
optimization: automatic
warning_threshold: 0.8
advanced_features:
smart_loading: true
priority_ordering: true
auto_summarization: true
prompt_caching: true
model_specific:
claude:
use_prompt_caching: true
cache_system_prompts: true
cache_agent_personas: true
gemini:
use_ultra_long_context: true
smart_chunking: false
openai:
use_function_calling: true
optimize_for_cost: true
# Performance Optimization
optimization:
cost_optimization:
enabled: true
prefer_economy_tier: false
auto_upgrade_on_complexity: true
performance_optimization:
parallel_processing: true
batch_similar_tasks: true
cache_responses: true
quality_optimization:
use_extended_thinking: true
enable_self_correction: true
validate_outputs: true
# Backwards Compatibility
compatibility:
legacy_agents: supported
v3_workflows: maintained
v4_0_configs: fully_compatible
migration_assistant: available
auto_upgrade: optional