View Source Jido.Agent.Runtime.Syscall (Jido v1.0.0-rc.5)
Defines and handles system calls that agents can use to interact with their runtime environment.
Syscalls provide controlled access to runtime operations like process management, command scheduling, and state manipulation. Each syscall is validated and executed within the context of the calling agent's runtime.
Categories
- Process Management: Spawn, monitor, and terminate child processes
- Command Control: Schedule and manage command execution
- State Management: Access and modify runtime state
- Communication: Inter-process and inter-runtime messaging
- Resource Management: Acquire and release runtime resources
Summary
Functions
Executes a syscall within the context of a runtime.
Types
Functions
@spec execute(Jido.Agent.Runtime.State.t(), syscall()) :: {result(), Jido.Agent.Runtime.State.t()}
Executes a syscall within the context of a runtime.
Returns either a success tuple with any relevant data or an error tuple. All syscalls are logged for auditing and debugging purposes.