| Crates.io | amico-core |
| lib.rs | amico-core |
| version | 1.2.0 |
| created_at | 2025-01-16 13:38:00.535748+00 |
| updated_at | 2025-07-21 13:19:41.110563+00 |
| description | The core Agent components of the Amico AI Agent Framework |
| homepage | |
| repository | https://github.com/AIMOverse/amico |
| max_upload_size | |
| id | 1519284 |
| size | 62,445 |
This crate is a part of the Amico project, a powerful and flexible AI agent framework.
This crate provides the core engine for the Amico AI Agent Framework, including the following features:
The crate is organized as follows:
src/)agent.rs: Defines the core Agent struct that manages the event loop and event sourcesecs.rs: Provides Entity Component System (ECS) integrationerrors/: Defines error types and handling for the frameworktraits/: Core interfaces including:
Strategy: Action selection strategiesEventSource: Event generation interfacesSystem: ECS system interfaceshandlers: Event handling mechanismstypes/: Contains concrete type definitions for events, instructions, and data structures
agent_event.rs: Defines the AgentEvent structure and EventContent enuminstruction.rs: Defines agent instructions like Terminateworld/: World state management components including:
manager.rs: Core world management functionalitydelegate.rs: Delegation patterns for world operationsEventSources generate AgentEvents that are processed by the agent.Strategy trait for customizable action selection logic.EventSource trait and can be any source of information or stimuli for the agent, such as user input, timers, or external APIs.AgentEvent struct, these are high-level events that carry information from event sources to the agent. They contain metadata (name, source), optional content (data or instructions), and can have an expiry time.AgentEvents which are external stimuli, Agent Actions are implemented as ECS events (using the evenio library's Event trait). These events represent internal state changes and behaviors within the agent's world model. The Strategy component translates external AgentEvents into appropriate ECS events that modify the world state.NOTE The ECS Events will be used only in the crate's internal APIs and be hidden behind Actions in future versions.
See Amico's website https://amico.dev
This crate is released under the MIT License OR the Apache-2.0 License