Re-exports§
pub use agent_loop::evaluation::ElaborateEvaluation;pub use agent_loop::evaluation::LlmJudgeEvaluation;pub use agent_loop::evaluation::PickFirstEvaluation;pub use agent_loop::evaluation::TokenEfficientEvaluation;pub use agent_loop::evaluation::TransparentEvaluation;pub use agent_loop::agent_loop;pub use agent_loop::agent_loop_continue;pub use agent_loop::agent_loop_parallel;pub use agents::SubAgentTool;pub use agents::Agent;pub use agents::AgentProfile;pub use agents::BasicAgent;pub use agents::QueueMode;pub use config::agent_from_config;pub use config::agent_from_config_with_registry;pub use config::agents_from_config;pub use config::parse_config;pub use config::parse_config_file;pub use config::AgentConfig;pub use config::ConfigError;pub use config::ConfigFormat;pub use context::skills::SkillSet;pub use context::build_context_from_session;pub use context::compact_session_loops;pub use context::BlockCompactionStrategy;pub use context::CompactedSection;pub use context::CompactionBlock;pub use context::CompactionConfig;pub use context::CompactionScope;pub use context::CompactionStrategy;pub use context::ContextConfig;pub use context::ContextTracker;pub use context::DefaultBlockCompaction;pub use context::DefaultCompaction;pub use context::TurnMap;pub use context::TurnRange;pub use provider::retry::RetryConfig;pub use session::delete_session;pub use session::list_session_ids;pub use session::load_session;pub use session::load_sessions_for_agent;pub use session::save_session;pub use session::ChildLoopRef;pub use session::LoopConfigSnapshot;pub use session::LoopEvent;pub use session::LoopRecord;pub use session::LoopStatus;pub use session::ParallelGroupRecord;pub use session::Session;pub use session::SessionError;pub use session::SessionFormation;pub use session::SessionRecorder;pub use session::SessionRecorderConfig;pub use session::SessionScope;pub use session::SpawnRef;pub use session::Turn;pub use types::*;
Modules§
- agent_
loop - Agent loop — the core execution engine for phi-core agents.
- agents
- config
- Configuration module — TOML/JSON/YAML config → Agent construction pipeline.
- context
- Context window management — smart truncation and token counting.
- mcp
- MCP (Model Context Protocol) client support.
- provider
- session
- Persistent session layer for phi-core agents.
- tools
- Built-in agent tools.
- types
- Core type definitions for phi-core.