Skip to content

Add Python DeepAgents blueprint agent#24

Merged
Abby263 merged 1 commit into
mainfrom
codex/llm-blueprint-agent
May 8, 2026
Merged

Add Python DeepAgents blueprint agent#24
Abby263 merged 1 commit into
mainfrom
codex/llm-blueprint-agent

Conversation

@Abby263

@Abby263 Abby263 commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a Python DeepAgents runtime under ai_agents/blueprint_agent and expose it through /api/agent
  • wire the Blueprint Agent panel to call the LLM-backed endpoint with review-before-apply proposals
  • update README, SETUP, architecture docs, and development rules for the new server-side AI Agent requirements

Verification

  • python3 -m py_compile api/agent.py ai_agents/blueprint_agent/*.py
  • npm run typecheck
  • npm run build

@vercel

vercel Bot commented May 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
product-dev-blueprint Ready Ready Preview, Comment May 8, 2026 1:54am

@Abby263 Abby263 merged commit 0798030 into main May 8, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c13b6fbd31

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

raw_patch: dict[str, Any] = {}
changes: list[dict[str, str]] = []
touched_domains: set[str] = set()
allow_existing_updates = bool(user_prompt.strip()) or mode in {"product", "architecture", "review"}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve existing fields in review mode

Do not allow blanket existing-field edits in review mode: allow_existing_updates currently includes "review", which bypasses the guard that protects non-blank/non-default user inputs. This means a readiness review can propose overwrites to already-curated fields, contradicting the mode’s “without overwriting user-entered details” behavior and making accidental regressions likely when users run review passes on mature projects.

Useful? React with 👍 / 👎.

Comment on lines +161 to +162
root = path.split(".", 1)[0]
return root in ALLOWED_NESTED_ROOTS and "." in path

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restrict proposal paths to canonical schema fields

Harden path validation beyond top-level root checks. is_allowed_path currently accepts any dotted path under allowed roots, so hallucinated paths like platform.frontend.framework or index-style paths like functional.requirements.0.title pass validation; later merge logic can replace scalar/list fields with objects, corrupting the stored Project shape and breaking downstream UI/generator assumptions.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant