GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OpenAgentPack/docs/concepts/agents-as-code.md at main · modelstudioai/OpenAgentPack

Expand file tree

/

agents-as-code.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
31 lines (19 loc) · 2.45 KB
/

agents-as-code.md

Copy path

File metadata and controls

31 lines (19 loc) · 2.45 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Agents as code

The problem

Cloud AI agents are increasingly built by clicking through provider consoles: create an environment here, upload a skill there, paste an API key, wire up an MCP server. The resulting state lives only in the console — it cannot be reviewed in a PR, rolled back, reproduced on another account, or moved to a different vendor. As agents move from "call a model API in your own code" to "assemble an agent inside a vendor console", vendor lock-in re-forms one layer up — at the managed harness.

The bet

OpenAgentPack treats an agent as infrastructure as code, the way Terraform treats cloud resources. A single agents.yaml is the desired state and the single source of truth. A Terraform-style workflow reconciles the real provider to match it:

validate → plan → apply → destroy

Because the declaration is a file, it gets everything a file gets: code review, version history, branching, rollback, and reproducibility across accounts and providers.

Two layers worth distinguishing

  • The agent harness is the provider-managed layer that wraps a model into an agent: knowledge base, skills, MCP wiring, prompt/instructions, vault, deployment, multi-agent orchestration. These are the customer's portable assets.
  • The agent infra is the interchangeable execution substrate beneath the harness — the specific provider (Bailian, Qoder, Claude, Volcengine Ark) that runs the agent.

OpenAgentPack's portability claim is that the same harness declaration can target different agent infra. Portability means the core declaration is portable and the per-provider capability contract is explicit — unsupported facets degrade gracefully (for example, an emulated Deployment on Volcengine Ark) — not that every feature is identical on every provider.

What this enables

  • Preview before mutation — plan shows every create / update / delete before any API call mutates remote.
  • Incremental runs — content-hash diffing skips unchanged resources; only what actually changed is touched.
  • Dependency-aware ordering — Environment → Skill → Agent are created in topological order; a failed dependency skips its dependents instead of leaving half-built state.
  • Drift recovery — because the YAML is the source of truth, apply reconciles remote drift back to the declaration.

Continue with Resources and State and drift for the mental model behind these behaviors.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.