1use helios_engine::{Agent, Config};
2
3#[tokio::main]
4async fn main() -> helios_engine::Result<()> {
5 let config = Config::from_file("config.toml")?;
7
8 let mut agent = Agent::builder("BasicAgent")
10 .config(config)
11 .system_prompt("You are a helpful assistant.")
12 .build()?;
13
14 let response = agent.chat("Hello! How are you?").await?;
16 println!("Agent: {}", response);
17
18 let response = agent.chat("What can you help me with?").await?;
20 println!("Agent: {}", response);
21
22 Ok(())
23}