# Open Agent Spec

> Open Agent Specification: describe agents and agentic workflows in a portable, framework-agnostic format. Covers Open Agent Specification. Use when describing agents with Agent Spec. Triggers: Agent Spec, Open Agent Specification.

- Skill: `scaledockhq/open-agent-spec` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx get-skill add scaledockhq/open-agent-spec`
- Raw SKILL.md: https://api.skillmd.com/api/skills/scaledockhq/open-agent-spec/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: ScaleDockHQ (https://skillmd.com/u/scaledockhq)
- Updated: 2026-11-21
- Page: https://skillmd.com/skills/scaledockhq/open-agent-spec

---


# Open Agent Specification

Open Agent Specification (Agent Spec) from Oracle is a declarative, framework-agnostic language for describing agents and agentic workflows as serialized components (agents, LLM configurations, tools, flows, nodes and edges). This skill quotes the Agent Spec 26.3.1 language specification from the oracle/agent-spec repository, pinned at the release commit.

**Follow the workflow below step by step.** Every rule here comes from a source in [Sources](#sources). Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.

## Inputs (fill in, or ask before starting)

- Role: Agent Spec configuration author, SDK author (serialization and deserialization), runtime or adapter implementer, or reviewer of an exported configuration.
- Target version: Open Agent Specification (current). See [`references/versions.md`](references/versions.md).
- Revision: the pinned revision in [Sources](#sources), unless the user names another.
- Sources: when refreshing this skill, re-read every URL in [Sources](#sources) and check the publisher for a newer revision or version line.

## Invariants

1. **Input/output schemas.** "These inputs and outputs must be declared and described in the exported configuration, so that users, developers, and other components of the Agent as well, are aware of what is exposed by component that require inputs, or provide outputs."
2. **Type compatibility rules.** "To connect a component's output to another component's input, the output type must be compatible with the input type."
3. **Validation of specified inputs/outputs.** "As a consequence, when a representation is read and imported by a runtime, or an SDK, the inputs and outputs configuration of each component must be validated against the one generated by its configuration (if any)."
4. **Component families.** "Examples: if a component is a `Flow`, it must have a start node. If a component is an Agent, it must have an LLM."
5. **OCI GenAI.** "The authentication components must not contain any sensitive information about the authentication, like secrets, API keys, passwords, etc. Users must not include this information anywhere, as exported Agent Spec configurations should never include sensitive data."
6. **Flow.** "As inputs, a flow must expose all the inputs that are defined in its StartNode."
7. **Flow.** "Note that flows must have a unique StartNode, which is defined by the `start_node` parameter, and it should appear in the list of `nodes`."
8. **I/O Data Space.** "An output must be generated before it can be used to fulfil an input."
9. **Versioning.** "Every Agent Spec configuration should include a property called `agentspec_version` at the top level."
10. **Disaggregated components.** "These disaggregated components must be provided when the main configuration is deserialized, otherwise the deserialization should fail."
11. **Sensitive fields.** "Sensitive fields should be excluded by default and represented as references."

## Workflow

1. **Pick the version.** Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.
   -> [`references/versions.md`](references/versions.md)
   ✓ The target version is recorded, and it is not a legacy line.
2. **Apply the pinned requirements.** Walk the quotes in [`references/requirements.md`](references/requirements.md) and implement each one that applies to the role.
   -> [`references/requirements.md`](references/requirements.md)
   ✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.
3. **Upgrade** (only when asked). Follow the upgrade section from the source line to the target.
   -> [`references/versions.md`](references/versions.md)
   ✓ The result cites the target line and no longer depends on a requirement that only the old line stated.

## Verify before done

- [ ] The artifact cites the target line's revision from [Sources](#sources).
- [ ] Every applicable quoted requirement in [`references/requirements.md`](references/requirements.md) holds.
- [ ] Exported configurations contain no API keys, passwords or tokens inline; sensitive fields are references supplied at load time.
- [ ] Nothing from a preview line is emitted unless its posture is build and the user opted in.

## Reference index

- **`references/versions.md`**: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.
- **`references/requirements.md`**: quotes taken from the pinned specification, grouped by source. Load for step 2.

## Related skills

Install related spec skills by name with `npx skills add ScaleDockHQ/scaledock-skills --skill <name>`: `mcp`, `a2a`, `json-schema`, `agntcy-oasf`, `langchain-agent-protocol`.

## Sources

Status uses the publishing body's own maturity term. Checked is the date the source was last read.

- [Agent Spec specification (version 26.3.1)](https://raw.githubusercontent.com/oracle/agent-spec/592a94a46cf5d90066bf5aea318a18cb112cc84f/docs/pyagentspec/source/agentspec/language_spec_26_3_1.rst): Specification, Release 26.3.1, tag agent-spec-26.3.1, commit 592a94a, 2026-09-10, checked 2026-10-06.

