Files
ARC/backend/app/agents/pm_agent.py

15 lines
484 B
Python
Raw Normal View History

2026-06-12 18:16:58 +02:00
from app.schemas.spec import ProjectSpec
async def run_pm_agent(user_input: str) -> ProjectSpec:
"""
Agent PM minimal :
- transforme l'entrée utilisateur en cahier des charges structuré
"""
return ProjectSpec(
title="Projet généré depuis demande utilisateur",
description=user_input,
requirements=["MVP minimal", "Architecture modulaire"],
constraints=["Python", "LangGraph", "Pydantic"],
target_stack="Python",
)