Better HN
topnewbestaskshowjobs
Log inSign up

timconnors

4 karma · joined Jan 16, 2020 (6y ago) · 10 submissions

Submissions

comment 3y ago · link · parent

GPTeam is a completely customizable group of AI agents, with independent personalities, memories, and directives.

We were inspired by the Stanford "Generative Agents" paper and decided to make an implementation that anyone could run.

1 Run setup.py 2 Enter openai api key 3 Customize config.json 4 And run it!

Each agent runs this loop: - Observe new events - Decide how to react - Plan, if we need to - Carry out the top plan - Reflect, if its time to

When it observes new events, it assigns an importance score based on how poignant the event is, then stores it in memory.

When an agent is executing a plan, it first gathers relevant memories based on Recency (exponential decay function), Relevancy (based on semantic embeddings), and Importance.

The agents also generate their own reflection’s allowing them to achieve higher level thinking. This is triggered every time the importance of recent memories passed a threshold of 100. The prompt is: “Given the most recent 100 memories, what are the 3 most salient high-level questions we can answer about the subjects involved?” After getting the questions, we use the memory retrieval system to generate answers. This allows the agents to come to conclusions such as “John is very talkative” or “Sally is often late to work”.

This is just an experiment for us, but it was a lot of fun. I think this could serve as a template to folks who are making entertainment or gaming experiences with LLMs.

I dont think this particular setup is optimal for productive output.

We welcome forks and contributions!

2.

GPTeam – A customizable team of AI agents(github.com ↗)

6 points · by timconnors · 3y ago · 1 comment

comment 4y ago · link · parent

super slick write up. nice job!

comment 5y ago · link · parent

This is awesome y'all. Can't believe this didn't exist before

5.

A Builder’s Guide to Note-Taking(itstimconnors.com ↗)

2 points · by timconnors · 5y ago · discuss

comment 5y ago · link · parent

Nice concept

7.

Community for engineers affected by Covid layoffs(techcareers.community ↗)

7 points · by timconnors · 6y ago · 1 comment