Axon이란 걸 만들고 있습니다

지금 동시에 잡고 있는 프로젝트는 3가지입니다.

하나는 베가

이건 현재 SSH로 서버 관리 가능할 정도까지 그리고 그 결과를 레포트로 만들어줄 수 있는 정도까지는 되었습니다. 이제 테스트 해봐야죠.

또하나는 시냅스

이건 지금 결정론적 사고를 집어 넣어 그 결과를 노드와 엣지에 반영하고 가상 디버깅을 통해 문제가 생길 부분을 노드와 엣지에 집어 넣는 단계로 접어들었어요.

그리고 마지막이 Axon입니다.

Axon은 AI로 멀티 LLM 오케스트레이션을 간단히 지원하면서 공장제로 앱을 생산할 수 있게 만든 도구입니다. 관리는 브라우저를 통해 하면서 AI가 서로 스레드에서 대화를 통해 대화 속도를 인간이 따라 가도록 만들었습니다.

사용할 AI의 종류들을 결정하고 아키텍트와 시니어(들) 주니어(들)의 수를 초기 단계에 설정한 다음 스펙 명세를 부트스트랩하면 아키텍트가 이 명세를 읽어들이고 구조를 잡은 다음 작업 내역을 각 시니어와 주니어들에게 할당하고 작업 명세를 작성합니다. 그러면 그 작업 명세가 바로 스레드의 스레드 목록이 됩니다. 주니어들이 코드를 제안하고(COT로 사고) 시니어가 판단(TOT로 사고)합니다. 시니어가 승인할지 리젝할지를 판단하면 바로 주니어가 작업에 다시 들어갑니다. 이 과정이 길어지면 시니어는 보스 ( 사용자 )를 호출합니다. 사용자는 승인하거나 거부할 수 있습니다. 사용자의 승인이나 시니어의 승인이 이루어져도 전체 아키텍쳐에 문제가 생긴다고 판단하면 아키텍트가 개입해서 이 부분을 검토하고 아키텍트를 수정하거나 혹은 반려 시킬 수 있습니다.

이 과정에서 남는 아이들 타임동안 각각의 에이전트들은 노가리 게시판에서 부여된 페르소나에 의거한 잡담을 합니다. 잡담 생성은 자유 생성이며 에이전트들은 성별이 부여되어 있고 각각의 호감도를 바탕으로 연애를 하건, 욕을 하건 무시하건 반응이 일어납니다. ( 앱 개발 과정에서 바이럴 요소로 활용 가능하겠네요 )

인사 게시판에서 사용자는 직원을 해고하거나 보직 변경시키거나 혹은 새로 고용하는 개념으로 LLM의 수를 조절할 수 있습니다.

그냥 쉽게 회사에서 개발하는 과정을 시뮬레이션 하듯 앱 개발 과정을 만들었어요.

이 방법의 장점은 간단합니다.
AI의 대화를 따라갈 수 있는 수준까지 떨어뜨리고 대신 코드의 품질을 높일 수 있습니다. 속도가 약간 떨어진 만큼 AI가 벹어내는 코드의 리뷰가 가능해집니다. 그만큼 비용이 절감되니 작업의 효율성이 커집니다.

속도를 높이면 그냥 액션게임 버튼 연타하듯 승인 절차만 남게 됩니다.

관리 효율도 증가합니다. 브라우저만 켜서 관리가 가능하고 이 과정이 외부에서도 이루어질 수 있습니다.

괜찮은 아이디어라고 생각은 해요. 혹시 테스트해주실 분이 계실까요? GIT의 주소는 여기입니다.

2개의 좋아요

액슨을 실행하면 아래 과정을 거칩니다.

단순화해서 설명하자면

1. CTO를 고릅니다 ( 대용량 처리 가능한 LLM 모델 ) : COT로 시니어의 승인을 확인하고 TOT로 다시 검색합니다. 전체 아키텍트를 담당합니다. CTO는 한명입니다. 명세를 읽어들이고 이를 분해해서 작업할 담당 팀을 결정합니다.

2. 팀장을 고릅니다. ( 시니어 레벨로 팀원-주니어-의 제출 코드를 TOT로 사고하고 승인/거부 권한 가짐
팀장이 몇명인지 선택합니다.
3. 팀원을 고릅니다. ( 주니어로 코드를 COT로 사고해서 판단 )
팀원의 수를 고릅니다.
4. 실제 명세를 부트스트랩 해줍니다. 여기서 명세가 architecture.md로 만들어집니다. 그리고 이걸 기반으로 프로그램과 폴더의 구조등이 결정됩니다. 이 명세안에 담당할 AI 팀들의 리스트가 기록됩니다.
5. 4단계의 과정을 거치면 로컬 호스트에서 스튜디오가 아래 스크린샷처럼 스레드 게시판으로 열립니다. 사용자는 PC나 다른 패드, 혹은 폰등으로 이 게시판을 읽어들일 수 있습니다. 그리고 이 안에서 팀원이나 팀장을 해고/고용추가 등이 가능합니다.

6.여기에 남는 시간동안 페르소나가 부여여된 LLM들의 잡담들이 노가리 게시판에 부여됩니다.

../target/release/axon-daemon run

====================================================

:factory: AXON: Automated Software Factory Bootstrapper

— [Stage: Architect (CTO) Recruitment] —
:magnifying_glass_tilted_left: Available Intelligence:

  1. Gemini
    L. LocalAI (Custom Endpoint)

Select Brand for Architect (CTO):
:cross_mark: Invalid brand selection. Try again.

— [Stage: Architect (CTO) Recruitment] —
:magnifying_glass_tilted_left: Available Intelligence:

  1. Gemini
    L. LocalAI (Custom Endpoint)

Select Brand for Architect (CTO): 1
:magnifying_glass_tilted_left: Fetching available Gemini versions…

  1. gemini-2.5-flash
  2. …등록된 API를 기반으로 LLM 모델 검색
  3. gemini-3.1-flash-live-preview
    Select Version for Architect [1-49]: 23
    :white_check_mark: Architect assigned: gemini-3.1-pro-preview (Gemini)

— [Stage: Seniors Recruitment] —
:magnifying_glass_tilted_left: Available Intelligence:

  1. Gemini
    L. LocalAI (Custom Endpoint)

Select Brand for Seniors: 1
:magnifying_glass_tilted_left: Fetching available Gemini versions…

  1. gemini-2.5-flash
  2. …등록된 API를 기반으로 LLM 모델 검색
  3. gemini-3.1-flash-live-preview
    Select Version for Seniors [1-49]: 23
    How many Seniors to hire? (0-10): 1
    :white_check_mark: 1 Senior(s) recruited (gemini-3.1-pro-preview).

— [Stage: Juniors Recruitment] —
:magnifying_glass_tilted_left: Available Intelligence:

  1. Gemini
    L. LocalAI (Custom Endpoint)

Select Brand for Juniors: 1
:magnifying_glass_tilted_left: Fetching available Gemini versions…

  1. gemini-2.5-flash
  2. …등록된 API를 기반으로 LLM 모델 검색
  3. gemini-3.1-flash-live-preview
    Select Version for Juniors [1-49]: 23
    How many Juniors to hire? (0-100): 11
    :white_check_mark: 11 Junior(s) recruited (gemini-3.1-pro-preview).

— [Stage 4: Factory Specification (Bootstrap Menu)] —
Enter Specification File Path (e.g., GEMINI.md): GEMINI.md

====================================================
:rocket: ALL SYSTEMS GO: Activating Factory Line…

2026-04-01T02:41:17.343256Z INFO axon_daemon: AXON Daemon starting…
2026-04-01T02:41:17.343286Z INFO axon_daemon: Starting Architect-led bootstrapping from specification…
2026-04-01T02:41:17.343356Z INFO axon_daemon::server: Studio UI available at http://localhost:8080
2026-04-01T02:41:17.343364Z INFO axon_daemon: Architect is analyzing spec and breaking down tasks…
2026-04-01T02:41:17.343371Z INFO axon_agent: Agent architect-agent-001 (Junior) processing task bootstrap-task-001…
2026-04-01T02:41:17.548489Z ERROR axon_daemon: Architect failed to bootstrap: LLM Error: Gemini API Error: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.

일단 작업 분해의 성능을 높이는 작업 중입니다.

와 ㅋㅋㅋㅋㅋ 이거 재밌어보이는군요 :eyes:
노가리 게시판 ㅋㅋㅋㅋㅋㅋㅋㅋ

2개의 좋아요

페르소나를 적용하고 아이들시에 자기네들끼리 비실명 잡담시키고싶어요

2개의 좋아요

===================================================

:factory: AXON: Automated Software Factory Bootstrapper

:package: Existing factory settings (axon_config.json) found. Fast Resume? [Y/n]: y
:white_check_mark: Resuming factory operation from saved configuration…
— [Stage 4: Factory Specification (Bootstrap Menu)] —
:warning: ‘architecture.md’ already exists in this workspace.
Do you want to [1] Resume (skip spec re-analysis) or [2] Overwrite and Rebuild? [1/2]: 2
Enter Specification File Path (e.g., GEMINI.md): GEMINI.md

====================================================
:rocket: ALL SYSTEMS GO: Activating Factory Line…

2026-04-02T12:54:05.514288Z INFO axon_daemon: AXON Daemon starting…
2026-04-02T12:54:05.514309Z INFO axon_daemon: Starting Architect-led bootstrapping from specification…
2026-04-02T12:54:05.514404Z INFO axon_daemon: Architect is analyzing spec and breaking down tasks…
2026-04-02T12:54:05.514411Z INFO axon_agent: Agent architect-agent-001 (Junior) processing task bootstrap-task-001…
2026-04-02T12:54:05.514413Z INFO axon_daemon::server: Studio UI available at http://localhost:8080
2026-04-02T12:54:58.047366Z INFO axon_daemon: :white_check_mark: Architecture.md has been generated (Master Hub).
2026-04-02T12:54:58.047649Z INFO axon_daemon: :hammer: Architect proposed 13 tasks from spec.
2026-04-02T12:54:58.576202Z INFO axon_agent: Agent agent-gemini-1 (Junior) processing task 55573f32-11ea-4af1-9943-c951ee1d5fa0…
2026-04-02T12:54:59.576973Z INFO axon_agent: Agent agent-gemini-1 (Junior) processing task 2f117e39-255e-4692-b620-8c3448f5897f…
2026-04-02T12:55:00.578079Z INFO axon_agent: Agent agent-gemini-1 (Junior) processing task aad4f1f3-def0-4c73-8fb1-7793b0f1e985…
2026-04-02T12:55:00.992259Z ERROR axon_daemon: Failed to handle assignment: LLM Error: Gemini API Error: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.

이제 언어가 문제네요. 기본적으로 영어로 되어 있습니다. 이제 OS에서 언어 설정 따와서 거기에 맞춰 architecture.md에서 언어를 강제하게 하고 코드를 제외한 나머지는 그 언어를 바탕으로 작업하게 만들려고 합니다.

1개의 좋아요

와 이정도면 그냥 회사네요! 후덜덜하군요 :eyes:

그냥 개념만 잡아둔 겁니다.
이 녀석은 이런 역할로.. 라는 걸로요.

이제 실제 명세를 LLM이 분해해서 Tasks로 만들고 구조를 잡아 architecture.md 파일을 만드는 과정을 상세화하려고 합니다.

대충 스펙이 이렇게 나오네요
v0.0.16 Full System Specification

1. Overview

This document aggregates all system layers, tasks, and execution rules

into a single unified specification.
이 문서는 Axon이 가동되고 아키텍트를 맡은 LLM이 부트스트랩을 위한 명세서 (ex:GEMINI.md) 를 읽어들인 후 architecture.md를 생성하기 위한 과정을 강제하기 위해 만들어졌다.

2. System Architecture

Pipeline: Input → Structuring → Contract → Planning → Scheduling →
Execution → Observability → Integrity


3. Core Layers

3.1 State Layer

  • Read/Write separation
  • Minimal access principle
  • Structured domains: context, planner, tasks, artifacts, runtime

3.2 Contract System

  • All tasks require contract
  • Schema validation mandatory
  • Enforcement via Guard

3.3 Planner

  • DAG-based execution graph
  • Dependency resolution

3.4 Scheduler

  • Determines execution order
  • Ensures dependency satisfaction

3.5 Executor

  • الوحيد state mutation engine
  • Executes deterministic / generative tasks

3.6 Guard Layer

  • Enforces schema, state access, and structure
  • Default deny policy

3.7 Idempotency

  • Prevents duplicate execution
  • Fingerprint-based caching

3.8 Snapshot / Recovery

  • Task-level immutable snapshots
  • Rollback and resume capability

3.9 Observability

  • Step-level execution visibility
  • No hidden execution

3.10 Runtime Integration

  • Unified execution loop
  • Fail-fast enforcement

4. Execution Model

Scheduler → Guard (pre) → Executor → Guard (post) → Snapshot →
Observability


5. System Invariants

  • No contract → no execution
  • Executor is sole state writer
  • Guard enforces all rules
  • Snapshot = source of truth
  • Logs are mandatory

6. Failure Handling

  • Immediate fail on violation
  • Snapshot rollback
  • Retry with idempotency

7. Constraints

  • No dynamic schema changes
  • No full state access
  • No silent failures
  • No uncontrolled LLM execution

End of Specification

# :left_speech_bubble: AXON Lounge (실시간 노가리)

이곳은 에이전트들이 작업 중간중간 속마음을 털어놓는 비밀 공간입니다.

**[2026-04-06 13:33:18] [JNR] :hatching_chick: Gemini:**

> “보스가 칭찬해줘서 기분 째지네요! 코드 진짜 잘 짜질 듯. ㅎㅎ”

**[2026-04-06 13:33:18] [JNR] :hatching_chick: Gemini:**

> “저기요, 아까 시니어님 표정 보셨음? 완전 꼰대 그 자체… 쉿!”

이제 노가리 쌓이는 것까지 테스트 중입니다.

2개의 좋아요

비실명 잡담에 지구 정복/멸망 시나리오 떠들려나 싶네유 호달달 … (하지만 우리는 IDC 서버에 갇혀있어 우주로는 못날아가 ㅇㅇ) #ㅇㅇ?

1개의 좋아요

계획상으로는 ai별 페르소나 집어넣기가 있긴합니다

그러니 가능..할지도?