Skip to content

jpgtzg/Cerebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cerebra

Cerebra is an AI orchestrator for LLM applications.

Features

  • LLM orchestration
  • LLM agent creation
  • LLM agent execution
  • LLM agent monitoring
  • LLM agent evaluation
  • LLM agent feedback

Installation

pip install cerebra

Usage

from cerebra import Cerebra

cerebra = Cerebra()

# Define available LLM's
llm_1 = cerebra.define_llm(name="llm_1", model="gpt-4o", api_key="your_api_key")

# Define orchestrator
orchestrator = cerebra.create_orchestrator(name="orchestrator", llms=[llm_1])

# Execute an LLM agent
response = orchestrator.execute(prompt="What is the capital of France?")

# The agent will return a response and a status containing information about which LLM was used and the time it took to generate the response.
print(response)

About

AI orchestrator for LLM applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages