-
Notifications
You must be signed in to change notification settings - Fork 488
Add custom universes #352
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
Add custom universes #352
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| [ | ||
| "Fry", | ||
| "Leela", | ||
| "Bender", | ||
| "Farnsworth", | ||
| "Zoidberg", | ||
| "Amy", | ||
| "Zapp", | ||
| "Kif" | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,6 +82,53 @@ Key files to understand: | |
| - **`agents/{name}/history.md`** — Learnings accumulated over sessions. This is how agents get smarter. | ||
| - **`decisions.md`** — Every agent reads this before starting work. One decision propagates to the whole team. | ||
|
|
||
| ### Custom Universes | ||
|
boclifton-MSFT marked this conversation as resolved.
|
||
|
|
||
| If you would like to create a custom universe to name your squad members, add the universe name to the `.squad/templates/casting-policy.json` at the end of the `allowlist_universes` list like this: | ||
|
|
||
| ```json | ||
| ... | ||
| "allowlist_universes": [ | ||
| "The Usual Suspects", | ||
| "Reservoir Dogs", | ||
| "Alien", | ||
| "Ocean's Eleven", | ||
| "Arrested Development", | ||
| "Star Wars", | ||
| "The Matrix", | ||
| "Firefly", | ||
| "The Goonies", | ||
| "The Simpsons", | ||
| "Breaking Bad", | ||
| "Lost", | ||
| "Marvel Cinematic Universe", | ||
| "DC Universe", | ||
| "CEOs of Major Tech Companies (custom)", | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you just leave this line in and remove the actual NAMES? I bet it would just work. :)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yeah, I think it would work for known values (like the CEOs example), but the fun part for me is being able to provide values for universe characters that the LLM won't already know (like my family, for instance). I'll remove the CEOs example and replace it with something fictional. Good point about not using real names :)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in b21f566 |
||
| "Futurama (custom)" | ||
| ], | ||
| ... | ||
| ``` | ||
|
|
||
| Then create a new JSON file in `.squad/templates/casting/<Full-Universe-Name>.json` with an array of names, like this: | ||
|
|
||
| ```json | ||
| // .squad/templates/casting/CEOs-of-Major-Tech-Companies.json | ||
| [ | ||
| "Satya Nadella", | ||
| "Tim Cook", | ||
| "Sundar Pichai", | ||
| "Elon Musk", | ||
| "Mark Zuckerberg", | ||
| "Jeff Bezos", | ||
| "Sheryl Sandberg", | ||
| "Susan Wojcicki", | ||
| "Jack Dorsey", | ||
| "Reed Hastings" | ||
| ] | ||
| ``` | ||
|
|
||
| You can use anything you like here, from key historical figures to people in your own life. How about having George Washington and Abraham Lincoln working on your project? How about Albert Einstein, Marie Curie, and Nicolaus Copernicus? Or even your own family?? Make it your own! | ||
|
|
||
| --- | ||
|
|
||
| ## 4. Your First SDK Script | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.