Skip to content

Latest commit

 

History

History
203 lines (158 loc) · 8.58 KB

File metadata and controls

203 lines (158 loc) · 8.58 KB

Palamedes

English · 한국어

Palamedes

Palamedes decides what mission is worth planning before execution agents decide how to implement it.

Palamedes is an open-source, local-first Goal Discovery and Goal Synthesis Engine. It works before planner -> task -> implementation: observing what matters, forming competing interpretations, discovering product and business opportunities, attacking assumptions, and handing a bounded mission to downstream agents.

It treats direction as revisionable state rather than disposable prompt text. Evidence, hypotheses, view changes, rejected alternatives, falsifiers, outcomes, and restore points remain inspectable in the repository.

world signals and references
  -> competing interpretations
  -> product opportunities and candidate missions
  -> evidence, criticism, and falsification
  -> selected mission contract + non-goals
  -> planner -> tasks -> implementation
  -> outcome signals back to Palamedes

Current Status

Research Alpha. The plan-state kernel is implemented and heavily tested. The autonomous pre-planner remains an active, falsifiable product hypothesis.

Area Status
Revision, restore, fingerprint conflicts, QA Implemented
Mission cognition and bounded handoff Implemented
Opportunity, invention, vision, and pursuit workflows Experimental
Better reviewed missions than a one-shot baseline Initial blinded model-review evidence
Better external outcomes or human-level creativity Not proven

Palamedes reports evidence limits rather than converting generated confidence, retrieval, debate, or novelty into authority. See Evidence and Demos for the proof ledger, costs, failures, and reproduction paths.

What It Does

  • Keeps one revisionable plan with evidence, hypotheses, and restore history.
  • Runs independent interpretation, invention, adversarial, and selection roles.
  • Finds retention, monetization, content, distribution, platform, and risk opportunities.
  • Preserves useful established patterns when product-specific causal fit exists.
  • Separates observation, inference, value judgment, commitment, and execution.
  • Produces explicit falsifiers, non-goals, reversal triggers, and bounded probes.
  • Integrates with execution agents without granting itself delivery authority.
  • Records outcomes without silently laundering correlation into causation.

Why Use It

Use Palamedes when:

  • AI can build quickly but the direction keeps drifting.
  • several plausible product or research paths compete for attention.
  • the obvious feature request may hide a larger business opportunity.
  • you need a reviewable reason to select, defer, or reject a direction.
  • implementation should create evidence rather than merely complete tasks.

Palamedes is not a general execution runtime, autonomous deployer, or guarantee of originality and commercial success. People and hosts retain approval, credentials, side effects, and delivery authority.

Quick Start

Requirements: Python 3.9+ and one provider: Codex CLI, OpenRouter, OrcaRouter, OpenAI, Anthropic, Gemini, or an OpenAI-compatible endpoint such as vLLM.

git clone https://github.com/LEE-Kyungjae/Palamedes.git
cd Palamedes
python3 -m pip install -e .
palamedes init
codex login
palamedes chat --provider codex

Inside the chat terminal:

/think What product assumption is most likely to be wrong?
/opportunity Find retention, revenue, distribution, and operating opportunities.
/cycle Choose the smallest reversible mission that tests user value.
/approve

For provider setup, including vLLM/Ollama/LM Studio, workspace selection, and plan-state CLI examples, see Getting Started.

Core Workflows

Goal Command
Explore competing interpretations /think <topic>
Discover multi-perspective product opportunities /opportunity <context>
Originate and select a bounded mission /cycle <context>
Run partitioned product invention with cross-domain GitNexus evidence /cycle --mode product <context>
Explore structural product inventions /invent <context>
Originate a product world /vision <context>
Run a lower-cost founder-prompt scout /vision-scout <context>
Compose evidence-producing knowledge work /pursue <objective>
Observe repository reality palamedes observe
Run bounded change-triggered cognition palamedes watch --once

Each workflow preserves different authority boundaries. Read Cognition Workflows before integrating automated approval or execution. Product cycles expose only host-validated transfer mappings—not raw reference hits—to the architecture analogist, and unresolved specialized approvals cannot be satisfied by the generic /approve command.

Architecture

Palamedes plan state
  ├─ evidence and hypotheses
  ├─ competing views and decisions
  ├─ missions, probes, outcomes, and gates
  ├─ revisions, fingerprints, and restore
  └─ CLI / HTTP / Python client / agent adapters

Execution host
  ├─ credentials and process lifecycle
  ├─ implementation and side effects
  └─ observable outcomes returned to Palamedes

Stable and experimental surfaces are listed in STABILITY.md. Contract evolution is documented in CONTRACT_VERSIONING.md.

Documentation

Document Contents
Product Overview Purpose, architecture, boundaries, state model, principles
Evidence and Demos Proof ledger, costs, failures, demos, reproduction
Getting Started Installation, providers, first session, workspaces
Cognition Workflows Cycle, Opportunity, Invention, Vision, Pursuit, Watch
Integrations HTTP, Python client, agent hosts, adapters
Operations Reference CLI groups, concurrency, restore, storage, verification

Additional references:

Every overview document has a matching .ko.md Korean version with the same section structure, commands, factual claims, and safety boundaries.

Development

make check

Individual targets include make compile, make test, make scaffold-test, make schema-check, and make package-check.

License

Palamedes is open-source software licensed under the MIT License. You may use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, subject to the license terms. The copyright notice and permission notice must be included in copies or substantial portions of the software.

Copyright (c) 2026 LEE Kyungjae.

Contributors

Thank you to everyone who helps Palamedes improve through code, documentation, testing, issue reports, and review.

Palamedes contributors

Star History

Star History Chart