Skip to content

Add a CodeAct context provider #26

Description

@shibayan

Priority

P3

Goal

Provide a reusable CodeAct execution provider with explicit safety and isolation boundaries.

Scope

  • Define code-generation and execution lifecycle contracts.
  • Support a pluggable sandboxed executor.
  • Enforce timeout, resource, output, and capability limits.
  • Capture execution results and telemetry for agent context.
  • Add security-focused tests, documentation, and a sample.

Acceptance criteria

  • Generated code never executes outside the configured sandbox abstraction.
  • Timeout, cancellation, output truncation, and execution failures are deterministic.
  • No ambient credentials or filesystem access are exposed by default.
  • The executor is replaceable and testable without running untrusted code.
  • Documentation clearly states the security model and non-goals.

Dependency

Uses the common hosted execution context for cancellation, identity, and tracing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agentsUsage: [Issues, PRs], Target: single-agent runtime and APIsfoundryUsage: [Issues, PRs], Target: Microsoft Foundry integrations

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions