Files
awesome-agentic-ai/gen_roadmap.py

107 lines
3.2 KiB
Python

# Creating stacked roadmap chart for Agentic-AI Big-Steps across quarters
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
# Define Big-Steps with their start and end quarters
big_steps = [
("Governance (37.0)", "2025-Q4", "2025-Q4"),
("Reflection (38.0)", "2026-Q1", "2026-Q1"),
("Plugin Ecosystem (39.0)", "2026-Q1", "2026-Q2"),
("Unified Control Plane (40.0)", "2026-Q2", "2026-Q3"),
("Multi-Agent Control Plane (41.0)", "2026-Q3", "2026-Q4"),
("Local Private Assistant (42.0)", "2026-Q1", "2026-Q2"),
("Model Infra Expansion (2.0)", "2026-Q2", "2026-Q4"),
("Agentic Control & Persona Mgmt (3.0)", "2026-Q3", "2026-Q4"),
("Advanced Visualization (4.0)", "2026-Q4", "2026-Q4"),
("Deployment & Scaling (5.0)", "2027-Q1", "2027-Q2"),
("Hybrid Deployment (6.0)", "2027-Q1", "2027-Q4"),
]
# Define quarters in order
quarters = [
"2025-Q4", "2026-Q1", "2026-Q2", "2026-Q3", "2026-Q4",
"2027-Q1", "2027-Q2", "2027-Q3", "2027-Q4"
]
# Map quarters to numeric positions
quarter_pos = {q: i for i, q in enumerate(quarters)}
# Plot setup
fig, ax = plt.subplots(figsize=(12, 6))
y_labels = []
y_pos = []
# Colors for different categories
colors = {
"Governance": "#1f77b4",
"Reflection": "#ff7f0e",
"Plugin": "#2ca02c",
"Control": "#d62728",
"Multi-Agent": "#9467bd",
"Assistant": "#8c564b",
"Model": "#e377c2",
"Persona": "#7f7f7f",
"Visualization": "#bcbd22",
"Deployment": "#17becf",
"Hybrid": "#aec7e8"
}
# Plot each Big-Step
for i, (label, start_q, end_q) in enumerate(big_steps):
start = quarter_pos[start_q]
end = quarter_pos[end_q]
width = end - start + 1
y = len(big_steps) - i - 1
y_labels.append(label)
y_pos.append(y)
# Determine color category
if "Governance" in label:
color = colors["Governance"]
elif "Reflection" in label:
color = colors["Reflection"]
elif "Plugin" in label:
color = colors["Plugin"]
elif "Unified" in label:
color = colors["Control"]
elif "Multi-Agent" in label:
color = colors["Multi-Agent"]
elif "Assistant" in label:
color = colors["Assistant"]
elif "Model" in label:
color = colors["Model"]
elif "Persona" in label:
color = colors["Persona"]
elif "Visualization" in label:
color = colors["Visualization"]
elif "Scaling" in label:
color = colors["Deployment"]
elif "Hybrid" in label:
color = colors["Hybrid"]
else:
color = "#cccccc"
ax.barh(y, width, left=start, height=0.6, color=color, edgecolor='black')
# Set y-axis
ax.set_yticks(y_pos)
ax.set_yticklabels(y_labels)
ax.invert_yaxis()
# Set x-axis
ax.set_xticks(range(len(quarters)))
ax.set_xticklabels(quarters)
ax.set_xlabel("Quarter")
ax.set_title("Agentic-AI Roadmap: Big-Steps Timeline")
# Add grid
ax.grid(axis='x', linestyle='--', alpha=0.6)
# Save figure
output_path = "/mnt/data/agentic_ai_bigsteps_roadmap.png"
plt.tight_layout()
plt.savefig(output_path)
print("Generated stacked roadmap chart for Agentic-AI Big-Steps across quarters.")