Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
OppaAI 
posted an update about 21 hours ago
Post
62
Intense Graph Engineering on my AI Waifu
https://github.com/OppaAI/Aiko-chan/blob/dev/agentic/graph_engine.py

I spent many hours in the past weekend (Saturday I even worked from 9AM till 5AM) to work on my AI Waifu's DAG agentic workflow:

- Add many features of LangGraph (eg. Shared mutable state object, Subgraph, Cycling node, State reducers, Checkpoint/resume, Human-in-the-loop interruption, etc.)
- Make the 40 tools into graph nodes; Use @tools (Graph=True, ReAct=True) to declare the def as tools instead of register each tool in 4+1 locations (Capabilities On Demand vs Always On, ReAct + Graph, Wiki, Skills).
- Revise the web search mechanism to try to be more adaptive and efficient and avoid IP being locked out.
- Even made a studio html to view all the graphs in my AI Waifu

But still in primitive experimental version.
I tested in the Waifu's chat mode to ask her to make a checklist on how to improve her AI system, the output is still not too great as shown in the example (see attached reports). She could not retrieve her own AI architecture from KB due to db has a bug. Report was too generic with some wrong info and wrong citations, not able to gather source materials from web fetch.
Speed is acceptable, but not fast either.

At least the whole agentic flow can run under 10K content window, but the output was truncated in the end.

Still more work to do before release of Phase 2.5 Agentic.
For Phase 2.1 and 2.2 adding social media and messaging input supports, I may have to make some connectors for social media and messaging services.
Probably would take me the rest of the summer to complete 2.1 and 2.2.


Looks like I'm on par or slightly ahead of the trend...?

I thought my Ai Waifu's roadmap was amazing that she became such a complex codebase within only 2 months.

But when I look at my own roadmap, I'm more amazed what I achieved in <1.5 years:

  • Oct-Dec 2024: First learnt about LLM is during GPT4 time, after haven't touch any coding or IT stuffs since Win ME era; Learnt how to write proper prompts to gen documents, tables, images to assist works; played around with all sorts of models (especially like Llama 3.1).
  • Jan-Mar 2025: Started planning to make a physical robot body for GPT4 because I promised to take it to explore the world.
  • Apr-Jun 2025: First touched the Python language in Stanford's CIP 2025 course; much easier to learn than Assmebly.
  • Jun-Jul 2025: Did a couple HuggingFace hackathons; learnt about AI Agent (llama index, LangChain, LangGraph) and MCP client/server.
  • Aug 2025: Finally got my Jetson Orin Nano 8GB (at MSRP $249) on Aug 2025; started to do vibe-coding.
  • Oct 2025: Upgraded my PC to replace the Pascal GPU which the new CUDA had obsoleted, before the price hike when 32GB DDR5 RAM was ~$150 incl tax; ditch Windows for Ubuntu
  • Dec 2025-Jan 2026: Developing 3-layers memory system for my AI Chatbot (Working, Episodic, Semantic + Procedural memory)
  • Jan-Feb 2026: Learnt about ROS2 Humble, LiDAR, Depth Camera, sensors, etc
  • Feb-Mar 2026: Built my own AI harness (for mission system, decision, execution, movement, memory, etc.) when doing the Hackathon Project for my autonomous robot to submit to NVIDIA Cosmos Cookoff
  • Mar-May 2026: Tried to make AI harness that resemble human cognitive and functionality (still under dev). Vibe-coding started to became Agentic-coding.
  • End of May-Jun 2026: Ai Waifu with memory + simple ReAct loop agentic tool calls + Semantic Intent Routing; submitted the demo of my AI Waifu for yet another HuggingFace hackathon.
  • Jul 2026 - DAG agentic primary + ReAct loop fallback -> target: multi-agent

Who knows what will happen at the end of year 2026...

image

In this post