hey welcome back in this video we’re
going to talk about baby AGI which is an
AI powered task management system
essentially you set a goal and it
creates prioritizes and executes on
tasks to accomplish that goal almost
fully autonomously and so I actually
tweeted out the author of this and I
asked what’s the purpose of this and he
gave me a kind of a cheeky response in
the purpose is it’s finding its purpose
very similar to humans and so in this
video I’m going to talk a little bit
about it then we’re going to go through
the install process and then we’re going
to play around with it a little bit
let’s get into it and so let’s look at
How It Works
the how it works section the script
works by running an infinite Loop that
does the following steps it pulls the
first task from the task list it sends
the task to an execution agent which
uses open ai’s API to complete the task
based on the context it enriches the
result and stores it in Pine Cone
Pinecone seems to be the storage place
of preference for a lot of these
projects then it creates new tasks and
re-prioritizes the existing task list
based on the overall goal so let’s get
into the install of course the first
thing we have to do is clone the
repository so at the top of the GitHub
Installation
page we’re going to click this green
code button and we’re going to copy the
link then we’re going to switch over to
our terminal and we’re going to say git
clone and then we’ll paste the link
hit enter
there it cloned the repository to my
desktop next we’re going to change
directory into it so CD Baby AGI enter
and now we’re in the baby AGI folder
next we’re going to install the python
requirements so if you don’t have python
installed on your computer go ahead and
install that now it’s pretty
straightforward you could do a Google
search for how to install python so
let’s grab this piece of code pip
install Dash R requirements.txt we’re
going to switch back to our terminal
paste enter

このビデオでは
このビデオでは、Baby AGIについてお話します。
AIを搭載したタスク管理システムです。
基本的には、目標を設定すると
優先順位をつけ、実行する。
その目標を達成するためのタスクをほぼ自律的に
そのため、私は実際に
この作者をツイートしました。
この製品の目的は何ですか?
と尋ねたら、彼は生意気にもこう答えてくれました。
その目的は、人間と非常によく似た目的を見つけることです。
このビデオでは、その目的について、人間と非常によく似ている
このビデオでは、その目的について少しお話したいと思います。
このビデオでは、この製品について少しお話した後、インストールの手順について説明します。
インストール方法を説明し、その後
ちょっとだけ遊んでみましょう。
では、さっそく見ていきましょう。
どのように動作するのか
スクリプトの動作について
無限ループを実行することで動作します。
次のステップを実行します。
タスクリストから最初のタスクを取り出し、そのタスクを
タスクは実行エージェントに送られ
オープンAIのAPIを使用してタスクを完了させる
コンテキストに基づき、その結果をエンリッチし
その結果をPine Coneに保存する
Pineconeは、このような多くのタスクの保存場所として好まれているようです
このようなプロジェクトの多くは、Pine Coneを保存場所として選好しているようです。
そして、新しいタスクを作成し
既存のタスクリストに優先順位を付け直します。
全体的な目標に基づき、新しいタスクの作成と既存のタスクリストの再優先化を行います。
インストールに入りましょう。
もちろん、まずはリポジトリのクローンを作成しなければなりません。
リポジトリをクローンします。
インストール
のページの一番上にある、この緑色の
をクリックし、そのリンクをコピーします。
リンクをコピーし、ターミナルに切り替えて
ターミナルに切り替えて git
cloneを実行し、リンクを貼り付けます。
エンターキーを押す
すると、リポジトリがデスクトップにクローンされました。
デスクトップにクローンされました。
ディレクトリに移動して、CD Baby AGI と入力します。
これでBaby AGIのフォルダに入りました。
次に、pythonをインストールします。
をインストールします。
がインストールされていない場合は、先にそれをインストールしてください。
をインストールしてください。
Googleで検索してください。
pythonのインストール方法についてGoogleで検索してみてください。
このコードを見てみましょう。
インストール Dash R requirements.txt です。
ターミナルに戻り
をペーストしてください。
and there it goes and most of these it
looks like I already had installed
probably from Auto GPT next we’re going
to open up baby AGI in Visual Studio
code or whatever editor is your
preference next we’re going to change
the name of dot m.example to be just Dot
N
hit enter we’re going to go in here and
we’re going to see what we need so we
need open API key we need an open API
model so it defaults to Chachi PT 3.5
turbo but we can use gpt4 if we want and
then we’re going to need our pine cone
information so let’s go over to open AI
we’re on the API Keys page we’ll create
a new key I’ll copy it
switch back over to the dot m file and
I’ll paste it in line two next we’re
going to need to know which model I have
access to gpt4 but if you don’t you can
use GPT 3.5 but I’m going to type gpt4
hit save next we’re going to need to
grab our pine cone information so head
on over to pinecone.io and if you don’t
already have an account just sign up for
one it’s completely free and you can
have one index which is really like one
project on the left side we’re going to
click the API Keys Tab and we’re going
to grab our API key come back to dot end
file and paste it on line four where it
says pine cone API key next we’re going
to need our pine cone environment so it
comes with one pre-populated but that’s
not the one we have so you can find the
environment on the API Keys page so
we’re going to copy it mine is us west4
gcp come back here we’ll update that and
we’re going to save and I’m going to
change these API Keys before publishing
this video so next we need to update the
rest of our end file so the table name
we’ll just call it test table that’s
fine the objective we’re going to use an
objective of
grow my Twitter following
and the first task will be to
put together
a list of interesting content for
Twitter
we’ll save now it says here
alternatively you can add the objective
directly in the command line but I
always prefer running these python files
from visual studio so that’s what we’ll
be doing so here it is babyagi dot pi
and we’re going to go ahead and click
play now usually the first time you do
Testing It
this it takes a little while because
pine cone needs to get initialized with
its new database so keep that in mind so
we’re already getting some outputs using
gpt4 potentially expensive monitor your
costs objective grow my Twitter
following and at this point it’s
probably setting up the Pinecone
database which is why it’s taking a
little while so switching back to
Pinecone while it’s going it does still
say initializing which I think is why
it’s hanging right now so we’ll wait for
that to finish but it should be finished
pretty soon
okay here we go task lists put together
a list of interesting content for
Twitter new task same thing and if we go
back to Pinecone it shows ready so
that’s why we’re going now so at this
point I think it’s probably pinging GPT
4’s API endpoint which is why we’re
waiting now and there it is Task result
inspirational quotes engaging questions
memes and Gifts behind the scenes
content polls so it came up with an
entire list of things that we can use to
grow the Twitter following and this is
going to keep running it’s going to
create new tasks based on the previous
task and continue to run over and over
again okay here we go now the task list
is curate a collection of memes and
Gifts schedule daily inspirational
quotes plan weekly engaging questions
Series so the next one on the list it
has reprioritized it and now we’re going
to curate a collection of memes and gifs
so this runs continuously and I’m really
excited to see these different projects
that are essentially fully autonomous AI
working on your behalf I couldn’t
imagine a world in which I have ai
running in the background doing things
that I need to do all day long and
saving me a bunch of time and so that’s
で、そのほとんどが、すでにインストールされているようです。
すでにインストールされているようです。
おそらくAuto GPTからインストールされていると思います。
ベイビーAGIをVisual Studioで開きます。
コードでもエディターでも、お好きなものを選んでください。
次に、dot m.exampleの名前を変更します。
dot m.exampleの名前をDot(ドット)に変更します。
N
エンターキーを押してください。
必要なものを確認します。
オープンAPIキーが必要で、オープンAPI
モデルなので、デフォルトはChachi PT 3.5
ターボですが、必要であればgpt4も使用できます。
そして、松ぼっくりの情報が必要です。
の情報が必要なので、open AIに移動しましょう。
APIキーのページで、新しいキーを作成します。
新しいキーを作成し、それをコピーします
ドットエムファイルに戻り
2行目に貼り付けます。
どのモデルにアクセスできるかを知る必要がある
GPT4が使えますが、そうでない場合は
GPT 3.5を使用することもできますが、ここではgpt4と入力します。
保存を押してください。
松ぼっくりの情報を取得する必要があります。
pinecone.ioにアクセスし、まだアカウントをお持ちでない方は
アカウントをお持ちでない方は、サインアップしてください。
完全に無料です。
一つのインデックスを持つことができます。
を持つことができます。
APIキー」タブをクリックします。
APIキーを取得し、ドットエンドに戻り
ファイルに戻り、4行目の「pine cone API key」のところに貼り付けます。
pine cone API keyと書いてあるところに貼り付けます。
松ぼっくり環境が必要です。
あらかじめ入力されていますが、これは
ないため、APIキーのページで環境を確認できます。
環境はAPIキーのページにあります。
それをコピーして、私のはus west4
gcpはここに戻ってきて、更新します。
保存します。
この動画を公開する前にAPI Keysを変更します。
このビデオを公開する前にAPIキーを変更します。
テーブル名
テストテーブルと呼ぶことにします。
テーブル名はtest tableとします。
目的
Twitterのフォロワーを増やす
最初のタスクは
まとめる
のための興味深いコンテンツのリストを作成することです。
ツイッター
今すぐ保存しますと書いてあります
あるいは、コマンドラインで目的語を
をコマンドラインで直接追加することもできますが、私は
このようなpythonファイルをビジュアルスタジオから実行するのが好きです。
をビジュアルスタジオから実行するのが好きなので、そうすることにします。
ここでは、babyagi dot piです。
をクリックしてください。
をクリックします。通常、最初に行うのは
テストする
を初めて行うときは、少し時間がかかります。
松ぼっくりが新しいデータベースで初期化される必要があるためです。
新しいデータベースを初期化する必要があるためです。
すでにいくつかの出力が得られています
gpt4 潜在的に高価なモニター
を使った出力が既に得られています。
を増やす、この時点では
おそらく松ぼっくりのデータベースをセットアップしているのでしょう
データベースを構築しているため、少し時間がかかっています。
少し時間がかかるので、Pineconeに切り替えて
Pineconeに戻すと、まだ初期化中と表示されます。
初期化中と表示され、それが原因で
ということだと思います。
終了するのを待ちますが、すぐに終了するはずです。
すぐに終わるはずです
では、タスクリストを作成します。
のための興味深いコンテンツのリストをまとめる
Twitter用の面白いコンテンツのリストを作成する 新しいタスクも同じです。
Pineconeに戻ると準備ができたと表示されます。
ということで、今、行っています。
GPT4のAPIエンドポイントにpingを打っているのでしょう。
4 の API エンドポイントに ping していると思うので、今待っている。
ということで、今、待機中です。
インスピレーションを刺激する名言、魅力的な質問
舞台裏のミームやギフト
コンテンツ・ポールがあります。
Twitterのフォロワー数を増やすために使えるものがリストアップされました。
Twitterのフォロワーを増やすためのリストが出来上がりました。
実行し続けることができます。
前のタスクに基づいた新しいタスクを作成し
何度も何度も実行し続ける
タスクリスト
は、ミームのコレクションをキュレートし
ギフトのスケジュール 毎日インスピレーションを与える
引用を計画する 毎週魅力的な質問をする
シリーズなので、リストの次の1つは
を再優先しています。
ミームとGIFのコレクションを作成する。
ミームやGIFのコレクションをキュレーションすることになりましたので、これは継続的に実行されますし、私は本当に
このような様々なプロジェクトを見るのが楽しみです。
このような様々なプロジェクトが、実質的に完全な自律型AIであり
このようなさまざまなプロジェクトに出会うと、本当にわくわくします。
バックグラウンドでAIが動いている世界なんて
バックグラウンドで動いていて
一日中やってくれて
時間を節約することができる。