Skip to main content

A pre-alpha AI Agent framework for goal-driven automatic programming.

Project description

PyPI version

中文版本

DeepGoal

DeepGoal is a pre-alpha AI Agent framework for goal-driven automatic programming. It models engineering workflows as composable pipelines: container nodes orchestrate the flow, while executors perform the leaf work.

Status

DeepGoal is under active design and development. APIs may change before the first stable release.

Requirements

  • Python 3.11+

Installation

pip install deepgoal

For local development:

pip install -e ".[dev]"

Minimal Example

from deepgoal.core.executor import Executor
from deepgoal.core.node import PipelineInput, PipelineOutput, PipelineResult
from deepgoal.core.pipeline.pipe import Pipe
from deepgoal.core.types import EngineOptions


class WriteSpecExecutor(Executor):
    async def execute(self, input: PipelineInput, options: EngineOptions) -> PipelineResult:
        return PipelineResult.ok(PipelineOutput(primary_path="workspace/spec.md"))


pipe = Pipe(items=[WriteSpecExecutor()])
result = await pipe.run(PipelineInput(primary_path="goal.md"))
print(result.output.primary_path)

Core Idea

  • Node / Pipe are containers that expose pipeline input and output boundaries.
  • Executor is a leaf execution unit.
  • Containers can compose child nodes and executors into serial, parallel, loop, or branch workflows.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepgoal-0.0.3.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepgoal-0.0.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file deepgoal-0.0.3.tar.gz.

File metadata

  • Download URL: deepgoal-0.0.3.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for deepgoal-0.0.3.tar.gz
Algorithm Hash digest
SHA256 65758af1cdc0ac67da065f39a435795893798601f8a5504cd739dec7bf95dbc1
MD5 6146a16b62a1957692d45383a5c7bd69
BLAKE2b-256 285d6e8401dd68908026625b18b9252ad12ae9b42aaf813d6e9671cc2cd22cd3

See more details on using hashes here.

File details

Details for the file deepgoal-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: deepgoal-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for deepgoal-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 25cdbe3c495d72efac3649d5cf49b75c5f3023a92615ea4dd057e32db8faa70c
MD5 98af23cc2533c28556a319d154ac6aae
BLAKE2b-256 6984aef2597c999ef84b0c250c4b7e5e328afc8617df7103817f0153f8a6dd4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page