Kernel API Reference
This section provides a list of API routes in the AIOS Kernel. These routes are used to set up and manage core components like LLM, Memory, Storage, Tools, and Scheduler.
1. LLM Setup
Route: /core/llm/setup
Description: Set up the LLM core component.
Example:
2. Storage Setup
Route: /core/storage/setup
Description: Initialize the storage manager.
Example:
3. Memory Setup
Route: /core/memory/setup
Description: Set up the memory manager. Requires the storage manager to be initialized first.
Example:
4. Tool Setup
Route: /core/tool/setup
Description: Set up the tool manager.
Example:
5. Scheduler Setup
Route: /core/scheduler/setup
Description: Set up the FIFO scheduler for managing tasks.
Example:
6. Get Component Status
Route: /core/status
Description: Check the status of all components (active or inactive).
Example:
7. Agent Factory Setup
Route: /core/factory/setup
Description: Set up the agent factory for managing agent execution.
Example:
8. Submit Agent
Route: /agents/submit
Description: Submit an agent for execution using the agent factory.
Example:
9. Check Agent Status
Route: /agents/{execution_id}/status
Description: Check the status of a submitted agent.
Example:
10. Core Cleanup
Route: /core/cleanup
Description: Clean up all active components.
Example:
Last updated