SShortSingh.
Back to feed

Apidog CLI lets AI agents update API specs safely with branch isolation

0
·1 views

Manually editing API specifications is error-prone, so developers are turning to AI agents to automate tasks like renaming fields, adding enum values, or making parameters required. The Apidog CLI provides guardrails for this process, including local validation, isolated AI branches, and human-reviewed merges before changes go live. A key technical constraint is that Apidog's update commands replace entire objects rather than merging arrays or properties, meaning agents must always fetch the full resource, modify it locally, validate it, then rewrite it completely. To prevent unintended changes to production contracts, the recommended workflow involves creating a dedicated AI branch from the main branch before any modifications are made. Resources must also be explicitly imported into the AI branch using a pick-to command, since AI branches start empty and do not automatically clone content from the source branch.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Study Shows Agentic AI Workflows Should Evolve Into Deterministic Code Over Time

A paper titled 'Progressive Crystallization' proposes a lifecycle model for AI agentic workflows, arguing that repeated tasks should gradually shift from autonomous agent execution to deterministic, codified workflows. In a real-world cloud-network operations system, this approach increased deterministic executions from 0% to 45% over eight months while cutting per-incident agent costs by over 70%. The framework defines three execution types: agent-orchestrated, hybrid, and fully deterministic, with maturity meaning less reliance on runtime AI inference for known problems. A companion paper, 'Compiled AI', supports this direction by showing a 96% task completion rate using zero execution tokens after an LLM generates and validates a reusable artifact upfront. Together, the research argues that treating agentic workflows as fixed architectures is inefficient, and that enterprise teams benefit most by reserving AI autonomy for novel, unseen problems.

0
ProgrammingDEV Community ·

Developer Uses FROST Family Governance Model to Build AI-Powered Learning Community

A developer known as Shentong Shuo published a technical article on July 15, 2026, describing how they applied the FROST multi-agent governance framework to automate student support for a solo-run training bootcamp. The bootcamp, called 'Breaking Through: Dynamic Capability Growth Camp,' faced operational strain as repetitive student queries consumed significant daily effort across 15 learners. Using FROST's hierarchical model — which maps AI agent roles to family archetypes such as Ancestor, Scout, Soldier, and Elder — the developer designed a system where AI handles roughly 80% of routine questions automatically. Only complex issues involving complaints, refunds, or privacy are escalated to a human instructor. The article includes working Python code demonstrating how each agent role handles classification, response generation, and human escalation within the learning community pipeline.

0
ProgrammingDEV Community ·

Graph-Anchor Pyramid (GAP) Framework Aims to Fix LLM Multi-Hop Retrieval Gaps

A developer published a follow-up to their Pyramid Aggregator architecture after a reader identified a critical flaw: the system assumed all relevant documents were already retrieved, leaving root-cause documents unconnected to symptoms by semantic similarity alone. In real-world environments like SRE and cybersecurity, root causes and visible symptoms are often separated by layers of system logic, meaning standard vector search can miss causally linked but semantically distant documents. To address this, the team developed GAP (Graph-Anchor Pyramid), which combines Graph-RAG, Topology-Aware Leaf Grouping, and Prompt-Level Semantic Anchoring into a single framework. The approach is designed to recover complete causal chains in multi-document synthesis tasks without the lossy compression introduced by intermediate natural language summaries. The framework has been validated across two generations of Google's Gemini models, according to the author.

0
ProgrammingDEV Community ·

30 AI Models Ranked by Cost: How Developers Can Cut API Bills Significantly

A software developer sharing findings on DEV Community discovered that AI model pricing varies by as much as 100x, with some models costing as little as $0.01 per million output tokens compared to $3.50 for top-tier options. The article categorizes roughly 30 models into pricing tiers to help developers match model capability to task complexity and budget. Ultra-low-cost models such as Qwen3-8B and GLM-4-9B are recommended for simple tasks like text classification and basic Q&A, while mid-range options like DeepSeek V4 Flash offer stronger performance at $0.25 per million output tokens. A unified API gateway called Global API was highlighted as a tool that allows developers to switch between models using a single endpoint and one parameter change. The author argues that starting with cheaper models during experimentation can dramatically reduce costs before committing to more expensive, high-performance alternatives.