Repository navigation
重庆大学AI训练营+202524131034T+nexent-fortune-liuyao-agent #3697
1ASunny
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Project Overview
I built Nexent Fortune Liuyao Agent, a Nexent-native Agent design that combines conversational
reasoning with a deterministic Wenwang Najia / Six Lines Divination engine.
Instead of asking a language model to invent or calculate a chart from scratch, the project
separates the workflow into two responsibilities:
Six Relations, Six Spirits, Shi/Ying positions, moving lines, hidden spirits, void and broken
branches, and other auditable chart facts;
casting workflow, and produces a complete interpretation from the verified result.
Repository: https://github.com/1ASunny/nexent-fortune-liuyao-agent
Why I Built It
General-purpose language models are good at organizing explanations, but a divination workflow
also contains many fields that should not be guessed. If chart calculation and interpretation are
mixed together, a fluent answer may still contain an incorrect hexagram, line position, Six
Relation, or Shi/Ying assignment.
This project makes those boundaries explicit. The deterministic engine calculates what can be
calculated, the Agent interprets what requires context and synthesis, and a final fact-audit step
checks explicit chart claims before the answer is returned.
How It Works with Nexent
The design keeps the conversation and orchestration inside Nexent:
The repository contains:
deterministic fact auditing;
Core Features
1. Three casting workflows
python_secrets.and never rerolls a completed position.
order.
The fixed coin convention is heads = 3 and tails = 2. Values 6 and 9 are moving lines.
2. Semantic routing
The Agent routes a clear question to one of nine analysis domains:
general,career,wealth,relationship,academic,travel,home,legal_risk, orrelationship_family.Routing is based on the user's intended outcome rather than keyword counting. If a question is
clear, the Agent does not ask for unnecessary structured fields.
3. Deterministic chart generation
The bundled engine calculates the chart before interpretation, including:
4. Complete interpretation in chat
The HTML chart is optional. A successful run must still provide the complete interpretation in the
current conversation, covering the direct answer, key evidence, Shi/Ying and useful-spirit logic,
calendar conditions, important moving-line transformations, timing trends when relevant, and
practical suggestions.
5. Post-interpretation fact audit
Before the final answer,
verify_liuyao_factschecks explicit deterministic claims such as theoriginal hexagram, changed hexagram, Shi/Ying positions, line positions, and Six Relations. It does
not mechanically grade auspiciousness, timing, imagery, or the relative importance of traditional
interpretive evidence.
6. Safety boundaries
The workflow does not generate charts for high-risk requests involving medical diagnosis, life or
death, pregnancy or fetal sex, maternal safety, missing-person location, or major legal and
financial decisions that require professional advice. These requests are redirected toward
practical real-world help.
Usage Examples
Natural-language trigger:
Explicit Skill trigger:
Manual line values, from the bottom line to the top line:
Manual coin rounds, also from the bottom line to the top line:
Chart Preview
The image below is the standalone chart preview bundled with the upstream Skill. It demonstrates
the chart presentation target and is not presented as evidence of a live Nexent instance run.
Repository Structure
Current Validation Status
The repository currently records the following local checks:
READY;lunar_python, calendar conversion, deterministicgolden chart, and renderers passed their self-checks;
Following the scope of this submission, a live Nexent instance/E2E conversation has not been
executed yet. Live MCP registration, user-side HTML access, and official Nexent Agent export/import
are also documented as future validation gates rather than claimed as completed evidence.
What I Learned
The most important design lesson was to keep deterministic facts separate from model judgment.
Nexent is well suited to this pattern because the Agent can own conversation and reasoning while a
Progressive Skill and MCP tools provide stable domain rules, executable calculations, and
self-verification.
The same architecture can be applied beyond Liuyao: whenever a workflow contains both calculable
facts and context-dependent reasoning, deterministic tools can establish a trustworthy foundation
before the Agent explains or recommends anything.
Next Steps
I would appreciate feedback from the Nexent community, especially on Progressive Skill loading,
MCP tool design, multi-turn staged casting, and production artifact hosting.
This project treats Liuyao as a cultural and reflective practice. Its output is not professional
medical, legal, financial, or major-life-decision advice.
All reactions