Expand description
ForgeKit agent layer - Deterministic AI loop.
This crate provides a deterministic agent loop for AI-driven code operations:
- Observation: Gather context from the graph
- Constraint: Apply policy rules
- Planning: Generate execution steps
- Mutation: Apply changes
- Verification: Validate results
- Commit: Finalize transaction
§Status
This crate is under active development. Observation and planning phases are implemented.
Re-exports§
pub use policy::Policy;pub use policy::PolicyReport;pub use policy::PolicyValidator;pub use policy::PolicyViolation;pub use observe::Observation;
Modules§
- commit
- Commit engine - Transaction finalization.
- mutate
- Mutation engine - Transaction-based code mutation.
- observe
- Observation phase - Graph-based context gathering.
- planner
- Planning engine - Execution plan generation from observations.
- policy
- Policy engine - Constraint validation system.
- verify
- Verification engine - Post-mutation validation.
Structs§
- Agent
- Agent for deterministic AI-driven code operations.
- Commit
Result - Result of the commit phase.
- Constrained
Plan - Result of applying policy constraints.
- Execution
Plan - Execution plan for the mutation phase.
- Mutation
Result - Result of the mutation phase.
- Verification
Result - Result of the verification phase.
Enums§
- Agent
Error - Error types for agent operations.
Type Aliases§
- Result
- Result type for agent operations.