Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 2.76 KB

agentic.md

File metadata and controls

48 lines (41 loc) · 2.76 KB

Agentic

The opt-in pyfly.agentic module integrates agents, tools, model routing, conversations, content processing, embeddings, vector stores, reasoning, validation, pipelines, dynamic workflows and operational controls with PyFly's configuration, dependency injection and application lifecycle. It preserves the source capability APIs beneath the new namespace; Pydantic AI remains the provider execution engine.

Install the agentic extra from a verified PyFly release, v26.10.08 or later, then set pyfly.agentic.enabled to true. The module is disabled by default; PyFly's base installation does not need the AI SDKs. See installation and every extra.

pyfly:
  agentic:
    enabled: true
    default_model: openai-responses:gpt-6-luna

Each application owns an AgenticRuntime, configuration, registries, usage/quota state and managed resources. Inject AgentFactory into services and call factory.create(name, **kwargs); use an explicit runtime for scripts. The native DI and lifecycle tutorial contains complete offline and live-service examples and explains shutdown and ownership.

Task Guide
First agent, tool and conversation Quick start
Complete capability reference Guide catalogue
Model/API options Models
Retrieval and scope Content, embeddings, vector stores
Multi-step execution Reasoning, pipelines, workflows
Operating controls Observability, security, storage
Runnable examples and requirements Examples
Existing standalone applications Migration

Application-scoped state does not supply authentication or database RLS. Runtime budgets depend on priced usage; tools still need idempotency for external effects. Persistent working memory and checkpoint journals have their documented scope and recovery semantics. The visual guide makes these boundaries explicit.

Native database memory and pgvector borrow PyFly Data resources and join its unit of work. Async services await memory APIs; obsolete URL/pool controls require migration. Content encryption is applied during default composition, while custom managers own their confidentiality policy. The existing admin console adds guarded read-only Agentic inventory and retained accounting. See native cutover.