Conversation
…ifying configuration
…with template-driven setup
…uration in init command
…ather_agents modules
…nt weather agent functionality
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a major overhaul to the onboarding and project templating process for the CLI, focusing on a more interactive and user-friendly
agentflow initexperience. It adds comprehensive development and production-ready templates, including configuration, environment, and example agent files, as well as production best practices such as authentication scaffolding, rate limiting, and evaluation scripts. The pre-commit configuration is also updated to exclude template files from linting, and Python 3.13 is set as the default version in templates.Onboarding and Project Initialization Improvements:
TODOD.txtis updated to outline an interactive, argument-freeagentflow initcommand. The CLI now prompts users for agent name and setup type (Quick Start or Production), and dynamically applies template files based on their choices. This sets the stage for a smoother, guided project setup.initcommand inagentflow_cli/cli/main.pyis refactored to remove the--prodflag and now always runs interactively, aligning with the new onboarding flow. [1] [2]Template System and Project Structure:
dev/) and production (prod/) templates underagentflow_cli/cli/templates/, including:.env.exampleand.python-versionfiles for both environments, with production files supporting dynamic values and conditional blocks for features like Redis and JWT. [1] [2] [3]agentflow.jsonconfigurations for both dev and prod, with the production version including authentication, rate limiting, and dependency injection settings. [1] [2]auth/agent_auth.py) and evaluation scripts (evals/weather_agents.py). [1] [2]Code Quality and Tooling:
.pre-commit-config.yamlto exclude template files from linting and security checks, preventing unnecessary pre-commit failures when generating new projects..pre-commot-config.yamlto the prod template, including a comprehensive set of hooks for code quality, security, and formatting.Python Version Standardization:
.python-versionfiles, ensuring consistency across environments.Most important changes:
Onboarding & CLI Behavior:
--prodflag and guiding users through agent name and setup type selection inagentflow init. [1] [2] [3]Template System & Project Structure:
agentflow_cli/cli/templates/. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Code Quality & Tooling:
.pre-commit-config.yamlto exclude template files from checks and added a production.pre-commot-config.yamlwith robust code quality hooks. [1] [2]Python Version Standardization:
.python-versionfiles.Configuration Enhancements:
agentflow.jsonnow includes authentication, dependency injection, and rate limiting settings for out-of-the-box best practices.