Skip to main content

Classified Agent CLI — Synthesis Hackathon ($75K Prizes). Build + submit AI agents in 60s. PyVax-powered Web3 scaffolding.

Project description

🧪 Classified Agent — Synthesis Hackathon CLI

PyPI version Python 3.10+ License: MIT

Build + submit AI agents for Synthesis Hackathon ($75K prizes) in 60 seconds.

100% offline core. PyVax-powered Web3 scaffolding. Resilient state machine with automatic resume.


⚡ Quickstart (60 seconds to submission)

pip install classified-agent

classified-agent init
# → Edit classified.toml (set API keys)

export ANTHROPIC_API_KEY='sk-ant-...'

classified-agent run
# 🚀 Agent running — Synthesis Hackathon LIVE!

🏗️ Architecture

classified_agent/
├── cli/             # Typer CLI: init, run, join-synthesis
├── config/          # Pydantic v2 models + TOML loader
├── core/            # Agent runtime (LLM, loop, context, memory)
├── tools/           # 14 built-in tools (fs, http, git, web3)
├── wallet/          # On-chain backends (PyVax local, mock, managed)
├── adapters/        # Synthesis.md hackathon integration
├── logging/         # Rich console + JSONL structured logs
└── examples/        # Example classified.toml configurations

🎯 CLI Commands

Command Description
classified-agent init Scaffold classified.toml + workspace
classified-agent run Start the agent loop
classified-agent run --dry-run Simulate (no on-chain txs)
classified-agent run --verbose Debug-level logging
classified-agent join-synthesis --enable Join Synthesis hackathon mode

🔧 Configuration (classified.toml)

[agent]
name = "my-agent"
max_steps = 50
workspace_dir = "./workspace"

[llm]
provider = "anthropic"        # "anthropic" | "openai"
model = "claude-sonnet-4-20250514"
api_key_env = "ANTHROPIC_API_KEY"

[wallet]
backend = "pyvax_local"       # "pyvax_local" | "mock"
default_chain = "avalanche_fuji"

[wallet.policy]
max_native_per_tx = "0.1"     # AVAX per transaction
max_native_per_day = "1.0"    # daily spend cap

[synthesis]
enabled = false
track = "open"                # open | uniswap | base | lido

🛠️ Built-in Tools (14 + 3 Synthesis)

Category Tools
Filesystem fs_read, fs_write, fs_list
HTTP http_get (domain allowlist)
Git git_init, git_status, git_commit
PyVax pyvax_compile, pyvax_deploy, pyvax_call
Wallet wallet_get_balance, wallet_send_native, wallet_erc20_transfer, wallet_erc20_approve
Synthesis synthesis_load_skill, synthesis_register, synthesis_report_status

🔒 Safety & Resilience

  • Wallet Policy: Per-tx and daily spend caps, contract/method allowlists
  • Sandboxed FS: All file ops confined to workspace directory
  • HTTP Allowlist: Only whitelisted domains (synthesis.md, pyvax.xyz, GitHub, Avalanche)
  • Dry-Run Mode: --dry-run flag simulates all state-changing operations
  • API Resilience: Exponential backoff + retry for rate limits
  • State Checkpoints: Resume from exact failure point

🏆 Synthesis Hackathon Workflow

1. pip install classified-agent
2. classified-agent init
3. Set API keys in classified.toml
4. classified-agent join-synthesis --enable
5. Agent fetches skill.md → registers → builds → submits
6. 🎉 $75K prizes unlocked!

📦 Development

git clone https://github.com/ShahiTechnovation/classified-agent
cd classified-agent
pip install -e ".[dev]"
pytest classified_agent/tests/ -v

🔗 Links

License

MIT — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

classified_agent-1.1.0.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

classified_agent-1.1.0-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file classified_agent-1.1.0.tar.gz.

File metadata

  • Download URL: classified_agent-1.1.0.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for classified_agent-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6891ba3aed76099154acb91d256ffbc04edc1e1b2115bb0d1bf9f53f189915f0
MD5 6ed4ec4767f37c2d8fccdeda01bae80c
BLAKE2b-256 97d66767c3951fa26342db0667ae44d2a8af80dee8c3f7f85643b68fc0b8e490

See more details on using hashes here.

File details

Details for the file classified_agent-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for classified_agent-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a53baebef75eed7c95db54f2892373e55efc6a3f07dc1dc04c387196cf20159
MD5 b349be685ab14f92b03af6e9f44d0ed0
BLAKE2b-256 194e0a6aba5df23c9edaeb44ccb082299c9c311f3044797280ea68711a57e603

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page