kodeagent.examples.run_examples#

async kodeagent.examples.run_examples(agent_type: str = 'react', max_iterations: int = 5, model_name: str = 'gemini/gemini-2.0-flash-lite') None[source]#

Run KodeAgent with a list of pre-defined tasks and the choice of agent. Some of the tasks include files or URLs. The demo includes demonstrations of recurrent_mode and chat_history injection.

Parameters:
  • agent_type – Which agent to run; one of react, codeact, or fca.

  • max_iterations – Maximum iterations/steps for the agent.

  • model_name – Which model to use for the agent (LiteLLM style).