Human UI
Bitca provides a beautiful Human UI for interacting with your humans.

from bitca.human import Human
from bitca.model.openai import OpenAIChat
from bitca.storage.human.sqlite import SqlhumanStorage
from bitca.tools.duckduckgo import DuckDuckGo
from bitca.tools.yfinance import YFinanceTools
from bitca.playground import Playground, serve_playground_app
web_human = Human(
name="Web Human",
model=OpenAIChat(id="gpt-4o"),
tools=[DuckDuckGo()],
instructions=["Always include sources"],
storage=SqlhumanStorage(table_name="web_human", db_file="humans.db"),
add_history_to_messages=True,
markdown=True,
)
finance_human = Human(
name="Finance Human",
model=OpenAIChat(id="gpt-4o"),
tools=[YFinanceTools(stock_price=True, analyst_recommendations=True, company_info=True, company_news=True)],
instructions=["Use tables to display data"],
storage=SqlhumanStorage(table_name="finance_human", db_file="humans.db"),
add_history_to_messages=True,
markdown=True,
)
app = Ambient(humans=[finance_human, web_human]).get_app()
if __name__ == "__main__":
serve_ambient_app("ambient:app", reload=True)Authenticate with bitca
Run the playground
View the playground
Demo Humans
Last updated