Skip to content

quarkloop/quark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

988 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Quark

CI Go 1.26+ License

Quark is a local operating environment for autonomous AI workspaces. It gives agents isolated spaces, plugin-defined identities, typed service functions, tool execution, model/provider routing, and a supervisor that owns lifecycle and persistent state.

The project is production-shaped by design: explicit ownership boundaries, gRPC service contracts, supervisor-owned discovery, real supervisor/runtime E2E tests, redacted observability artifacts, and strict data-flow rules.

What You Get

Area What it does
Spaces Local-first workspaces configured by a Quarkfile.
Supervisor Control plane for spaces, sessions, plugin installs, service discovery, readiness, catalogs, and runtime lifecycle.
Runtime Agent loop, profile prompts, LLM/model calls, tool execution, service-function dispatch, permissions, activity, and workflow guards.
Agents Launch profiles for Quark Knowledge, Quark DevOps, and Quark System.
Services Typed gRPC-backed functions for model, core, document, ingestion, indexer, citation, DevOps, System, Space, embedding compatibility, and build-release compatibility.
Observability Redacted activity, tool/service timelines, model usage records, diagnostics, and E2E artifacts.

The core product shape is simple: the agent reasons and coordinates; services execute typed deterministic work; supervisor owns discovery and lifecycle.

Quickstart

git clone https://github.com/quarkloop/quark
cd quark
make build
export PATH="$PWD/bin:$PATH"

Start the supervisor:

supervisor start --port 7200 --runtime ./bin/runtime

Create and run a space:

mkdir /tmp/quark-demo
cd /tmp/quark-demo
quark init --name quark-demo
export OPENROUTER_API_KEY=sk-or-v1-...
quark run
quark session create --title "Demo"

The CLI is an HTTP client. The supervisor stores space state under $QUARK_SPACES_ROOT or ~/.quarkloop/spaces.

See QUARKFILE.md for Knowledge, DevOps, System, local model, OpenRouter model, local embedding, and OpenRouter embedding examples.

Architecture

quark CLI
  |
  | HTTP
  v
supervisor  -> spaces, sessions, discovery, catalogs, runtime lifecycle
  |
  | launches with resolved catalogs
  v
runtime     -> agent loop, prompts, tools, service functions, activity
  |
  | tool calls and gRPC service functions
  v
plugins/tools/*     services/*     providers/*     plugins/agents/*

Core rule: agents coordinate, services execute. Services do not call each other, and runtime does not rediscover plugins or services once supervisor has resolved the catalog.

Read the deeper architecture notes in ARCHITECTURE.md.

Build And Test

make build           # cli, supervisor, runtime, tools, services
make build-plugins   # tool .so files and provider .so files
make test            # unit tests across workspace modules
make test-e2e-local  # deterministic E2E subset, no provider key
make test-e2e        # provider-backed E2E suite
make check           # fmt-check, vet, test, arch-check, dead-code-check
make release-check   # release readiness gate with local deterministic E2E

See DEVELOPMENT.md for setup, E2E requirements, provider keys, troubleshooting, and release checks.

Documentation

Status

Quark is under active development. The supervisor/runtime/plugin/service foundation is in place, with service-backed Knowledge, DevOps, and System flows covered by product-level tests and a final E2E verification gate.

Issues and PRs are welcome. Please keep changes scoped, add tests that match the risk, and use conventional commit messages such as feat: add service function catalog.

About

Autonomous AI Agents for Everyday Work — Your Agents. Your Machine. Your Control.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors