PlatformEnvironment

Platform

Environment

Everything you need to know about a Goal's environment — the VM, developer toolchain, networking, and credentials.

Built from v0.2.3

A Goal's environment is where Telos turns it into running software.

Overview

Each Goal gets its own persistent VM that runs a lightweight Kubernetes cluster.

The Telos agent harness lives inside this VM and has access to a full git repository, developer toolchain, and permissions to launch and manage services (inside the VM). This lets the agent own the full build, test, and deploy lifecycle.

Toolchain

Any agent's capability is bounded by the tools it can use. Every Telos Cloud environment includes the tools below, packaged with Nix for hermetic, consistent deployments.

CapabilityIncluded tools
Languages and buildsPython 3.12, Node.js 22, npm/npx, Clang 21, Bazel 7, Bazelisk
Source controlGit
InfrastructureKubernetes CLI (kubectl), Helm, OpenTofu (tofu)
Browser testingPlaywright, Chromium
Databases and servicesPostgreSQL (psql, pg_dump, pg_restore), Redis (redis-cli), MongoDB (mongosh, import/export and backup tools), Kafka command-line tools, ClickHouse (clickhouse-client, clickhouse-local)
ObservabilityLoki CLI (logcli), Prometheus, Alertmanager CLI (amtool)
Network and process diagnosticscurl, dig, nslookup, nc, openssl, ip, ss, tcpdump, ps, top, strace
Data processing and file inspectionjq, yq, grep, sed, gawk, diff, find, file, tree, less
Secrets managementOpenBao CLI (bao), Vault CLI (vault)

Networking

Telos follows a strict networking model, with limited ingress and egress by default.

Ingress

The only entry points into a Goal's environment are:

  • the product API or UI, accessed through the managed hostname (<name>-<id>.usetelos.ai, where <id> is the Goal ID without goal_, like reading-list-c7d2f0a4e8.usetelos.ai)
  • the administration dashboard, accessed via the web UI and restricted to workspace administrators.

Egress

By default, Telos allows a limited set of egress points out of a Goal's environment:

EcosystemDescriptionHostnames
Docker HubDownload public container imagesauth.docker.io, registry-1.docker.io, production.cloudfront.docker.com
PyPIDownload Python packagespypi.org, files.pythonhosted.org
npmDownload npm packagesregistry.npmjs.org

Access is limited to the read-only HTTPS methods and paths needed for these downloads — it does not allow arbitrary requests to these hosts.

For most real-world use cases, this is insufficient, so Telos also supports configuring additional outbound HTTPS access in your Goal's YAML frontmatter, for example:

YAML
---
name: a-noble-goal
version: 0.1.0
network:
  - host: public.example.com
  - host: api.example.com
    credential: example-api-key
    methods: [GET]
    paths: ["/reports/*"]
---

Each entry in network specifies a host and optionally restricts HTTP methods and URL paths on that host. A host without methods or paths allows traffic via all methods and all paths.

For a new Goal, if you want to retain the default-deny egress behavior for Telos, either don't define network or set network: []. Doing so will still keep the defaults (Docker Hub, PyPI, npm).

Credentials

It is also possible to securely inject credentials to outbound requests from the Telos runtime. The workflow for this is as follows:

  1. Create a credential on the web dashboard. A credential is a name plus one or more keys, each sent in an HTTP header that you choose.
  2. List defined credentials' names locally via telos config.
  3. Add the credential's destination host to network in your Goal's frontmatter.
  4. Associate that host with the credential's name.

The credential's name is what gets referenced in the YAML frontmatter and must use lowercase letters, numbers, and hyphen-separators.

Credentials are encrypted at rest and never enter your Goal's VM. Instead, your Goal sends the placeholder telos-proxy-v1 where the key goes, and a proxy outside the VM replaces it with the real key on requests that match your network rules. For a credential sent in the Authorization header:

Terminal
curl https://api.example.com/reports/latest \
  -H 'Authorization: Bearer telos-proxy-v1'

If the credential uses a custom header, send the placeholder there, like X-Vault-Token: telos-proxy-v1. For a client that reads its key from an environment variable, set that variable to telos-proxy-v1 yourself. Credentials don't set environment variables. The placeholder is public, not a secret.

Your Goal can use credentials, but never see them. It can still make any request your rules allow, so we recommend using a least-privilege key and narrowing access with methods and paths.

A few additional details on this feature:

  • Outbound access is only for HTTPS (no raw TCP/UDP) requests.
  • Credentialed entries require an exact hostname, and paths must be exact or end in /*.
  • Network-only entries can use a wildcard host with a leading *., like *.example.com.
  • One credential can serve multiple declared hosts.
  • Only owners and admins of a workspace can create, edit, or delete credentials.