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
Metadata
Release files for athena-starship 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| athena_starship-0.0.6.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| athena_starship-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / athena_starship-0.0.6.tar.gz
| Download URL | athena_starship-0.0.6.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7936b09462e8c0db0e60ce8d0b4f9965be85ebab58de00a29396676305b5455
|
|
BLAKE2b-256 checksum How to use checksums |
55a676e20852c53db8729a8b7ec920791689e8528202ce07d422b2646eb8ea45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0
|
Release files / athena_starship-0.0.6-py3-none-any.whl
| Download URL | athena_starship-0.0.6-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4822eaef72e97e54916e1867161909ecb67134ce20a8bb00c231b8eb0a6c3a5f
|
|
BLAKE2b-256 checksum How to use checksums |
f049d9c7b9d1d1cf4195ada63188a1a4d6b35eb77e9c5b0a177e290c69917943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0
|