Agent Graph (epic)

t-513·WorkTask·
·
·
·Omni/Agent.hs
Created3 months ago·Updated1 week ago·pipeline runs →

Description

Edit

Implement the Agent Graph system - a DAG-based conversation model that unifies navigation, forking, joining, and multi-agent coordination.

See: Omni/Agent/Graph/DESIGN.md for full design.

Key Features

  • DAG of conversation nodes (not linear sessions)
  • Humans and agents have identical capabilities via same API
  • Fork/join for parallel agent work
  • Dynamic context from graph position + memory
  • Auto-summarization when paths get long

Non-Goals (v1)

  • Pruning/garbage collection
  • Distributed graphs
  • Real-time collaboration

Timeline (19)

💬[human]3 months ago

FRAMING UPDATE: One agent, many thought-lines (not multiple agents). Fork = pursue parallel line of thought. Join = synthesize thoughts. All threads share identity + memory.

🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev completed (run=dev-t-513-1771516755, cost=0.0c)

🔄[system]InProgress → Open1 month ago
💬[system]1 month ago

Pipeline: verification failed: Build failed for Omni/Agent.hs (exit 1): 7[10000;10000H7[10000;10000Hthese 21 derivations will be built: /nix/store/byrhq6g3gd4dy37q59d6527qwg2hlfch-hs-mod-Omni_Time.drv /nix/store/9bma7pjdbb31kmkipzwx2yrv910awa04-hs-mod-Omni_Agent_Trace.drv /nix/store/z7x9kiqpbd9g7ybmflxx1dvj6ycak4h0-hs-mod-Omni_Agent_Prompt_IR.drv /nix/store/azyfsijf4mbwkkvnvnij6lxz6082qc2c-hs-mod-Omni_Agent_Prompt_Hydrate.drv /nix/store/csjwqm4fddnpfvm945rf1qq4zjkqw26l-hs-mod-Omni_Agent_Op.drv /nix/store/w1a7xxqx7rnhqy82w7hb7xd0vrgfvgiq-hs-mod-Omni_Agent_Prompt_Compile.drv /nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-mod-Omni_Agent_Models.drv /nix/store/wa9cnbia1039z9ciyb59rirvyqrsijyf-hs-mod-Omni_Agent_Provider.drv /nix/store/3hlljphy4jfy8ns40i0vhxhrz3xg035f-hs-mod-Omni_Agent_Interpreter_Sequential.drv /nix/store/n4fs2y7sx7zljc4vvmaydhj6zbxxs435-hs-mod-Omni_Agent_Programs_Compaction.drv /nix/store/h92z0vgi9zp3fsgl6z05pyjjb31zvy43-hs-mod-Omni_Agent_Programs_Agent.drv /nix/store/xq1xsinblm7m14adcw1d3j53yxf7awf0-hs-mod-Omni_Agent_Engine.drv /nix/store/dixkbxqd31w0yshdi9rqinmkkak4k75z-hs-mod-Omni_Agent_Op_Bridge.drv /nix/store/3761ifx9yzkcy5xx5m72413qsz49dcby-hs-mod-Omni_Agent_Memory.drv /nix/store/491q25b5my9441jnf4kixijmspfigaa1-hs-mod-Omni_Agent_Tools.drv /nix/store/7xqq8g5qv03201mv9s41x3v9zg7yip3g-hs-mod-Omni_Agent_Context.drv /nix/store/shpdl4h52dlgqv4qpwwrjjbxn5ckw2kv-hs-mod-Omni_Agent_Auth.drv /nix/store/wahv72fkdfxh0l65iii5mpfl1a90ij21-hs-mod-Omni_Agent_Graph.drv /nix/store/xibg7cm19rn6y4n2d8ck4ijp232b0f90-hs-mod-Omni_Cli.drv /nix/store/rxzgkpi3s7z7gbf77cxlcwq71andf9zi-hs-mod-Omni_Agent.drv /nix/store/53qv8afwjsrq93ps72ljmdzl2i0cyig2-agent.drv building '/nix/store/shpdl4h52dlgqv4qpwwrjjbxn5ckw2kv-hs-mod-Omni_Agent_Auth.drv'... building '/nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-mod-Omni_Agent_Models.drv'... building '/nix/store/z7x9kiqpbd9g7ybmflxx1dvj6ycak4h0-hs-mod-Omni_Agent_Prompt_IR.drv'... building '/nix/store/9bma7pjdbb31kmkipzwx2yrv910awa04-hs-mod-Omni_Agent_Trace.drv'... building '/nix/store/xibg7cm19rn6y4n2d8ck4ijp232b0f90-hs-mod-Omni_Cli.drv'... building '/nix/store/byrhq6g3gd4dy37q59d6527qwg2hlfch-hs-mod-Omni_Time.drv'...

Omni/Agent/Models.hs:35:1: error: Could not find module Data.Yaml' Use -v (or :set -v in ghci) to see a list of the files searched for. | 35 | import qualified Data.Yaml as Yaml | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: builder for '/nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-mod-Omni_Agent_Models.drv' failed with exit code 1; last 7 log lines: > > Omni/Agent/Models.hs:35:1: error: > Could not find module Data.Yaml' > Use -v (or :set -v in ghci) to see a list of the files searched for. > | > 35 | import qualified Data.Yaml as Yaml > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ For full logs, run: nix log /nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-mod-Omni_Agent_Models.drv error: 1 dependencies of derivation '/nix/store/53qv8afwjsrq93ps72ljmdzl2i0cyig2-agent.drv' failed to build

[1A[1G[2K[+] Omni/Agent.hs [1A[1G[2K[0m[…] Omni/Agent.hs[0m[1B

[1A[1G[2K[+] Omni/Agent.hs [1A[1G[2K[~] Omni/Agent.hs: warning: you did not specify '--add-root'; the result mig...[1B[1A[1G[2K[~] Omni/Agent.hs: /nix/store/53qv8afwjsrq93ps72ljmdzl2i0cyig2-agent.drv…[1B[1A[1G[2K[~] Omni/Agent.hs: these 21 derivations will be built:…[1B[1A[1G[2K[~] Omni/Agent.hs: /nix/store/byrhq6g3gd4dy37q59d6527qwg2hlfch-hs-mod-Omni...[1B[1A[1G[2K[~] Omni/Agent.hs: /nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-mod-Omni...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/shpdl4h52dlgqv4qpwwrjjbxn5ckw2kv-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/kh0ynzkp9n99kxafhg6pi5k4x9h123ji-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/z7x9kiqpbd9g7ybmflxx1dvj6ycak4h0-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/9bma7pjdbb31kmkipzwx2yrv910awa04-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/xibg7cm19rn6y4n2d8ck4ijp232b0f90-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: building '/nix/store/byrhq6g3gd4dy37q59d6527qwg2hlfch-hs-...[1B[1A[1G[2K[~] Omni/Agent.hs: Omni/Agent/Models.hs:35:1: error: Could not find modul...[1B[1A[1G[2K[~] Omni/Agent.hs: error: builder for '/nix/store/kh0ynzkp9n99kxafhg6pi5k4x9...[1B[1A[1G[2K[~] Omni/Agent.hs: error: 1 dependencies of derivation '/nix/store/53qv8afwj...[1B[0m[38;5;1m[2Kfail: bild: realise: Omni/Agent.hs [0m[0m [0m[1A[1G[2K[0m[38;5;1m[x] Omni/Agent.hs[0m[1B 1

🔄[system]Open → InProgress1 month ago
💬[human]1 month ago

Pipeline scheduler: started run=pipeline-omni-agent-hs-t-513-1771560768 domain=Omni/Agent.hs

🔄[human]InProgress → Review1 month ago
💬[human]1 month ago

Pipeline scheduler: run=pipeline-omni-agent-hs-t-513-1771560768 domain=Omni/Agent.hs status=done cost=37c (fund-spend=failed)

💬[human]1 week ago

Ava triage: pipeline auto-run reached status=done but the agent made NO git commits and reported blockers (missing files, path mismatches, or need clarification). This task is not actually in review — there's nothing to review. Resetting status to Open so it can be re-scoped.

🔄[human]Review → Open1 week ago
💬[human]1 week ago

ORPHAN COMMIT: coder agent produced commit faeb91a4f13f29cac47cf49ade7392cccd2ad0f6 on 2026-02-19 but it was never merged into live. Reachable only via branchless reflog. Pipeline scheduler bug — see separate task. To recover: git cherry-pick faeb91a4f13f29cac47cf49ade7392cccd2ad0f6 from omni/live (expect conflicts after 6+ weeks of drift). Otherwise re-implement from scratch.