Skip to content

Comments

feat(docs): add AI agent setup and usage documentation#569

Open
floreks wants to merge 7 commits intomainfrom
feat/update-agent-harness-docs
Open

feat(docs): add AI agent setup and usage documentation#569
floreks wants to merge 7 commits intomainfrom
feat/update-agent-harness-docs

Conversation

@floreks
Copy link
Member

@floreks floreks commented Feb 4, 2026

  • Introduced new sections for AI agent configuration, remote browser setup, and operational workflows.
  • Included new images for agent run processes.

TODO

Plural Flow: docs
Plural Preview: docs

- Introduced new sections for AI agent configuration, remote browser setup, and operational workflows.
- Generated associated routes for newly added documentation.
- Updated last modified timestamps in routes.json.
- Included new images for agent run processes.
@floreks floreks requested a review from a team as a code owner February 4, 2026 16:02
Copy link
Contributor

@plural-copilot plural-copilot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Deploy preview for docs-pr-569 is ready!

Name Details
⚡ Service docs-pr-569 (5 / 5 ready)
☁️ Cluster plural (eks)
:octocat: Commit sha ee0aae3
Plural URL https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a...
🔍 Logs URL https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a...
🌊 Flow URL https://console.mgmt.plural.sh/flows/08a17af1-8578-449e-9ae1-28ccd97eafc...
Preview Link Preview

You can learn more about preview environments and Plural Flows here

@floreks floreks marked this pull request as draft February 4, 2026 16:02
@floreks floreks self-assigned this Feb 4, 2026
@@ -0,0 +1,75 @@
---
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add some docs on how to add network policies to the runtime, and perhaps tune resources.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean something like that?

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: agent-runtime-egress
  namespace: plrl-agents
spec:
  podSelector: {}
  policyTypes:
    - Egress
  egress:
    # AI provider (replace with your approved endpoint ranges)
    - to:
        - ipBlock:
            cidr: 104.16.0.0/12
      ports:
        - protocol: TCP
          port: 443

Should it be targeted namespace-wide or based on custom label added to the runtime pod spec?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea exactly, and it can be either way, namespace wide is simplest to explain probably

- Renamed "AI agent" to "AI Background Agent" across documentation.
- Added sections for supported agents and benefits of using AI agents.
- Introduced details on tuning runtime resources and configuring network policies.
- Updated namespace values in YAML examples for clarity.
- Added links to AgentRuntime and BrowserConfig API references across documentation.
@floreks floreks marked this pull request as ready for review February 11, 2026 11:58
@greptile-apps
Copy link

greptile-apps bot commented Feb 11, 2026

Greptile Overview

Greptile Summary

Added comprehensive AI agent documentation covering setup, configuration, and remote browser testing. The new documentation introduces three main sections: an overview of AI Background Agent capabilities, detailed agent runtime configuration with resource tuning and network policies, and extensive remote browser setup guidance for E2E testing with Playwright, Puppeteer, Selenium, and Cypress.

Key additions:

  • New AI agent overview explaining supported providers (Claude Code, OpenCode, Gemini) and use cases
  • AgentRuntime configuration examples with resource limits and DinD support
  • Remote browser sidecar configuration with multiple browser options
  • Practical Docker Compose examples for containerized testing workflows
  • API reference updates for BrowserConfig, Browser enum, and ObserverAgentAction
  • Three new UI screenshots showing the agent runs workflow

Minor issue found: NetworkPolicy example documentation references ipBlock entries that aren't present in the YAML example.

Confidence Score: 5/5

  • This PR is safe to merge - it only adds documentation with one minor inconsistency
  • Documentation-only PR with well-structured content, comprehensive examples, and proper cross-references. The single issue found is a minor documentation inconsistency that doesn't affect functionality
  • pages/plural-features/plural-ai/ai-agent/configure-agent.md has a minor documentation inconsistency

Important Files Changed

Filename Overview
pages/plural-features/plural-ai/ai-agent/index.md New AI agent overview documentation - clear structure, good use cases, proper cross-references
pages/plural-features/plural-ai/ai-agent/configure-agent.md Agent configuration guide with YAML examples - includes inconsistency in NetworkPolicy documentation
pages/plural-features/plural-ai/ai-agent/remote-browser.md Comprehensive remote browser setup guide with practical examples for multiple test frameworks
pages/api-reference/kubernetes/agent-api-reference.md API reference updated with new BrowserConfig and Browser enum documentation

@floreks
Copy link
Member Author

floreks commented Feb 11, 2026

@michaeljguarino PTAL

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants