Inspiration

We wanted to make AI feel more accessible by bringing it into Discord, a platform we use every day.

We thought it would be fascinating to create a bot that feels alive—one that has emotions, memories, and a distinct personality, and interacts with people almost like a human being.

Our goal is to build a partner that stays close to us online and supports us in our daily lives. That idea was the starting point for this project.

私たちが普段使用しているDiscord上で、身近にAIを使ってみたいと思ったからです。 AIを使ってBOTが人間のように喜怒哀楽や記憶を人格をもち、そんな生きているようなBOTが傍に居てくれるのは面白いと思いました。 ネットの中から僕たちの生活をサポートしてくれるパートナを作りたい。そんな思いがきっかけでした。

Feature Overview

“Personal Secretary Bot” is an assistant bot that users interact with through Discord.

It is built around an AI-powered personality system and can be expanded by adding various feature modules.

Each module is designed to be activated and used through conversation with the AI. This allows users to access features naturally and effortlessly, as if they were chatting with another person.

During OpenAI Build Week, we developed language settings, Google Calendar integration, a control panel, and a persona system.

Feature Details

Features marked with “【New Feature】” were developed during the hackathon.

Basic Systems

  • AI Router: Analyzes the user's request and determines which AI should handle it, or whether AI is needed at all.
  • Module System: Core functionality is placed in the “Core,” while additional features are implemented as “Modules,” making the system easy to expand.
  • Module Adapter: Bridges interface differences between the Core and Modules, allowing Modules to be replaced without breaking the system.
  • Output Security: Checks the final response for inappropriate content or confidential information that must not be disclosed, such as private IDs.

Language System【New Feature】

Users can switch between Japanese and English.

The language can be changed from the language settings in the Control Panel.

Personality System (Core)

The following systems are designed to produce more natural, human-like conversations.

Persona System【New Feature】
  • Each user can select their preferred personality.
  • Personalities can be changed easily by switching the loaded persona.
  • Users can create their preferred personality by writing a persona file in Misha_Project/personas/.
  • The active personality can be changed from “Persona” in the Control Panel.
Affinity System
  • Changes the content of conversations based on the relationship between the user and the Bot.
Memory System【New Feature】
  • The AI evaluates conversations and stores relevant memories.
  • It stores both short-term and long-term memories.
  • Stored memories can also be deleted.

Feature Modules

Each Module can pass its output through the Personality System, allowing it to provide responses that reflect the selected personality.

  • Control Panel【New Feature】: Allows users to select and manage Modules.
  • Calendar【New Feature】: Uses Google Calendar to create, update, and delete events.
  • Task Management【New Feature】: Uses Google Calendar to create, update, and delete tasks.
  • Reminder【New Feature】: Integrates with Google Calendar and sends notifications through the Bot.

Task Management and Reminder depend on Google Calendar integration. During OpenAI Build Week, we therefore implemented their foundational components and integration points.

We plan to add and refine more features in the future.

Development Process

Discuss and refine the concept with ChatGPT

Organize the requirements and initial draft, then use ChatGPT to create the design documents

Upload the design documents to a ChatGPT Project and have ChatGPT create instructions for Codex

Use Codex to implement and test the project

Codex 5.6 SOL was responsible for process management and system design. We also used it to investigate errors and handle difficult coding tasks.

Codex Luna handled most of the general coding. By using XHIGH and MAX together with Skills and agent features, we had it work on even the difficult parts as much as possible. Most of the project was developed with Luna.

Challenges We Faced

  • As our collaboration with AI progressed, development gradually drifted away from the original design, creating a gap between our vision and what was actually built.
  • As development progressed, the amount of information the AI needed to process increased, which also increased token consumption.
  • Because I cannot program, I was unable to judge whether the AI's work was technically sound. As a result, resolving problems often took a long time.

Accomplishments That We Are Proud Of

We deepened our understanding of AI and established an effective approach to AI-assisted development.

I cannot program, and I first started using AI only one month ago. Through OpenAI Build Week, I feel that I have learned how to work with AI much more effectively.

More specifically, we first define the vision as clearly as possible and refine it through dialogue with AI. We then finalize the design before coding begins and break it down into a concrete development process.

By defining which actions require human approval, which tasks can be delegated to AI, and how the AI should respond when problems occur, we enabled it to complete its work without going off track.

What We Learned

  • Not to leave everything to AI, but to think for ourselves and work through challenges in dialogue with it.
  • To take ownership, make our own decisions, and move the project forward.
  • How to give effective instructions to AI.
  • The importance of multilingual support when building something for a wider audience.

In future development, we want to focus on creating something that more people can enjoy and use.

What's Next for “Personal Secretary Bot”

We plan to improve the Personality System at the core of “Personal Secretary Bot.”

Currently, the Bot only provides Google Calendar features. In the future, we plan to add many more capabilities, such as asking about the weather during a conversation, learning a foreign language, receiving daily news through DMs, and checking stock prices.

We want all of these features to respond according to the selected personality, making the Bot feel less mechanical and more like a partner that supports our daily lives.

Built With

Share this project:

Updates