antigravity

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultStateDir

func DefaultStateDir() (string, error)

DefaultStateDir returns the default trajectory storage directory, ~/.ax/antigravity/conversations. AX owns this path so it stays a harness implementation detail rather than a user-facing ax.yaml knob. It lives outside the agent's working directory on purpose: the working directory is the agent's operating surface (it reads and edits files there), so AX's internal state is kept separate to avoid the agent seeing or clobbering it.

Types

type AntigravityHarness

type AntigravityHarness struct {
	// contains filtered or unexported fields
}

AntigravityHarness implements the Harness interface by connecting to the Antigravity Python agent server over gRPC.

func New

func New(ctx context.Context, address, stateDir string, autoStart bool) (*AntigravityHarness, error)

New creates a new AntigravityHarness. When autoStart is true, New forks the Antigravity Python sidecar and waits for it to become reachable. If stateDir is non-empty, it is passed to the sidecar as --state-dir; empty stateDir lets the sidecar apply its own default.

func (*AntigravityHarness) Start

func (h *AntigravityHarness) Start(ctx context.Context, conversationID string, harnessConfig []byte) (harness.Execution, error)

Start implements Harness.Start.

Jump to

Keyboard shortcuts

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