### Sandbox Agents This release adds **Sandbox Agents**, a beta SDK surface for running agents with a persistent, isolated workspace. Sandbox agents keep the normal `Agent` and `Runner` flow, but add workspace manifests, sandbox-native capabilities, sandbox clients, snapshots, and resume support so agents can work over real files, run commands, edit repositories, generate artifacts, and continue work across runs. Key pieces: - `SandboxAgent`: an `Agent` with sandbox defaults such as `default_manifest`, sandbox instructions, capabilities, and `run_as`. - `Manifest`: a fresh-workspace contract for files, directories, local files, local directories, Git repos, environment, users, groups, and mounts. - `SandboxRunConfig`: per-run sandbox wiring for client creation, live session injection, serialized session resume, manifest overrides, snapshots, and materialization concurrency limits. - Built-in capabilities for shell access, filesystem editing and image inspection, skills, memory, and compaction. - Workspace snapshots and serialized sandbox session state for reconnecting to existing work or seeding a fresh sandbox from saved contents. ### Sandbox clients and hosted providers Sandbox agents now support local, containerized, and hosted execution backends: - `UnixLocalSandboxClient` for fast local development. - `DockerSandboxClient` for container isolation and image parity. - Hosted sandbox clients for Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, and Vercel through optional extras. The release also adds provider-specific examples and mount strategies for common storage backends, including S3, Cloudflare R2, Google Cloud Storage, Azure Blob Storage, and S3 Files where supported by the selected backend. ### Sandbox memory Adds a sandbox memory capability that lets future sandbox-agent runs learn from prior runs. Memory stores extracted lessons in the sandbox workspace, injects a concise summary into later runs, and uses progressive disclosure so agents can search deeper rollout summaries only when useful. Memory supports: - Read-only or generate-only modes. - Live updates when the agent discovers stale memory. - Multi-turn grouping through `conversation_id`, SDK `Session`, `RunConfig.group_id`, or generated run IDs. - Separate memory layouts for isolating memory across agents or workflows. - S3-backed examples for persisted memory across runs. ### Workspace mounts, snapshots, and resume This release adds a full workspace entry and mount model for sandbox sessions: - Local files and directories. - Synthetic files and directories. - Git repository entries. - Remote storage mounts for S3, R2, GCS, Azure Blob Storage, and S3 Files. - Provider-specific mount strategies across Docker, Modal, Cloudflare, Blaxel, Daytona, E2B, and Runloop. - Portable snapshots with path normalization, symlink preservation, mount-safe snapshotting, and remote snapshot support. - Resume paths through runner-managed `RunState`, explicit `SandboxSessionState`, or saved snapshots. ### Examples and tutorials Adds a large `examples/sandbox/` suite covering: - Local Unix and Docker sandbox runners. - Docker mount smoke tests for S3, GCS, Azure Blob Storage, and S3 Files. - Sandbox coding tasks with skills. - Sandbox agents as tools and handoff patterns. - Memory examples, including multi-agent/multi-turn memory and S3-backed memory. - Tax-prep and healthcare-support workflows. - Dataroom QA and metric extraction tutorials. - Repository code review tutorial. - Vision website clone tutorial. - Provider examples for Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, Temporal, and Vercel. ### Runtime, tracing, and model plumbing The release includes the runtime plumbing needed to make sandbox agents work naturally inside the existing SDK: - Runner-managed sandbox preparation, capability binding, session lifecycle, state serialization, and resume behavior. - Sandbox-aware `RunState` serialization. - Unified sandbox tracing with SDK spans. - Token usage on tracing spans. - Runner-managed prompt cache key defaults. - OpenAI agent registration and harness ID configuration. - Safer redaction of sensitive MCP tool outputs when sensitive tracing is disabled. - Additional OpenAI client/model utilities and Chat Completions coverage. ## Documentation & Other Changes - docs: add Asqav to external tracing processors list. - docs: update translated document pages. Co-authored-by: Abdulrahman Alfozan <alfozan@openai.com> Co-authored-by: Aditya Singh <60082699+adityasingh2400@users.noreply.github.com> Co-authored-by: Andi Liu <andi@openai.com> Co-authored-by: Aron <263346377+aron-cf@users.noreply.github.com> Co-authored-by: ashwinnathan-openai <ashwinnathan@openai.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: cploujoux <cploujoux@blaxel.ai> Co-authored-by: elainegan-openai <168589666+elainegan-openai@users.noreply.github.com> Co-authored-by: Elias Freider <freider@users.noreply.github.com> Co-authored-by: Erik Dunteman <erik@erikds-macbook-air.local> Co-authored-by: Jason Liu <jasonliu@openai.com> Co-authored-by: Jason Steving <32336750+jasonsteving99@users.noreply.github.com> Co-authored-by: Kazuhiro Sera <seratch@openai.com> Co-authored-by: Lovre Pešut <lovre.pesut@gmail.com> Co-authored-by: Lucas Wang <lucas_wang@lucas-futures.com> Co-authored-by: Matt Brockman <matt.brockman@e2b.dev> Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com> Co-authored-by: Naresh <ghostwriternr@gmail.com> Co-authored-by: nicholasclark-openai <nicholasclark@openai.com> Co-authored-by: qiyaoq-oai <qiyaoq@openai.com> Co-authored-by: Scott Trinh <scott@scotttrinh.com> Co-authored-by: tode-rl <tony@runloop.ai> Co-authored-by: Wendy Jiao <wendyjiao@openai.com>
240 lines
7.6 KiB
Python
Executable file
240 lines
7.6 KiB
Python
Executable file
"""Generate the synthetic dataroom fixture files."""
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
def pdf_escape(text: str) -> str:
|
|
return text.replace("\\", "\\\\").replace("(", "\\(").replace(")", "\\)")
|
|
|
|
|
|
def write_plain_pdf(path: Path, lines: list[str]) -> None:
|
|
content_lines = ["BT", "/F1 11 Tf", "50 760 Td", "14 TL"]
|
|
for index, line in enumerate(lines):
|
|
operator = "Tj" if index == 0 else "T* Tj"
|
|
content_lines.append(f"({pdf_escape(line)}) {operator}")
|
|
content_lines.append("ET")
|
|
stream = "\n".join(content_lines).encode("utf-8")
|
|
|
|
objects = [
|
|
b"<< /Type /Catalog /Pages 2 0 R >>",
|
|
b"<< /Type /Pages /Kids [3 0 R] /Count 1 >>",
|
|
b"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] "
|
|
b"/Contents 4 0 R /Resources << /Font << /F1 5 0 R >> >> >>",
|
|
b"<< /Length "
|
|
+ str(len(stream)).encode("ascii")
|
|
+ b" >>\nstream\n"
|
|
+ stream
|
|
+ b"\nendstream",
|
|
b"<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>",
|
|
]
|
|
|
|
pdf = bytearray(b"%PDF-1.4\n")
|
|
offsets = [0]
|
|
for index, body in enumerate(objects, start=1):
|
|
offsets.append(len(pdf))
|
|
pdf.extend(f"{index} 0 obj\n".encode("ascii"))
|
|
pdf.extend(body)
|
|
pdf.extend(b"\nendobj\n")
|
|
|
|
xref_offset = len(pdf)
|
|
pdf.extend(f"xref\n0 {len(objects) + 1}\n".encode("ascii"))
|
|
pdf.extend(b"0000000000 65535 f \n")
|
|
for offset in offsets[1:]:
|
|
pdf.extend(f"{offset:010d} 00000 n \n".encode("ascii"))
|
|
pdf.extend(
|
|
(
|
|
"trailer\n"
|
|
f"<< /Size {len(objects) + 1} /Root 1 0 R >>\n"
|
|
"startxref\n"
|
|
f"{xref_offset}\n"
|
|
"%%EOF\n"
|
|
).encode("ascii")
|
|
)
|
|
path.write_bytes(pdf)
|
|
|
|
|
|
def write_financial_pdf(path: Path, title: str, lines: list[str], rows: list[list[str]]) -> None:
|
|
write_plain_pdf(path, [title, *lines, *(" | ".join(row) for row in rows)])
|
|
|
|
|
|
def write_fixture_text(data_dir: Path, filename: str, content: str) -> None:
|
|
(data_dir / filename).write_text(content.strip() + "\n", encoding="utf-8")
|
|
|
|
|
|
def main() -> None:
|
|
data_dir = Path(__file__).resolve().parent
|
|
write_fixture_text(
|
|
data_dir,
|
|
"10-k-mdna-overview.txt",
|
|
"""
|
|
UNITED STATES
|
|
SECURITIES AND EXCHANGE COMMISSION
|
|
Washington, D.C. 20549
|
|
|
|
FORM 10-K
|
|
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
|
|
For the fiscal year ended December 31, 2025
|
|
|
|
HelioCart, Inc.
|
|
|
|
PART II
|
|
Item 7. Management's Discussion and Analysis of Financial Condition and Results of Operations
|
|
|
|
Revenue for fiscal 2025 was $1,284 million, compared with $1,008 million in fiscal 2024.
|
|
The increase was driven primarily by Platform revenue growth from merchant fraud
|
|
decisioning and payment orchestration workloads.
|
|
|
|
Gross margin improved to 71.4% in fiscal 2025 from 68.2% in fiscal 2024 because a higher
|
|
mix of transaction volume ran on lower-cost model serving infrastructure.
|
|
|
|
Operating income was $186 million in fiscal 2025, compared with $118 million in fiscal 2024.
|
|
Management uses "net revenue" and "revenue" interchangeably in this MD&A section.
|
|
""",
|
|
)
|
|
write_fixture_text(
|
|
data_dir,
|
|
"10-k-mdna-liquidity.txt",
|
|
"""
|
|
UNITED STATES
|
|
SECURITIES AND EXCHANGE COMMISSION
|
|
Washington, D.C. 20549
|
|
|
|
FORM 10-K
|
|
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
|
|
For the fiscal year ended December 31, 2025
|
|
|
|
HelioCart, Inc.
|
|
|
|
PART II
|
|
Item 7. Management's Discussion and Analysis of Financial Condition and Results of Operations
|
|
|
|
Liquidity and capital resources. Net cash provided by operating activities was $248 million
|
|
in fiscal 2025, compared with $192 million in fiscal 2024, primarily because of higher
|
|
cash collections and improved operating margins.
|
|
|
|
Capital expenditures were $86 million in fiscal 2025 and $73 million in fiscal 2024.
|
|
Free cash flow, a non-GAAP measure defined as operating cash flow less capital
|
|
expenditures, was $162 million in fiscal 2025 and $119 million in fiscal 2024.
|
|
""",
|
|
)
|
|
write_fixture_text(
|
|
data_dir,
|
|
"10-k-note-segments.txt",
|
|
"""
|
|
UNITED STATES
|
|
SECURITIES AND EXCHANGE COMMISSION
|
|
Washington, D.C. 20549
|
|
|
|
FORM 10-K
|
|
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
|
|
For the fiscal year ended December 31, 2025
|
|
|
|
HelioCart, Inc.
|
|
|
|
PART II
|
|
Item 8. Financial Statements and Supplementary Data
|
|
|
|
Note 4. Revenue by reportable segment
|
|
|
|
Platform segment revenue was $942 million in fiscal 2025 and $711 million in fiscal 2024.
|
|
Services segment revenue was $342 million in fiscal 2025 and $297 million in fiscal 2024.
|
|
|
|
Management refers to Platform revenue as "Subscription and transaction platform revenue"
|
|
in some tables; treat that label as the same Platform segment revenue metric.
|
|
""",
|
|
)
|
|
write_fixture_text(
|
|
data_dir,
|
|
"10-k-note-geography.txt",
|
|
"""
|
|
UNITED STATES
|
|
SECURITIES AND EXCHANGE COMMISSION
|
|
Washington, D.C. 20549
|
|
|
|
FORM 10-K
|
|
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
|
|
For the fiscal year ended December 31, 2025
|
|
|
|
HelioCart, Inc.
|
|
|
|
PART II
|
|
Item 8. Financial Statements and Supplementary Data
|
|
|
|
Note 5. Revenue by geography
|
|
|
|
Americas revenue was $764 million in fiscal 2025, EMEA revenue was $343 million,
|
|
and APAC revenue was $177 million. Those regional line items reconcile to the
|
|
company-wide revenue figure disclosed in MD&A.
|
|
""",
|
|
)
|
|
write_fixture_text(
|
|
data_dir,
|
|
"10-k-note-balance-sheet.txt",
|
|
"""
|
|
UNITED STATES
|
|
SECURITIES AND EXCHANGE COMMISSION
|
|
Washington, D.C. 20549
|
|
|
|
FORM 10-K
|
|
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
|
|
For the fiscal year ended December 31, 2025
|
|
|
|
HelioCart, Inc.
|
|
|
|
PART II
|
|
Item 8. Financial Statements and Supplementary Data
|
|
|
|
Note 7. Selected balance sheet metrics
|
|
|
|
Cash and cash equivalents were $422 million as of December 31, 2025, compared with
|
|
$351 million as of December 31, 2024. Deferred revenue was $402 million as of
|
|
December 31, 2025, compared with $337 million as of December 31, 2024.
|
|
""",
|
|
)
|
|
|
|
write_financial_pdf(
|
|
data_dir / "10-k-statements-of-operations.pdf",
|
|
"Consolidated Statements of Operations",
|
|
[
|
|
"The table below presents annual operating results for fiscal 2025 and fiscal 2024.",
|
|
"Revenue and net revenue refer to the same top-line measure for this synthetic filing.",
|
|
],
|
|
[
|
|
["Metric", "FY2025", "FY2024"],
|
|
["Net revenue", "1,284", "1,008"],
|
|
["Gross profit", "917", "687"],
|
|
["Operating income", "186", "118"],
|
|
],
|
|
)
|
|
write_financial_pdf(
|
|
data_dir / "10-k-balance-sheets.pdf",
|
|
"Consolidated Balance Sheets",
|
|
[
|
|
"The table below presents selected balance sheet amounts as of December 31, 2025 and 2024.",
|
|
"Amounts are shown in USD millions.",
|
|
],
|
|
[
|
|
["Metric", "2025", "2024"],
|
|
["Cash and cash equivalents", "422", "351"],
|
|
["Accounts receivable", "211", "187"],
|
|
["Deferred revenue", "402", "337"],
|
|
],
|
|
)
|
|
write_financial_pdf(
|
|
data_dir / "10-k-statements-of-cash-flows.pdf",
|
|
"Consolidated Statements of Cash Flows",
|
|
[
|
|
"The table below presents selected annual cash flow metrics for fiscal 2025 and 2024.",
|
|
"Net cash provided by operating activities is also described as operating cash flow in MD&A.",
|
|
],
|
|
[
|
|
["Metric", "FY2025", "FY2024"],
|
|
["Net cash provided by operating activities", "248", "192"],
|
|
["Capital expenditures", "86", "73"],
|
|
["Free cash flow", "162", "119"],
|
|
],
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|