Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: npx create-ai-agent #78

Open
pkarw opened this issue Dec 10, 2024 · 2 comments
Open

feat: npx create-ai-agent #78

pkarw opened this issue Dec 10, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@pkarw
Copy link
Collaborator

pkarw commented Dec 10, 2024

Let's add CLI for creating ai-agent:

  • clone example
  • setup package.json adding dependencies to fabrice-ai
  • ask for OpenAI API Key,
  • create a new empty agent

Future:

  • prompt for what the agent is about to do and ... create the agent using fabrice-ai itself :D
@grabbou
Copy link
Collaborator

grabbou commented Dec 10, 2024

Unfortunately, the name is taken.

We don't have empty template (we should create one in examples/ folder, then, add it to the CLI and it will just work). We also don't ask for the OpenAI key, which we should do!

I'll send a follow-up if I have enough time later today!

@grabbou
Copy link
Collaborator

grabbou commented Dec 10, 2024

We should also pick the right dependencies that the template uses, so we need to add additional object: "dependencies" per each dependency, with versions, and append that to package.json manually, instead of copying the example/package.json.

@grabbou grabbou added the good first issue Good for newcomers label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants