Re-exports§
pub use config::BuildHttpClient;pub use distri_types as types;
Modules§
- config
- Configuration for the Distri client.
Structs§
- Agent
Registration Response - Minimal response from agent registration - ignores extra fields like cloud-only
id - Agent
Stream Client - ApiKey
Response - Response from API key creation
- Artifact
Entry - An artifact entry in a listing.
- Artifact
List Response - Response from listing artifacts in a namespace.
- Artifact
Namespace - An artifact namespace (e.g., a task’s artifact space).
- Artifact
Namespace List - Response listing all artifact namespaces.
- Artifact
Read Response - Response from reading an artifact.
- Artifact
Save Response - Response from saving an artifact.
- Create
Plugin Request - Request to create a new plugin.
- Create
Skill Request - Request to create a new skill.
- Create
Skill Script Request - Request to create a script within a skill.
- Distri
- Simple HTTP/SSE client for invoking agents with Distri messages.
- Distri
Client App - Distri
Config - Configuration for the Distri client.
- Event
Printer - External
Tool Registry - Per-context registry for handling external tools locally instead of waiting for remote completion.
- Hook
Context - Hook
Mutation - Hook
Registry - A per-execution hook registry that lives alongside an ExecutorContext. Hooks are fire-and-forget - they execute but don’t return values.
- Inline
Hook Request - Inline
Hook Response - Invoke
Options - Options for customizing agent invocations with dynamic template data.
- LlmExecute
Options - Options for LLM execution
- LlmExecute
Response - Login
UrlResponse - Response from get_login_url - returns the web app login URL
- NewPrompt
Template Request - Request to create/update a prompt template.
- Plugin
Response - Full plugin information including code - returned from get/create/update.
- Plugins
List Response - Wrapped response for plugin lists.
- Prompt
Template Response - Response from prompt template API.
- Skill
List Item Response - Lighter skill information without content - returned from list endpoints.
- Skill
Response - Full skill information including content and scripts.
- Stream
Item - Incoming item from the agent stream. Carries the raw A2A message kind and the reconstructed AgentEvent (if the metadata could be parsed).
- Sync
Prompt Templates Response - Response from syncing prompt templates.
- Task
Namespace Response - Response from getting a task’s namespace.
- Token
Response - Response for issuing access + refresh tokens.
- Tool
List Item - Update
Plugin Request - Request to update an existing plugin.
- Update
Skill Request - Request to update an existing skill.
- Validate
Plugin Response - Response from plugin validation.
- Workspace
Response - Workspace information
Enums§
Functions§
- print_
stream - Convenience helper that streams an agent and prints events to stdout.
- print_
stream_ verbose - Convenience helper that streams an agent and prints events to stdout, with optional verbose tool output.
- register_
local_ filesystem_ tools - Register local filesystem and artifact tools for an agent, returning their definitions for UI/listing.