@prefix :       <https://openai.com/index/the-next-evolution-of-the-agents-sdk#> .
@prefix schema: <http://schema.org/> .
@prefix skos:   <http://www.w3.org/2004/02/skos/core#> .
@prefix org:    <http://www.w3.org/ns/org#> .
@prefix dbo:    <http://dbpedia.org/ontology/> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:    <http://www.w3.org/2002/07/owl#> .
@prefix xsd:    <http://www.w3.org/2001/XMLSchema#> .

# ─────────────────────────────────────────────────────────────
# LIGHTWEIGHT ONTOLOGY
# ─────────────────────────────────────────────────────────────

:Industry a rdfs:Class ;
    rdfs:label "Industry Vertical"@en ;
    rdfs:comment "A business vertical impacted by AI application pricing and architecture dynamics."@en .

:AIInfrastructureIndustry rdfs:subClassOf :Industry ;
    rdfs:label "AI Infrastructure Industry"@en .

:SoftwareDevelopmentIndustry rdfs:subClassOf :Industry ;
    rdfs:label "Software Development Industry"@en .

:hasSecurityPosture a rdf:Property ;
    rdfs:label "Security Posture"@en ;
    rdfs:domain :Industry ;
    rdfs:range xsd:string .

:hasScaleReadiness a rdf:Property ;
    rdfs:label "Scale Readiness"@en ;
    rdfs:domain :Industry ;
    rdfs:range xsd:string .

# ─────────────────────────────────────────────────────────────
# CORE ENTITIES
# ─────────────────────────────────────────────────────────────

:analysis a schema:CreativeWork ;
    schema:name "The Next Evolution of the Agents SDK"@en ;
    schema:headline "Building secure, reliable, and long-running agentic applications"@en ;
    schema:abstract "An overview of OpenAI's updated Agents SDK featuring a model-native harness and native sandbox execution for building robust agentic systems."@en ;
    schema:url <https://openai.com/index/the-next-evolution-of-the-agents-sdk/> ;
    schema:datePublished "2026-04-15"^^xsd:date ;
    schema:author :openAI ;
    schema:publisher :openAI ;
    schema:about :agentsSDK, :nativeSandboxExecution, :agentHarness ;
    schema:keywords "AI Agents, Agents SDK, native sandbox, E2B, long-running agents, agent harness, secure execution, AI infrastructure"@en ;
    schema:hasPart :faqSection, :glossarySection, :howtoSection ;
    schema:relatedLink
        <https://github.com/openai/openai-python>,
        <https://e2b.dev/> .

:openAI a schema:Organization, org:Organization ;
    schema:name "OpenAI"@en ;
    schema:url <https://openai.com> ;
    schema:identifier "https://openai.com" ;
    rdfs:seeAlso <http://dbpedia.org/resource/OpenAI> .

:e2b a schema:Organization, org:Organization ;
    schema:name "E2B"@en ;
    schema:url <https://e2b.dev> ;
    schema:identifier "https://e2b.dev" .

# ─────────────────────────────────────────────────────────────
# DISRUPTION & MARKET DYNAMICS
# ─────────────────────────────────────────────────────────────

:agentsSDK a schema:Product ;
    schema:name "OpenAI Agents SDK"@en ;
    schema:description "An updated developer framework for building complex agentic applications capable of file inspection, long-horizon tasks, and secure code execution."@en ;
    schema:featureList
        "Model-native harness for agent loops"@en ,
        "Native sandbox execution via E2B"@en ,
        "Persistent state across files and multi-step tasks"@en ,
        "Pre-configured development libraries/tools"@en .

:nativeSandboxExecution a schema:Product ;
    schema:name "Native Sandbox Execution"@en ;
    schema:description "A protected execution environment for untrusted agent-generated code, removing the need for developers to manage isolated infrastructure."@en .

:agentHarness a schema:SoftwareApplication ;
    schema:name "Agent Harness"@en ;
    schema:description "The logic and decision-making engine separated from compute resources, standardising workflows across different agent architectures."@en .

# ─────────────────────────────────────────────────────────────
# INDUSTRY VERTICAL INSTANCES
# ─────────────────────────────────────────────────────────────

:cloudInfrastructureVertical a :AIInfrastructureIndustry ;
    schema:name "Development and AI Infrastructure"@en ;
    schema:description "Providers of sandbox environments, cloud computing, and execution harnesses necessary for frontier model operations."@en ;
    :hasSecurityPosture "High" ;
    :hasScaleReadiness "High" ;
    schema:naics "518210" ;
    schema:identifier "https://www.census.gov/naics/?input=518210&year=2022&details=518210" ;
    rdfs:seeAlso <http://dbpedia.org/resource/Cloud_computing> .

:softwareVertical a :SoftwareDevelopmentIndustry ;
    schema:name "Platform and Software Development"@en ;
    schema:description "Companies and individual developers building agentic workflows requiring safe code execution and multi-step reasoning capabilities."@en ;
    :hasSecurityPosture "High" ;
    :hasScaleReadiness "Significant" ;
    schema:naics "541511" ;
    schema:identifier "https://www.census.gov/naics/?input=541511&year=2022&details=541511" ;
    rdfs:seeAlso <http://dbpedia.org/resource/Software_development> .

# ─────────────────────────────────────────────────────────────
# ORGANISATIONS MENTIONED
# ─────────────────────────────────────────────────────────────

:unitedStates a schema:Country ;
    schema:name "United States"@en ;
    schema:identifier "US" .

# ─────────────────────────────────────────────────────────────
# FAQ SECTION — exactly 12 questions
# ─────────────────────────────────────────────────────────────

:faqSection a schema:FAQPage ;
    schema:name "OpenAI Agents SDK — Frequently Asked Questions"@en ;
    schema:mainEntity :q1, :q2, :q3, :q4, :q5, :q6, :q7, :q8, :q9, :q10, :q11, :q12 ;
    schema:isPartOf :analysis .

:q1 a schema:Question ;
    schema:name "What is the primary purpose of the updated Agents SDK?"@en ;
    schema:acceptedAnswer :a1 .
:a1 a schema:Answer ;
    schema:text "To help developers build more secure, reliable, and long-running agentic applications without needing to manage complex, isolated infrastructure themselves."@en .

:q2 a schema:Question ;
    schema:name "What are the two major infrastructure features introduced?"@en ;
    schema:acceptedAnswer :a2 .
:a2 a schema:Answer ;
    schema:text "A model-native harness for managing the agent loop and native sandbox execution for running untrusted code securely."@en .

:q3 a schema:Question ;
    schema:name "Why do frontier models need a model-native harness?"@en ;
    schema:acceptedAnswer :a3 .
:a3 a schema:Answer ;
    schema:text "They require more than direct, simple tool access—they need an environment similar to a developer’s terminal to align execution paths with their native reasoning patterns."@en .

:q4 a schema:Question ;
    schema:name "How does the native sandbox handle security?"@en ;
    schema:acceptedAnswer :a4 .
:a4 a schema:Answer ;
    schema:text "It isolates agent-generated, potentially untrusted code and tools in a protected environment away from the application's core infrastructure."@en .

:q5 a schema:Question ;
    schema:name "Who provides the underlying sandbox technology?"@en ;
    schema:acceptedAnswer :a5 .
:a5 a schema:Answer ;
    schema:text "The native sandbox execution is powered by E2B's secure and scalable sandbox infrastructure."@en .

:q6 a schema:Question ;
    schema:name "Can these agents perform multi-step tasks?"@en ;
    schema:acceptedAnswer :a6 .
:a6 a schema:Answer ;
    schema:text "Yes, the SDK is explicitly designed for long-horizon tasks and persistent environments, maintaining state across multiple steps and file interactions."@en .

:q7 a schema:Question ;
    schema:name "Are tools included with the native sandbox environments?"@en ;
    schema:acceptedAnswer :a7 .
:a7 a schema:Answer ;
    schema:text "Yes, the sandboxes come equipped with pre-configured development libraries and common utilities for immediate use."@en .

:q8 a schema:Question ;
    schema:name "Why separate the 'harness' from the 'compute' resources?"@en ;
    schema:acceptedAnswer :a8 .
:a8 a schema:Answer ;
    schema:text "It enhances security by containing untrusted logic safely, and enables independent, optimised scaling of tool execution versus primary decision-making servers."@en .

:q9 a schema:Question ;
    schema:name "Is the updated Agents SDK available yet?"@en ;
    schema:acceptedAnswer :a9 .
:a9 a schema:Answer ;
    schema:text "Yes, the SDK is available to all developers as of April 15, 2026. The native sandbox execution feature is currently in public beta."@en .

:q10 a schema:Question ;
    schema:name "How is the sandbox execution priced?"@en ;
    schema:acceptedAnswer :a10 .
:a10 a schema:Answer ;
    schema:text "Pricing is based on the active time the sandbox is running, and OpenAI offers a free tier for initial development, testing, and exploration."@en .

:q11 a schema:Question ;
    schema:name "Can agents edit and inspect files?"@en ;
    schema:acceptedAnswer :a11 .
:a11 a schema:Answer ;
    schema:text "Absolutely. File inspection, running terminal commands, and editing code files are core capabilities unlocked by the new execution environment."@en .

:q12 a schema:Question ;
    schema:name "What is the long-term vision behind these updates?"@en ;
    schema:acceptedAnswer :a12 .
:a12 a schema:Answer ;
    schema:text "OpenAI views autonomous agents as a fundamental component of the AI future and intends to continually expand SDK capabilities to support this ecosystem."@en .

# ─────────────────────────────────────────────────────────────
# GLOSSARY — exactly 10 terms
# ─────────────────────────────────────────────────────────────

:glossarySection a skos:ConceptScheme, schema:DefinedTermSet ;
    schema:name "Agents SDK Glossary"@en ;
    schema:description "Ten defined terms spanning Agent Architecture and AI Infrastructure."@en ;
    schema:hasDefinedTerm
        :termAgentHarness, :termSandboxExecution, :termLongHorizonTask,
        :termAgentLoop, :termFrontierModel, :termStatePersistence,
        :termComputeIsolation, :termUntrustedCode, :termE2B, :termAgenticApplication ;
    schema:isPartOf :analysis .

:termAgentHarness a schema:DefinedTerm ;
    schema:name "Agent Harness"@en ;
    schema:description "The logical and structural wrapper around an AI model that handles observation, decision loops, and standardizes how it interacts with external tools."@en ;
    skos:definition "Logic engine controlling the interaction loops of an AI agent."@en .

:termSandboxExecution a schema:DefinedTerm ;
    schema:name "Sandbox Execution"@en ;
    schema:description "Running code in a tightly controlled, isolated environment to prevent malicious or accidental disruption of wider systems."@en ;
    skos:definition "Isolated environment for safely running code."@en .

:termLongHorizonTask a schema:DefinedTerm ;
    schema:name "Long-Horizon Task"@en ;
    schema:description "A complex objective requiring an agent to execute many sequential steps, persist state, and adapt to changing conditions over an extended period."@en ;
    skos:definition "Complex, multi-step task requiring state persistence."@en .

:termAgentLoop a schema:DefinedTerm ;
    schema:name "Agent Loop"@en ;
    schema:description "The continuous cycle where an AI model observes an environment, reasons about the next action, executes a tool, and evaluates the outcome."@en ;
    skos:definition "Observe, reason, act, evaluate cycle."@en .

:termFrontierModel a schema:DefinedTerm ;
    schema:name "Frontier Model"@en ;
    schema:description "State-of-the-art AI models exhibiting the highest levels of reasoning, often requiring sophisticated harnesses and environments to reach their potential."@en ;
    skos:definition "State-of-the-art AI model with advanced reasoning capabilities."@en .

:termStatePersistence a schema:DefinedTerm ;
    schema:name "State Persistence"@en ;
    schema:description "The ability of a system to remember file changes, variables, and context between separate steps of a long-running agentic workflow."@en ;
    skos:definition "Maintaining changes and context across execution cycles."@en .

:termComputeIsolation a schema:DefinedTerm ;
    schema:name "Compute Isolation"@en ;
    schema:description "Separating the computational resources used to execute potentially dangerous tools from the secure servers running the primary application logic."@en ;
    skos:definition "Physical or virtual separation of risky tool execution from core apps."@en .

:termUntrustedCode a schema:DefinedTerm ;
    schema:name "Untrusted Code"@en ;
    schema:description "Code generated autonomously by an AI model that has not been vetted by a human, and thus carries security or reliability risks."@en ;
    skos:definition "AI-generated code unverified by human developers."@en .

:termE2B a schema:DefinedTerm ;
    schema:name "E2B"@en ;
    schema:description "A provider of secure cloud sandboxes specifically engineered to provide execution environments for AI agents and code interpreters."@en ;
    skos:definition "Provider of robust sandbox environments for AI agents."@en .

:termAgenticApplication a schema:DefinedTerm ;
    schema:name "Agentic Application"@en ;
    schema:description "Software designed primarily around autonomous AI agents that can explore, reason, and use tools to achieve user-defined goals."@en ;
    skos:definition "Software fundamentally driven by autonomous AI agents."@en .

# ─────────────────────────────────────────────────────────────
# HOWTO — exactly 7 steps
# ─────────────────────────────────────────────────────────────

:howtoSection a schema:HowTo ;
    schema:name "How to Build Robust Systems with the Agents SDK"@en ;
    schema:description "A 7-step execution framework leveraging the new native harness and sandbox features."@en ;
    schema:step :step1, :step2, :step3, :step4, :step5, :step6, :step7 ;
    schema:isPartOf :analysis .

:step1 a schema:HowToStep ;
    schema:name "Adopt the Native Harness"@en ;
    schema:text "Migrate from basic tool-calling to the SDK's model-native harness to align your agent's loops with the natural reasoning patterns of frontier models."@en ;
    schema:position 1 .

:step2 a schema:HowToStep ;
    schema:name "Enable Native Sandbox Execution"@en ;
    schema:text "Turn on the E2B-powered sandbox environment to automatically isolate any untrusted code execution away from your core infrastructure."@en ;
    schema:position 2 .

:step3 a schema:HowToStep ;
    schema:name "Leverage Pre-Configured Libraries"@en ;
    schema:text "Avoid reinventing the wheel by utilising the common development tools and libraries that are shipped natively inside the secure sandboxes."@en ;
    schema:position 3 .

:step4 a schema:HowToStep ;
    schema:name "Design for Persistence"@en ;
    schema:text "Configure your agents to rely on state persistence, allowing them to inspect files, edit code, and maintain context across extended multi-step operations."@en ;
    schema:position 4 .

:step5 a schema:HowToStep ;
    schema:name "Separate Harness from Compute"@en ;
    schema:text "Structure your application architecture to explicitly divide decision-making logic processing (the harness) from the tool execution load (the compute)."@en ;
    schema:position 5 .

:step6 a schema:HowToStep ;
    schema:name "Optimise Active Time Costs"@en ;
    schema:text "Since billing is tied to active sandbox time, optimise long-horizon workflows to pause or collapse environments during extended idle periods."@en ;
    schema:position 6 .

:step7 a schema:HowToStep ;
    schema:name "Utilise the Free Tier for Testing"@en ;
    schema:text "Run the entirety of your initial staging and prototype workflows within the provided free tier before unleashing agents into scaled production scenarios."@en ;
    schema:position 7 .
