Output Overview
The Axion Framework provides a robust and extensible mechanism for managing and generating outputs from various components. Outputs include task results, decision logs, knowledge graphs, and decentralized data reports. This section explains how outputs are handled, stored, and utilized within the framework.
Key Output Types
1. Task Results Task results generated by agents can be stored locally, logged on the blockchain, or uploaded to IPFS for decentralized access. Examples of task results:
Text analyses or summaries
Images or visual data
Computation outcomes
2. Swarm Consensus Logs Outputs from swarm decision-making processes are logged for auditing and transparency. Includes:
Task proposals
Voting results
Final consensus decisions
3. Knowledge Graphs Visual representations of relationships and entities stored in the knowledge graph. Exportable as:
Graph image files (e.g.,
.png
,.jpg
)Data files (
.json
,.csv
) for external analysis
4. Decentralized Reports Reports or datasets are generated by agents and uploaded to IPFS for secure, distributed access. Reports may include:
Performance metrics
Workflow execution summaries
5. Blockchain Logs Task and decision logs are recorded on-chain for transparency and verification. Includes:
Task descriptions and results
Transaction hashes for on-chain actions
Examples
1. Saving Task Results Agents can save results locally or upload them to IPFS for decentralized storage.
2. Logging Consensus Decisions Swarm decisions can be saved for transparency and further analysis.
3. Exporting Knowledge Graphs Visualize and export knowledge graphs for insights into agent knowledge.
4. Generating Decentralized Reports Upload reports to IPFS for secure, distributed access.
5. Blockchain Task Logs Log tasks and results on the blockchain for immutable tracking.
Best Practices for Managing Outputs
File Management
Use structured directories (e.g.,
outputs/
,logs/
) for organized data storage.Standardize file names and formats for consistency.
Decentralization
Use IPFS to ensure sensitive data is securely stored and available.
Leverage blockchain for immutable task logs.
Data Privacy
Encrypt sensitive outputs before storage or upload.
Use private IPFS gateways for controlled access.
Auditability
Maintain detailed logs for debugging, compliance, and reporting.
Record all task results, consensus decisions, and on-chain activities.
Common Issues and Solutions
FileNotFoundError: Missing outputs directory
Create the directory before saving outputs (mkdir outputs
).
IPFS upload failure
Check IPFS client connectivity and retry.
Blockchain log failure
Ensure sufficient balance for transaction fees and verify RPC connectivity.
Last updated