mirror of https://github.com/kortix-ai/suna.git
13 lines
452 B
Python
13 lines
452 B
Python
from api import agents, threads
|
|
from agent import KortixAgent
|
|
from thread import KortixThread
|
|
|
|
|
|
class Kortix:
|
|
def __init__(self, api_key: str, api_url="http://localhost:8000/api"):
|
|
self._agents_client = agents.create_agents_client(api_url, api_key)
|
|
self._threads_client = threads.create_threads_client(api_url, api_key)
|
|
|
|
self.Agent = KortixAgent(self._agents_client)
|
|
self.Thread = KortixThread(self._threads_client)
|