Packages

Become the CEO of your own AI workforce, efficiently managing countless intelligent agents with minimal resources.

Current section

Files

Jump to
staff_ai src staff_ai.erl
Raw

src/staff_ai.erl

-module(staff_ai).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([main/0]).
-spec main() -> staff_ai@task:task().
main() ->
Agent = staff_ai@agent:create(
<<"John Doe"/utf8>>,
<<"AI researcher"/utf8>>,
{some,
<<"John is an AI researcher who is passionate about building AI agents
that can accomplish tasks for people. He has a PhD in AI and has been
working in the field for over 10 years.
He is excited to be a part of the Staff-AI team."/utf8>>}
),
gleam@io:debug(Agent),
Task = staff_ai@task:create(
<<"Research"/utf8>>,
<<"Research AI algorithms"/utf8>>,
{some,
<<"Research AI algorithms to find the best algorithms for building AI
agents that can accomplish tasks for people."/utf8>>}
),
gleam@io:debug(Task).