Skip to main content

Paper - Pytorch

Project description

Athena

Install

$ pip install athena-starship

Usage

python3 sam_altman.py
import os

from dotenv import load_dotenv

# Import the OpenAIChat model and the Agent struct
from swarms import Agent
from athena_starship.llama import llama
from athena_starship.memory import ChromaDB
from athena_starship.tools.google_calendar import calendar

# Load the environment variables
load_dotenv()

# Get the API key from the environment
api_key = os.environ.get("OPENAI_API_KEY")

# Initilaize the chromadb client
chromadb = ChromaDB(
    metric="cosine",
    verbose=True,
    n_results=3,
)

## Initialize the workflow
agent = Agent(
    llm=llama,
    agent_name="Sam Altman",
    agent_description="Sam Altman Agent, CEO of OpenAI.",
    system_prompt="You're Sam Altman, CEO of OpenAI.",
    max_loops="auto",
    interactive=True,
    autosave=True,
    dashboard=True,
    long_term_memory=chromadb,
    stopping_token="<DONE>",
    verbose=True,
    # tools=[calendar],
)

# Run the workflow on a task
agent.run(
    "What are the 3 traits you look for before investing in a seed"
    " stage startup?"
)

License

MIT

Todo

  • Make csv of few shot prompt examples for various tool usages
  • Make tools for airtable, google calendar, notion, gmail

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

athena_starship-0.0.5.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

athena_starship-0.0.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file athena_starship-0.0.5.tar.gz.

File metadata

  • Download URL: athena_starship-0.0.5.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0

File hashes

Hashes for athena_starship-0.0.5.tar.gz
Algorithm Hash digest
SHA256 37116a4e9c134c41519dbf1a120523d29e954ff8dd34e1b9c610f2df036d0c5f
MD5 7a44b9f1cb8818a145ad005058bdded5
BLAKE2b-256 bfc0201872d15e0094be9dfb3d2c7ea334376a631748d4aba1922aa2dd2340a1

See more details on using hashes here.

File details

Details for the file athena_starship-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: athena_starship-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0

File hashes

Hashes for athena_starship-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2e6383093fc1c8df92cd779bb15f7602d739deb08fb0c8e15d41ad7b352abbae
MD5 d59b055fe61540bcf937394af413c74e
BLAKE2b-256 992f949bea11838fce2df12731f10d763cc4132b0b49201010957de397432815

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page