cd /news/artificial-intelligence/portal-agent-astra-reaches-portal-en… · home topics artificial-intelligence article
[ARTICLE · art-122597] src=github.com ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Portal Agent – Astra reaches Portal endgame

A developer using OpenAI's GPT-6 Astra model completed Valve's Portal game in about 23 hours 43 minutes on September 5, 2026, with the AI agent controlling gameplay through a custom SourcePauseTool and local MCP server. The run, which reached the end credits, is documented in a public repository with setup instructions and a session log.

read2 min views1 publishedSep 7, 2026
Portal Agent – Astra reaches Portal endgame
Image: Michielbdejong (auto-discovered)

This is the setup I used for my GPT-6 Astra Portal run, which reached the end credits on September 5, 2026 (San Francisco time, PDT / UTC−7).

Portal s while the agent thinks. The agent sees screenshots, player position, and camera angles, chooses its next inputs, then lets the game advance and checks the result.

flowchart LR
    A[Codex / GPT-6 Astra] -->|JavaScript plan| B[Local MCP server]
    B -->|TCP on 127.0.0.1:27182| C[Custom SourceTool]
    C -->|Play N ticks, then | D[Portal]
    D -->|Screenshot + position + facing| C
    C --> B
    B --> A

The run used gpt-6-astra with max reasoning effort and took about 23 hours 43 minutes, including capacity interruptions and waiting. I resumed it after capacity errors and switched to Fast mode. The agent handled gameplay throughout; after the initial goal, my only additional instruction was to leave the credits rolling.

The controller and SourceTool changes here are the versions used during the run. Game files are not included; you'll need your own copy of Portal.

Source files and technical reference #

Folder Contents
controller/ Game controller, API reference , and tests
run/ Agent instructions and configuration template
game-config/ Game settings and the SPT file
spt/ SourceTool changes and version details
evidence/ Sanitized session log and summary
tools/ Setup and export helpers

Controller code uses MIT; SourceTool retains its upstream license and credits. Portal belongs to Valve. Documentation and session evidence have no additional license grant.

Personal information and embedded screenshots were removed from the shared log. See privacy notes.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/portal-agent-astra-r…] indexed:0 read:2min 2026-09-07 ·