Skip to main content

Crate molo_coding

Crate molo_coding 

Source
Expand description

Coding-workload primitives for governed molo agents.

Re-exports§

pub use molo_harness as harness;
pub use coding::*;

Modules§

coding
Coding-workload primitives for governed agents.
effect
Effect protocol: side-effect requests and observations.
run
Structured run protocol shared by agent implementations and callers.
tool
Tool: external capabilities an agent can invoke.

Structs§

EffectRequest
Request for an outer harness to govern and execute a side effect.
ExecutionPolicy
Execution policy passed to an EffectExecutor.
OutputLimit
Output size limits.
RawEffectOutput
Raw executor output before limiter/redactor processing.
RunContext
Execution controls and host-owned metadata for one run.
SharedState
Shared state: a heterogeneous container accessed by type.
ToolContext
Context passed to a tool call.
ToolOutput
Model-visible output produced by a tool.
ToolSchema
The definition of a tool.

Enums§

EffectKind
Kind of side effect requested by an agent.
ExecutionError
Executor errors.
NetworkPolicy
Network access policy requested of an executor.
RiskLevel
Request-declared risk level.
SandboxPolicy
Filesystem/process sandbox policy requested of an executor.
ToolError
Reasons a tool call fails.
ToolResult
Result of a tool call.

Traits§

EffectExecutor
Executes an already approved effect.
Tool
A tool an agent can invoke.

Type Aliases§

RunMetadata
Request, context, or output metadata for one run.

Attribute Macros§

async_trait