infinite-you

module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: MIT

README

Infinite You

CI Latest Release Go Version

Infinite You is an AI agent factory. It orchestrates AI agents for you so you can do more work without doing everything manually.

Why?

Leverage.

With Infinite You, you codify your process into a workflow with different AGENTs.md and run them as wrappers around OpenAI codex.

For example:

  • dispatch 10 agents to run independently in separate work trees
  • have one agent loop through a series of tasks, and then have a reviewer review the output and retrigger the loop if it failed
  • tell the agents a series of plans, and run them in dependency order
  • have a cron setup to autonomously look at git tasks or whatever and submit tasks that go through a write/review cycle loop

Install

  1. install codex npm i -g @openai/codex
  2. install :curl -fsSL https://github.com/portpowered/infinite-you/releases/latest/download/install.sh | sh
  3. go cd your-project-directory
  4. run infinite-you
  5. submit a work task on the website interface, like "go write a report on my codebase at TEST.md",
  6. wait till complete
  7. finished
claude variant
infinite-you init --executor claude --dir my-factory
infinite-you docs workstation

Example

Here's an example of the factory for infinite-you dispatching roughly 5-10 agents.

How It Works

The default no-argument starter flow looks like below: you give it a task, it spawns a basic agent CLI run and does stuff.

flowchart LR
   classDef place fill:#000,stroke:#333,color:#fff,stroke-width:2px
   classDef transition fill:#333,stroke:#333,color:#fff,rx:0,ry:0

   P0((task:init)):::place
   P1((task:complete)):::place
   P2((task:failed)):::place

   T0[process]:::transition

   P0 --> T0
   T0 --> P1
   T0 -.->|on failure| P2

Customization

See authoring-workflows for the full configuration guide. Infinite you lets you customize your flow however you want.

The overall system of how infinite you works is relatively simple.

  1. You have work.
  2. Work goes to workstations where the work gets worked on by workers (agents, or just shell scripts)
  3. When the workstations complete the, work is converted to other work.
  4. Infinite you stops when no work remains.

Shipped example factories

examples/basic/factory

Single-step task workflow.

infinite-you's factory

This is the factory that we use to boostrap. You can see all the PRs on this project run on this.

This is a fairly complex, but at a high level, you give it an input, it turns it into a plan, dispatches it into a worktree, runs a pr.

write-code-review

given an input, it writes the code, and does a review.

thought idea plan work review

Multi-stage idea, planning, and review workflow.

This does given a thought you write out, it generates a plan, writes a iterative worker that runs through all the work items and dispatches them, and reviews

Alternatives

Generally, the impetus for writing this is i wanted a lightweight orchestrator that could be used for whatever workflow i wanted. To that end, the existing systems were too heavy, or too opinionated on their flows.

With infinite you, you just run a binary, you can check in the workflow/AGENT files and that's it.

Program Recursion, FanIn, Stateful Custom workflows Agent harness support Just a file Durable workflows Relatively stable
Infinite you X X x x X
Random Scripts X X x x
Gas Town X x X
DBOS X X X X
Dagster X X
N8N X X X
Temporal X X X X
Custom scripts

You can just write custom scripts with python, bash/powershell:

  • ralph loop
  • auto researcher

I did the same thing, but needed to run the system on my windows and mac laptop and also the thing kept failing as i added more complex stuff to it.

Gas town

This is an alternative agent orchestration framework. It works quite well but its rather opinionated on how it does stuff

  • reliance on doltDB,beads
  • rigid workflow structure.
  • git

With infinite you, there's no fixed structure so you can do whatever you want with it. i.e. if you want the system to not submit anything and just spawn thirty QA bots reviewers to ensure the code conforms to your standards and is passing all the tests you can do that.

Dagster

This is a standard workflow engine, it works okay, but there's no affordances for agent harnesses so you have to write one yourself. Also its a directed acyclic graph, but work processes are never really DAGs, they're more like spaghetti. In the end I couldn't figure out how to make it do a standard execute (loop) -> review loop.

DBOS

This is a complex durable workflow engine. Its fairly lightweight relative to its alternatives.

As a comparative, infinite you doesn't have mechanisms for transactional consistency or durability of execution.

But its still too heavy, since i didn't want to write code. The code vs config thing is a tradeoff, code's too hard to grok quickly frankly, config is verbose but any config with verbosity theoretically induces itself to levels of complexity wherein you end up mapping to code anyways. Unless you're SQL or something.

Temporal

This is also a complex durable workflow engine. This is flexible enough to do what I wanted. This thing is just way too heavy for the use case of just having an AGENT run, relative to DBOS and alternatives.

N8N

This is a robotic process automation tool. It has theoretically what i want, but it generally confused me. Its too heavy. I couldn't really get it to do what i want.

Directories

Path Synopsis
cmd
deadcodecheck command
factory command
Package main is the entry point for the agent-factory CLI.
Package main is the entry point for the agent-factory CLI.
functionallane command
gocoveragecheck command
releaseprep command
releasesmoke command
releasetagcheck command
internal
pkg
api
Package api provides the REST API server for the agent-factory.
Package api provides the REST API server for the agent-factory.
api/generated
Package generated provides primitives to interact with the openapi HTTP API.
Package generated provides primitives to interact with the openapi HTTP API.
cli
Package cli defines Cobra commands for the agent-factory CLI.
Package cli defines Cobra commands for the agent-factory CLI.
cli/config
Package config implements agent-factory config command behavior.
Package config implements agent-factory config command behavior.
cli/dashboard
Package dashboard provides read models and pretty-print rendering for the factory dashboard.
Package dashboard provides read models and pretty-print rendering for the factory dashboard.
cli/default
Package defaultcmd defines the no-argument agent-factory default flow.
Package defaultcmd defines the no-argument agent-factory default flow.
cli/docs
Package docs provides the packaged markdown reference topics exposed by the agent-factory CLI docs surface.
Package docs provides the packaged markdown reference topics exposed by the agent-factory CLI docs surface.
cli/init
Package initcmd implements the agent-factory init command behavior.
Package initcmd implements the agent-factory init command behavior.
cli/run
Package run implements the agent-factory run command behavior.
Package run implements the agent-factory run command behavior.
cli/submit
Package submit implements agent-factory submit command behavior.
Package submit implements agent-factory submit command behavior.
factory/runtime
Package runtime provides the concrete Factory implementation that wires together the engine, workers, and subsystems.
Package runtime provides the concrete Factory implementation that wires together the engine, workers, and subsystems.
factory/scheduler
Package scheduler provides transition scheduling strategies for the CPN engine.
Package scheduler provides transition scheduling strategies for the CPN engine.
factory/state/validation
Package validation provides static validation for CPN net definitions, including reachability, completeness, boundedness, and type safety checks.
Package validation provides static validation for CPN net definitions, including reachability, completeness, boundedness, and type safety checks.
factory/subsystems
Package subsystems defines the Subsystem interface and active tick-phase components used by the runtime.
Package subsystems defines the Subsystem interface and active tick-phase components used by the runtime.
generatedclient
Package generatedclient provides primitives to interact with the openapi HTTP API.
Package generatedclient provides primitives to interact with the openapi HTTP API.
listeners
Package listeners provides event listener implementations for the factory engine.
Package listeners provides event listener implementations for the factory engine.
testutil
Package testutil provides test helpers and utilities for the agent-factory.
Package testutil provides test helpers and utilities for the agent-factory.
workers
Package workers defines worker executor interfaces and implementations for script and model-based workers.
Package workers defines worker executor interfaces and implementations for script and model-based workers.
tests
functional/bootstrap_portability
Package bootstrap_portability owns init, bootstrap, and portability flows.
Package bootstrap_portability owns init, bootstrap, and portability flows.
functional/guards_batch
Package guards_batch owns dependency, guard, and request-batch behavior.
Package guards_batch owns dependency, guard, and request-batch behavior.
functional/providers
Package providers owns provider-facing execution and failure behavior.
Package providers owns provider-facing execution and failure behavior.
functional/replay_contracts
Package replay_contracts owns replay and artifact contract behavior.
Package replay_contracts owns replay and artifact contract behavior.
functional/runtime_api
Package runtime_api owns runtime projection and API-facing functional coverage.
Package runtime_api owns runtime projection and API-facing functional coverage.
functional/smoke
Package smoke owns fast end-to-end confidence checks for the default functional lane.
Package smoke owns fast end-to-end confidence checks for the default functional lane.
functional/workflow
Package workflow owns core multi-step workflow behavior coverage.
Package workflow owns core multi-step workflow behavior coverage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL