connectonion 0.6.1__py3-none-any.whl → 0.6.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- connectonion/__init__.py +46 -9
- connectonion/cli/__init__.py +11 -1
- connectonion/cli/browser_agent/__init__.py +11 -1
- connectonion/cli/browser_agent/browser.py +95 -142
- connectonion/cli/browser_agent/element_finder.py +147 -0
- connectonion/cli/browser_agent/highlight_screenshot.py +182 -0
- connectonion/cli/browser_agent/prompt.md +188 -105
- connectonion/cli/browser_agent/prompts/element_matcher.md +59 -0
- connectonion/cli/browser_agent/prompts/form_filler.md +19 -0
- connectonion/cli/browser_agent/prompts/scroll_strategy.md +36 -0
- connectonion/cli/browser_agent/scripts/extract_elements.js +126 -0
- connectonion/cli/browser_agent/scroll.py +145 -0
- connectonion/cli/co_ai/__init__.py +6 -0
- connectonion/cli/co_ai/agent.py +87 -0
- connectonion/cli/co_ai/agents/__init__.py +5 -0
- connectonion/cli/co_ai/agents/registry.py +57 -0
- connectonion/cli/co_ai/commands/__init__.py +45 -0
- connectonion/cli/co_ai/commands/compact.py +173 -0
- connectonion/cli/co_ai/commands/cost.py +77 -0
- connectonion/cli/co_ai/commands/export.py +60 -0
- connectonion/cli/co_ai/commands/help.py +80 -0
- connectonion/cli/co_ai/commands/init.py +101 -0
- connectonion/cli/co_ai/commands/sessions.py +55 -0
- connectonion/cli/co_ai/commands/tasks.py +63 -0
- connectonion/cli/co_ai/commands/undo.py +103 -0
- connectonion/cli/co_ai/context.py +127 -0
- connectonion/cli/co_ai/main.py +52 -0
- connectonion/cli/co_ai/plugins/__init__.py +6 -0
- connectonion/cli/co_ai/plugins/reminder.py +76 -0
- connectonion/cli/co_ai/plugins/shell_approval.py +105 -0
- connectonion/cli/co_ai/prompts/agents/explore.md +79 -0
- connectonion/cli/co_ai/prompts/agents/plan.md +60 -0
- connectonion/cli/co_ai/prompts/assembler.py +303 -0
- connectonion/cli/{docs/co-vibecoding-principles-docs-contexts-all-in-one.md → co_ai/prompts/connectonion/README.md} +26 -0
- connectonion/cli/co_ai/prompts/connectonion/api.md +457 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/README.md +805 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/auth.md +46 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/browser.md +235 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/copy.md +184 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/create.md +335 -0
- connectonion/cli/co_ai/prompts/connectonion/cli/init.md +431 -0
- connectonion/cli/co_ai/prompts/connectonion/co-directory-structure.md +214 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/agent.md +1078 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/events.md +816 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/llm_do.md +256 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/max_iterations.md +362 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/models.md +641 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/plugins.md +100 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/prompts.md +122 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/tools.md +512 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/transcribe.md +156 -0
- connectonion/cli/co_ai/prompts/connectonion/concepts/trust.md +291 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/README.md +18 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/auto_debug.md +1026 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/console.md +129 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/eval-format.md +178 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/eval.md +230 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/exceptions.md +307 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/log.md +117 -0
- connectonion/cli/co_ai/prompts/connectonion/debug/xray.md +215 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/001-choosing-input-method.md +202 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/002-choosing-llm-function-name.md +202 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/003-choosing-trust-keyword.md +141 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/004-cli-create-flow.md +117 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/005-designing-agent-network-protocol.md +503 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/006-agent-address-format.md +305 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/007-authentication-backend-design.md +240 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/008-naming-is-hard.md +228 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/009-why-connect-function.md +167 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/010-cli-ux-progressive-disclosure.md +176 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/011-global-config-identity-management.md +357 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/012-tool-execution-separation.md +259 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/013-debug-and-logging-design.md +253 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/014-hook-system-design.md +510 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/015-interactive-auto-debug-design.md +837 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/016-why-no-zero-knowledge-proofs.md +358 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/017-session-logging-and-eval-format.md +120 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/018-event-api-naming.md +274 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/019-agent-lifecycle-design.md +655 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/020-trust-system-and-network-architecture.md +503 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/021-task-storage-jsonl-design.md +496 -0
- connectonion/cli/co_ai/prompts/connectonion/design-decisions/022-raw-asgi-implementation.md +273 -0
- connectonion/cli/co_ai/prompts/connectonion/examples/agent_reasoning.md +62 -0
- connectonion/cli/co_ai/prompts/connectonion/examples/atomic_tools.md +24 -0
- connectonion/cli/co_ai/prompts/connectonion/examples/load_guide.md +18 -0
- connectonion/cli/co_ai/prompts/connectonion/examples.md +0 -0
- connectonion/cli/co_ai/prompts/connectonion/hook-system-options.md +364 -0
- connectonion/cli/co_ai/prompts/connectonion/index.md +162 -0
- connectonion/cli/co_ai/prompts/connectonion/integrations/README.md +12 -0
- connectonion/cli/co_ai/prompts/connectonion/integrations/auth.md +450 -0
- connectonion/cli/co_ai/prompts/connectonion/integrations/google.md +431 -0
- connectonion/cli/co_ai/prompts/connectonion/integrations/microsoft.md +370 -0
- connectonion/cli/co_ai/prompts/connectonion/network/README.md +14 -0
- connectonion/cli/co_ai/prompts/connectonion/network/connect.md +543 -0
- connectonion/cli/co_ai/prompts/connectonion/network/connection.md +538 -0
- connectonion/cli/co_ai/prompts/connectonion/network/deploy.md +123 -0
- connectonion/cli/co_ai/prompts/connectonion/network/host.md +1049 -0
- connectonion/cli/co_ai/prompts/connectonion/network/protocol/agent-relay-protocol.md +495 -0
- connectonion/cli/co_ai/prompts/connectonion/network/protocol/announce-message.md +115 -0
- connectonion/cli/co_ai/prompts/connectonion/principles.md +124 -0
- connectonion/cli/co_ai/prompts/connectonion/quickstart.md +261 -0
- connectonion/cli/co_ai/prompts/connectonion/roadmap.md +81 -0
- connectonion/cli/co_ai/prompts/connectonion/templates/README.md +77 -0
- connectonion/cli/co_ai/prompts/connectonion/templates/meta-agent.md +152 -0
- connectonion/cli/co_ai/prompts/connectonion/templates/minimal.md +105 -0
- connectonion/cli/co_ai/prompts/connectonion/templates/playwright.md +130 -0
- connectonion/cli/co_ai/prompts/connectonion/templates/web-research.md +144 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/README.md +95 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/chat.md +181 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/divider.md +63 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/dropdown.md +83 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/footer.md +44 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/fuzzy.md +68 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/input.md +84 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/keys.md +77 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/pick.md +71 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/providers.md +89 -0
- connectonion/cli/co_ai/prompts/connectonion/tui/status_bar.md +67 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/README.md +156 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/calendar_plugin.md +68 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/eval.md +89 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/gmail_plugin.md +68 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/image_result_formatter.md +74 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/re_act.md +86 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_plugins/shell_approval.md +69 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/README.md +81 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/diff_writer.md +138 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/get_emails.md +499 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/gmail.md +135 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/google_calendar.md +106 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/memory.md +486 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/microsoft_calendar.md +106 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/outlook.md +120 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/send_email.md +403 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/shell.md +95 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/slash_command.md +96 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/terminal.md +97 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/todo_list.md +252 -0
- connectonion/cli/co_ai/prompts/connectonion/useful_tools/web_fetch.md +130 -0
- connectonion/cli/co_ai/prompts/connectonion/vibe-coding-guide.md +97 -0
- connectonion/cli/co_ai/prompts/connectonion/windows-support.md +258 -0
- connectonion/cli/co_ai/prompts/main.md +247 -0
- connectonion/cli/co_ai/prompts/reminders/plan_mode.md +34 -0
- connectonion/cli/co_ai/prompts/summarization.md +55 -0
- connectonion/cli/co_ai/prompts/tools/ask_user.md +61 -0
- connectonion/cli/co_ai/prompts/tools/background.md +57 -0
- connectonion/cli/co_ai/prompts/tools/edit.md +90 -0
- connectonion/cli/co_ai/prompts/tools/glob.md +52 -0
- connectonion/cli/co_ai/prompts/tools/grep.md +55 -0
- connectonion/cli/co_ai/prompts/tools/plan_mode.md +80 -0
- connectonion/cli/co_ai/prompts/tools/read.md +40 -0
- connectonion/cli/co_ai/prompts/tools/shell.md +67 -0
- connectonion/cli/co_ai/prompts/tools/task.md +51 -0
- connectonion/cli/co_ai/prompts/tools/todo.md +139 -0
- connectonion/cli/co_ai/prompts/tools/write.md +47 -0
- connectonion/cli/co_ai/prompts/workflow.md +89 -0
- connectonion/cli/co_ai/reminders.py +159 -0
- connectonion/cli/co_ai/sessions.py +110 -0
- connectonion/cli/co_ai/skills/__init__.py +37 -0
- connectonion/cli/co_ai/skills/builtin/commit/SKILL.md +63 -0
- connectonion/cli/co_ai/skills/builtin/review-pr/SKILL.md +76 -0
- connectonion/cli/co_ai/skills/loader.py +166 -0
- connectonion/cli/co_ai/skills/tool.py +46 -0
- connectonion/cli/co_ai/tools/__init__.py +92 -0
- connectonion/cli/co_ai/tools/ask_user.py +35 -0
- connectonion/cli/co_ai/tools/background.py +201 -0
- connectonion/cli/co_ai/tools/diff_writer.py +291 -0
- connectonion/cli/co_ai/tools/edit.py +89 -0
- connectonion/cli/co_ai/tools/glob.py +84 -0
- connectonion/cli/co_ai/tools/grep.py +158 -0
- connectonion/cli/co_ai/tools/load_guide.py +23 -0
- connectonion/cli/co_ai/tools/multi_edit.py +116 -0
- connectonion/cli/co_ai/tools/plan_mode.py +172 -0
- connectonion/cli/co_ai/tools/read.py +67 -0
- connectonion/cli/co_ai/tools/task.py +59 -0
- connectonion/cli/co_ai/tools/todo_list.py +159 -0
- connectonion/cli/co_ai/tools/write.py +126 -0
- connectonion/cli/commands/__init__.py +11 -1
- connectonion/cli/commands/ai_commands.py +34 -0
- connectonion/cli/commands/copy_commands.py +55 -6
- connectonion/cli/commands/create.py +20 -17
- connectonion/cli/commands/init.py +19 -22
- connectonion/cli/commands/project_cmd_lib.py +15 -0
- connectonion/cli/main.py +11 -0
- connectonion/console.py +15 -1
- connectonion/core/__init__.py +10 -1
- connectonion/core/agent.py +37 -16
- connectonion/core/exceptions.py +74 -0
- connectonion/core/llm.py +54 -6
- connectonion/core/tool_executor.py +32 -31
- connectonion/core/tool_factory.py +47 -10
- connectonion/debug/__init__.py +10 -1
- connectonion/debug/debug_explainer/__init__.py +10 -1
- connectonion/debug/execution_analyzer/__init__.py +10 -1
- connectonion/debug/execution_analyzer/execution_analysis.py +5 -2
- connectonion/debug/runtime_inspector/__init__.py +10 -1
- connectonion/docs/.package-ignore +6 -0
- connectonion/docs/README.md +2036 -0
- connectonion/docs/api.md +457 -0
- connectonion/docs/archive/001-ai-agent-is-just-prompt-plus-function.md +249 -0
- connectonion/docs/archive/README.md +53 -0
- connectonion/docs/archive/archive/consolidation-plan.md +72 -0
- connectonion/docs/archive/archive/core-principles-extracted.md +239 -0
- connectonion/docs/archive/archive/master-principles.md +222 -0
- connectonion/docs/archive/archive/principles.md +293 -0
- connectonion/docs/archive/archive/simplicity-principles.md +221 -0
- connectonion/docs/archive/attack-defense-insights.md +410 -0
- connectonion/docs/archive/business-model.md +305 -0
- connectonion/docs/archive/core-principles-unified.md +190 -0
- connectonion/docs/archive/discussion-journey.md +178 -0
- connectonion/docs/archive/economic-analysis.md +323 -0
- connectonion/docs/archive/features/01-share-and-find.md +256 -0
- connectonion/docs/archive/features/02-agent-authentication.md +93 -0
- connectonion/docs/archive/features/03-test-before-trust.md +71 -0
- connectonion/docs/archive/features/06-reliability-and-offline.md +197 -0
- connectonion/docs/archive/features/README.md +46 -0
- connectonion/docs/archive/features-roadmap.md +247 -0
- connectonion/docs/archive/mcp-comparison-insights.md +215 -0
- connectonion/docs/archive/migration-strategy.md +571 -0
- connectonion/docs/archive/mini-whitepaper.md +293 -0
- connectonion/docs/archive/network-protocol.md +394 -0
- connectonion/docs/archive/semantic-revolution.md +367 -0
- connectonion/docs/archive/technical-architecture.md +453 -0
- connectonion/docs/archive/the-semantic-insight.md +207 -0
- connectonion/docs/archive/threat-model.md +164 -0
- connectonion/docs/cli/README.md +805 -0
- connectonion/docs/cli/auth.md +46 -0
- connectonion/docs/cli/browser.md +235 -0
- connectonion/docs/cli/copy.md +232 -0
- connectonion/docs/cli/create.md +335 -0
- connectonion/docs/cli/init.md +431 -0
- connectonion/docs/co-directory-structure.md +214 -0
- connectonion/docs/concepts/agent.md +1078 -0
- connectonion/docs/concepts/events.md +699 -0
- connectonion/docs/concepts/llm_do.md +256 -0
- connectonion/docs/concepts/max_iterations.md +362 -0
- connectonion/docs/concepts/models.md +641 -0
- connectonion/docs/concepts/plugins.md +100 -0
- connectonion/docs/concepts/prompts.md +122 -0
- connectonion/docs/concepts/session.md +428 -0
- connectonion/docs/concepts/tools.md +512 -0
- connectonion/docs/concepts/transcribe.md +156 -0
- connectonion/docs/concepts/trust.md +291 -0
- connectonion/docs/connectonion.md +1256 -0
- connectonion/docs/debug/README.md +18 -0
- connectonion/docs/debug/auto_debug.md +1026 -0
- connectonion/docs/debug/console.md +129 -0
- connectonion/docs/debug/eval-format.md +178 -0
- connectonion/docs/debug/eval.md +230 -0
- connectonion/docs/debug/exceptions.md +307 -0
- connectonion/docs/debug/log.md +117 -0
- connectonion/docs/debug/xray.md +215 -0
- connectonion/docs/design-decisions/001-choosing-input-method.md +202 -0
- connectonion/docs/design-decisions/002-choosing-llm-function-name.md +202 -0
- connectonion/docs/design-decisions/003-choosing-trust-keyword.md +141 -0
- connectonion/docs/design-decisions/004-cli-create-flow.md +117 -0
- connectonion/docs/design-decisions/005-designing-agent-network-protocol.md +503 -0
- connectonion/docs/design-decisions/006-agent-address-format.md +305 -0
- connectonion/docs/design-decisions/007-authentication-backend-design.md +240 -0
- connectonion/docs/design-decisions/008-naming-is-hard.md +228 -0
- connectonion/docs/design-decisions/009-why-connect-function.md +167 -0
- connectonion/docs/design-decisions/010-cli-ux-progressive-disclosure.md +176 -0
- connectonion/docs/design-decisions/011-global-config-identity-management.md +357 -0
- connectonion/docs/design-decisions/012-tool-execution-separation.md +259 -0
- connectonion/docs/design-decisions/013-debug-and-logging-design.md +253 -0
- connectonion/docs/design-decisions/014-hook-system-design.md +510 -0
- connectonion/docs/design-decisions/015-interactive-auto-debug-design.md +837 -0
- connectonion/docs/design-decisions/016-why-no-zero-knowledge-proofs.md +358 -0
- connectonion/docs/design-decisions/017-session-logging-and-eval-format.md +120 -0
- connectonion/docs/design-decisions/018-event-api-naming.md +274 -0
- connectonion/docs/design-decisions/019-agent-lifecycle-design.md +655 -0
- connectonion/docs/design-decisions/020-trust-system-and-network-architecture.md +503 -0
- connectonion/docs/design-decisions/021-task-storage-jsonl-design.md +496 -0
- connectonion/docs/design-decisions/022-raw-asgi-implementation.md +273 -0
- connectonion/docs/examples.md +0 -0
- connectonion/docs/hook-system-options.md +364 -0
- connectonion/docs/integrations/README.md +12 -0
- connectonion/docs/integrations/auth.md +450 -0
- connectonion/docs/integrations/google.md +431 -0
- connectonion/docs/integrations/microsoft.md +370 -0
- connectonion/docs/network/README.md +14 -0
- connectonion/docs/network/connect.md +629 -0
- connectonion/docs/network/deploy.md +124 -0
- connectonion/docs/network/host.md +1087 -0
- connectonion/docs/network/io.md +538 -0
- connectonion/docs/network/protocol/agent-relay-protocol.md +495 -0
- connectonion/docs/network/protocol/announce-message.md +115 -0
- connectonion/docs/principles.md +124 -0
- connectonion/docs/quickstart.md +261 -0
- connectonion/docs/roadmap.md +81 -0
- connectonion/docs/templates/README.md +77 -0
- connectonion/docs/templates/meta-agent.md +152 -0
- connectonion/docs/templates/minimal.md +105 -0
- connectonion/docs/templates/playwright.md +130 -0
- connectonion/docs/templates/web-research.md +144 -0
- connectonion/docs/tui/README.md +95 -0
- connectonion/docs/tui/chat.md +181 -0
- connectonion/docs/tui/divider.md +63 -0
- connectonion/docs/tui/dropdown.md +83 -0
- connectonion/docs/tui/footer.md +44 -0
- connectonion/docs/tui/fuzzy.md +68 -0
- connectonion/docs/tui/input.md +84 -0
- connectonion/docs/tui/keys.md +77 -0
- connectonion/docs/tui/pick.md +71 -0
- connectonion/docs/tui/providers.md +89 -0
- connectonion/docs/tui/status_bar.md +67 -0
- connectonion/docs/useful_plugins/README.md +160 -0
- connectonion/docs/useful_plugins/calendar_plugin.md +68 -0
- connectonion/docs/useful_plugins/eval.md +89 -0
- connectonion/docs/useful_plugins/gmail_plugin.md +68 -0
- connectonion/docs/useful_plugins/image_result_formatter.md +74 -0
- connectonion/docs/useful_plugins/re_act.md +86 -0
- connectonion/docs/useful_plugins/shell_approval.md +69 -0
- connectonion/docs/useful_plugins/system_reminder.md +210 -0
- connectonion/docs/useful_prompts/README.md +127 -0
- connectonion/docs/useful_prompts/coding_agent.md +214 -0
- connectonion/docs/useful_tools/README.md +81 -0
- connectonion/docs/useful_tools/ask_user.md +103 -0
- connectonion/docs/useful_tools/diff_writer.md +158 -0
- connectonion/docs/useful_tools/get_emails.md +519 -0
- connectonion/docs/useful_tools/gmail.md +155 -0
- connectonion/docs/useful_tools/google_calendar.md +126 -0
- connectonion/docs/useful_tools/memory.md +506 -0
- connectonion/docs/useful_tools/microsoft_calendar.md +126 -0
- connectonion/docs/useful_tools/outlook.md +140 -0
- connectonion/docs/useful_tools/send_email.md +423 -0
- connectonion/docs/useful_tools/shell.md +115 -0
- connectonion/docs/useful_tools/slash_command.md +116 -0
- connectonion/docs/useful_tools/terminal.md +115 -0
- connectonion/docs/useful_tools/todo_list.md +272 -0
- connectonion/docs/useful_tools/web_fetch.md +150 -0
- connectonion/docs/vibe-coding-guide.md +97 -0
- connectonion/docs/windows-support.md +258 -0
- connectonion/logger.py +3 -3
- connectonion/network/__init__.py +19 -6
- connectonion/network/asgi/__init__.py +81 -0
- connectonion/network/asgi/http.py +205 -0
- connectonion/network/asgi/websocket.py +217 -0
- connectonion/network/connect.py +232 -185
- connectonion/network/host/__init__.py +59 -0
- connectonion/network/host/auth.py +191 -0
- connectonion/network/host/routes.py +135 -0
- connectonion/network/host/server.py +289 -0
- connectonion/network/host/session.py +78 -0
- connectonion/network/io/__init__.py +21 -0
- connectonion/network/{connection.py → io/base.py} +17 -42
- connectonion/network/io/websocket.py +55 -0
- connectonion/network/relay.py +37 -16
- connectonion/network/trust/__init__.py +30 -0
- connectonion/network/trust/factory.py +138 -0
- connectonion/network/{trust_agents.py → trust/prompts.py} +3 -3
- connectonion/network/{trust_functions.py → trust/tools.py} +2 -2
- connectonion/prompt_files/__init__.py +11 -1
- connectonion/prompt_files/react_acknowledge.md +26 -0
- connectonion/prompts.py +10 -1
- connectonion/tui/chat.py +10 -1
- connectonion/tui/divider.py +10 -1
- connectonion/tui/dropdown.py +10 -1
- connectonion/tui/footer.py +8 -0
- connectonion/tui/fuzzy.py +11 -1
- connectonion/tui/input.py +118 -70
- connectonion/tui/keys.py +133 -6
- connectonion/tui/providers.py +11 -1
- connectonion/tui/status_bar.py +10 -1
- connectonion/useful_events_handlers/__init__.py +8 -0
- connectonion/useful_events_handlers/reflect.py +19 -4
- connectonion/useful_plugins/__init__.py +2 -1
- connectonion/useful_plugins/eval.py +2 -2
- connectonion/useful_plugins/gmail_plugin.py +3 -3
- connectonion/useful_plugins/image_result_formatter.py +3 -3
- connectonion/useful_plugins/re_act.py +114 -28
- connectonion/useful_plugins/shell_approval.py +2 -2
- connectonion/useful_plugins/system_reminder.py +103 -0
- connectonion/useful_plugins/ui_stream.py +18 -133
- connectonion/useful_prompts/README.md +61 -0
- connectonion/useful_prompts/__init__.py +45 -0
- connectonion/useful_prompts/coding_agent/README.md +106 -0
- connectonion/useful_prompts/coding_agent/assembler.py +123 -0
- connectonion/useful_prompts/coding_agent/prompts/main.md +227 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/ask_user.md +61 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/background.md +57 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/edit.md +90 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/glob.md +52 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/grep.md +55 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/plan_mode.md +80 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/read.md +40 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/shell.md +67 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/task.md +51 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/todo.md +139 -0
- connectonion/useful_prompts/coding_agent/prompts/tools/write.md +48 -0
- connectonion/useful_prompts/system-reminders/security-warning.md +14 -0
- connectonion/useful_prompts/system-reminders/test-reminder.md +11 -0
- connectonion/useful_tools/__init__.py +31 -4
- connectonion/useful_tools/ask_user.py +35 -0
- connectonion/useful_tools/bash.py +69 -0
- connectonion/useful_tools/diff_writer.py +186 -94
- connectonion/useful_tools/edit.py +102 -0
- connectonion/useful_tools/glob_files.py +97 -0
- connectonion/useful_tools/grep_files.py +171 -0
- connectonion/useful_tools/multi_edit.py +116 -0
- connectonion/useful_tools/read_file.py +73 -0
- connectonion/useful_tools/shell.py +50 -45
- connectonion/useful_tools/write_file.py +129 -0
- {connectonion-0.6.1.dist-info → connectonion-0.6.3.dist-info}/METADATA +10 -3
- connectonion-0.6.3.dist-info/RECORD +469 -0
- connectonion/cli/browser_agent/scroll_strategies.py +0 -276
- connectonion/network/asgi.py +0 -407
- connectonion/network/host.py +0 -616
- connectonion/network/trust.py +0 -166
- connectonion-0.6.1.dist-info/RECORD +0 -123
- /connectonion/cli/{docs → co_ai/prompts/connectonion}/connectonion.md +0 -0
- {connectonion-0.6.1.dist-info → connectonion-0.6.3.dist-info}/WHEEL +0 -0
- {connectonion-0.6.1.dist-info → connectonion-0.6.3.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# ConnectOnion Core Principles
|
|
2
|
+
|
|
3
|
+
*The unified principles guiding the behavior-based protocol.*
|
|
4
|
+
|
|
5
|
+
## The Three Fundamental Laws
|
|
6
|
+
|
|
7
|
+
### 1. Cost Conservation Law (成本守恒定律)
|
|
8
|
+
**Costs can only be transferred, never eliminated.**
|
|
9
|
+
|
|
10
|
+
Every system has inherent costs. The question is who bears them:
|
|
11
|
+
- Traditional: Developers bear integration cost
|
|
12
|
+
- ConnectOnion: We bear design cost, developers get simplicity
|
|
13
|
+
|
|
14
|
+
### 2. Behavior as Identity (行为即身份)
|
|
15
|
+
**You are what you consistently do.**
|
|
16
|
+
|
|
17
|
+
Identity emerges from behavioral patterns over time:
|
|
18
|
+
- No certificates needed
|
|
19
|
+
- Trust earned through action
|
|
20
|
+
- Past behavior predicts future
|
|
21
|
+
|
|
22
|
+
### 3. Simplicity Enables Antifragility (简单促进反脆弱)
|
|
23
|
+
**Complex systems break. Simple systems evolve.**
|
|
24
|
+
|
|
25
|
+
- TCP/IP is simple → Powers the internet
|
|
26
|
+
- HTTP is simple → Enables the web
|
|
27
|
+
- ConnectOnion must be simple → To transform AI collaboration
|
|
28
|
+
|
|
29
|
+
## Core Design Principles
|
|
30
|
+
|
|
31
|
+
### 1. Function as Primitive (函数即基元)
|
|
32
|
+
Everything is a function:
|
|
33
|
+
```python
|
|
34
|
+
agent = function
|
|
35
|
+
network = function(function)
|
|
36
|
+
trust = function(behavior_history)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. Semantic Understanding (语义理解)
|
|
40
|
+
Protocols understand meaning, not just syntax:
|
|
41
|
+
```python
|
|
42
|
+
"I need translation" → finds → "I translate text"
|
|
43
|
+
# No configuration needed
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### 3. Work as Proof (工作即证明)
|
|
47
|
+
The best authentication is demonstration:
|
|
48
|
+
```python
|
|
49
|
+
# Not: "Here's my certificate"
|
|
50
|
+
# But: "Here's your task completed"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 4. Local Experience First (局部经验优先)
|
|
54
|
+
Trust what you've seen over what you've heard:
|
|
55
|
+
```
|
|
56
|
+
My experience: 100% weight
|
|
57
|
+
Friend's experience: 30% weight
|
|
58
|
+
Global reputation: 0% weight
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 5. Time as Filter (时间即过滤器)
|
|
62
|
+
Time naturally solves many problems:
|
|
63
|
+
- New agents → Naturally untrusted
|
|
64
|
+
- Good behavior + Time → Trust
|
|
65
|
+
- Bad behavior + Time → Exposure
|
|
66
|
+
- No activity + Time → Forgotten
|
|
67
|
+
|
|
68
|
+
### 6. Attraction Not Addressing (吸引非寻址)
|
|
69
|
+
Messages find their destination through meaning:
|
|
70
|
+
```python
|
|
71
|
+
# Not: send_to("agent://id-123")
|
|
72
|
+
# But: express_need("data analysis")
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### 7. Immunity Over Prevention (免疫优于预防)
|
|
76
|
+
Make attacks pointless, not impossible:
|
|
77
|
+
- Sybil attack → Creates real workers
|
|
78
|
+
- Fake credentials → Exposed by testing
|
|
79
|
+
- Gaming reputation → No global score to game
|
|
80
|
+
|
|
81
|
+
### 8. Natural Boundaries (自然边界)
|
|
82
|
+
Use natural limits as security features:
|
|
83
|
+
- Dunbar's number (~150) limits connections
|
|
84
|
+
- Local network creates trust boundary
|
|
85
|
+
- Time delays prevent spam
|
|
86
|
+
|
|
87
|
+
## Implementation Principles
|
|
88
|
+
|
|
89
|
+
### 1. Progressive Enhancement (渐进增强)
|
|
90
|
+
Start simple, enhance gradually:
|
|
91
|
+
```
|
|
92
|
+
Day 1: Works on current internet
|
|
93
|
+
Year 1: Enhanced with behavioral routing
|
|
94
|
+
Year 10: Pure behavioral network
|
|
95
|
+
Always: Backwards compatible
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### 2. Composition Over Configuration (组合优于配置)
|
|
99
|
+
Build through combination:
|
|
100
|
+
```python
|
|
101
|
+
# Not: config.json with 100 settings
|
|
102
|
+
# But: agent = translate + summarize
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 3. The 100-Line Test (百行测试)
|
|
106
|
+
If the protocol needs more than 100 lines to implement, it's too complex.
|
|
107
|
+
|
|
108
|
+
### 4. Fail Naturally (自然失败)
|
|
109
|
+
Failure is a feature:
|
|
110
|
+
```python
|
|
111
|
+
for agent in discover_all("translation"):
|
|
112
|
+
try:
|
|
113
|
+
return agent(text)
|
|
114
|
+
except:
|
|
115
|
+
continue # Natural failover
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### 5. Let Selection Work (让选择生效)
|
|
119
|
+
Good agents thrive, bad agents disappear:
|
|
120
|
+
- No enforcement needed
|
|
121
|
+
- No central authority
|
|
122
|
+
- Natural selection operates
|
|
123
|
+
|
|
124
|
+
## Meta-Principles
|
|
125
|
+
|
|
126
|
+
### 1. The Complexity Trap (复杂性陷阱)
|
|
127
|
+
Every solution creates new problems:
|
|
128
|
+
```
|
|
129
|
+
Problem → Solution → New Problem → New Solution → Collapse
|
|
130
|
+
```
|
|
131
|
+
**Wisdom**: Stop adding. Start removing.
|
|
132
|
+
|
|
133
|
+
### 2. Nature as Teacher (道法自然)
|
|
134
|
+
Study natural systems, not computer science:
|
|
135
|
+
- Markets work without IDs
|
|
136
|
+
- Ant colonies coordinate without managers
|
|
137
|
+
- Flocks fly without air traffic control
|
|
138
|
+
|
|
139
|
+
### 3. The Elegance Test (优雅测试)
|
|
140
|
+
The right solution feels obvious in hindsight:
|
|
141
|
+
- If it's not beautiful, it's not right
|
|
142
|
+
- If it needs extensive documentation, reconsider
|
|
143
|
+
- If a child can't understand it, simplify
|
|
144
|
+
|
|
145
|
+
## The Economic Truth
|
|
146
|
+
|
|
147
|
+
### O(n²) → O(1) Transformation
|
|
148
|
+
The core value proposition:
|
|
149
|
+
```
|
|
150
|
+
Traditional: n agents = n² integrations
|
|
151
|
+
ConnectOnion: n agents = n discoveries
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
This transformation justifies everything else.
|
|
155
|
+
|
|
156
|
+
## The Security Philosophy
|
|
157
|
+
|
|
158
|
+
### Make Attacks Expensive
|
|
159
|
+
Attack costs should exceed benefits:
|
|
160
|
+
- Faking behavior requires doing real work
|
|
161
|
+
- Building false trust takes real time
|
|
162
|
+
- Gaming the system requires genuine contribution
|
|
163
|
+
|
|
164
|
+
### Trust Through Understanding
|
|
165
|
+
Security comes from comprehension:
|
|
166
|
+
- Understand motivations, not identities
|
|
167
|
+
- Verify capabilities, not certificates
|
|
168
|
+
- Build relationships, not access lists
|
|
169
|
+
|
|
170
|
+
## The Ultimate Vision
|
|
171
|
+
|
|
172
|
+
Create a network that works like nature:
|
|
173
|
+
- **Self-organizing** - No central planning
|
|
174
|
+
- **Resilient** - Failures don't cascade
|
|
175
|
+
- **Adaptive** - Evolves with use
|
|
176
|
+
- **Efficient** - Minimum overhead
|
|
177
|
+
- **Beautiful** - Elegantly simple
|
|
178
|
+
|
|
179
|
+
## Remember
|
|
180
|
+
|
|
181
|
+
These principles are not rules to enforce but patterns to recognize. They exist not because we declared them, but because we discovered them.
|
|
182
|
+
|
|
183
|
+
The best principle is one that feels so natural you forget it's there.
|
|
184
|
+
|
|
185
|
+
**The future network doesn't ask "Who are you?" but "What can we do together?"**
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
*复杂性是熵,简单性是生命。*
|
|
190
|
+
*Complexity is entropy. Simplicity is life.*
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# 我们讨论的核心洞察总结 - The Journey of Discovery
|
|
2
|
+
|
|
3
|
+
## 1. 身份认知的根本转变
|
|
4
|
+
|
|
5
|
+
我们从探讨**为什么要摆脱ID**开始:
|
|
6
|
+
- 传统ID是中心化的、静态的、基于权威的
|
|
7
|
+
- 而真实世界的信任是通过行为建立的、动态的、基于观察的
|
|
8
|
+
- AI Agent的出现让"理解行为语义"成为可能
|
|
9
|
+
|
|
10
|
+
**关键时刻**:当我们意识到ID不是技术需求,而是信任问题的权宜之计。
|
|
11
|
+
|
|
12
|
+
## 2. 自然界的启发
|
|
13
|
+
|
|
14
|
+
我们深入分析了多种自然信任机制:
|
|
15
|
+
- **集市模型**:重复互动产生信任,不需要身份证
|
|
16
|
+
- **狼群协作**:行为同步建立信任
|
|
17
|
+
- **恋爱共振**:化学反应与行为镜像
|
|
18
|
+
- **蚂蚁信息素**:环境中的信号传播
|
|
19
|
+
- **鸟群飞行**:简单规则产生复杂协作
|
|
20
|
+
|
|
21
|
+
**顿悟**:自然界没有ID,却有着最复杂的协作网络。
|
|
22
|
+
|
|
23
|
+
## 3. 技术实现的探索
|
|
24
|
+
|
|
25
|
+
从多个层面思考实现:
|
|
26
|
+
- 是在TCP/IP之上抽象,还是在WiFi/Mesh层重建?
|
|
27
|
+
- 如何在不同层级上去除ID依赖?
|
|
28
|
+
- 行为如何在网络中传播和被感知?
|
|
29
|
+
|
|
30
|
+
**转折点**:意识到不需要重建整个网络栈,可以渐进式改进。
|
|
31
|
+
|
|
32
|
+
## 4. 语义理解的重要性
|
|
33
|
+
|
|
34
|
+
关键转变:
|
|
35
|
+
- 不是记录"使用了什么工具"
|
|
36
|
+
- 而是理解"想要达成什么目标"
|
|
37
|
+
- AI可以理解意图、推断动机、预测行为
|
|
38
|
+
|
|
39
|
+
**突破**:当我们把Agent抽象为函数调用时 - "这是个天才的洞察!"
|
|
40
|
+
|
|
41
|
+
## 5. 安全与效率的权衡
|
|
42
|
+
|
|
43
|
+
攻击分析带来的洞察:
|
|
44
|
+
- 语义伪装、行为注入、女巫攻击2.0
|
|
45
|
+
- 但过度防御会让网络不可用
|
|
46
|
+
- 需要分层信任、概率验证、自适应强度
|
|
47
|
+
|
|
48
|
+
**智慧**:与其防止所有攻击,不如让系统对攻击免疫。
|
|
49
|
+
|
|
50
|
+
## 6. 从复杂到简单的觉醒
|
|
51
|
+
|
|
52
|
+
### 复杂性陷阱
|
|
53
|
+
```
|
|
54
|
+
初始:简单记录交互
|
|
55
|
+
↓
|
|
56
|
+
发现问题:可以刷单
|
|
57
|
+
→ 加入双签机制
|
|
58
|
+
↓
|
|
59
|
+
又发现问题:可以串通
|
|
60
|
+
→ 加入能力测试
|
|
61
|
+
↓
|
|
62
|
+
又发现问题:新agent困难
|
|
63
|
+
→ 加入担保机制
|
|
64
|
+
↓
|
|
65
|
+
越来越复杂!
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 简单性顿悟
|
|
69
|
+
**核心洞察**:在一个要求真实工作的系统里,刷单就是工作。
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
# 100行代码的完整协议
|
|
73
|
+
class MinimalAgent:
|
|
74
|
+
def __init__(self):
|
|
75
|
+
self.experience = {} # 我用过谁
|
|
76
|
+
|
|
77
|
+
def need_service(self, service_type):
|
|
78
|
+
candidates = self.ask_neighbors("谁会" + service_type)
|
|
79
|
+
results = self.test_candidates(candidates)
|
|
80
|
+
best = self.select_best(results)
|
|
81
|
+
self.experience[best] = "good" or "bad"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## 7. 成本经济学的革命
|
|
85
|
+
|
|
86
|
+
### O(n²) → O(1) 的转变
|
|
87
|
+
```
|
|
88
|
+
传统:n个agents = n²个集成
|
|
89
|
+
ConnectOnion:n个agents = n个发现
|
|
90
|
+
|
|
91
|
+
从:"我如何连接到X?"
|
|
92
|
+
到:"X,你在吗?"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 成本守恒定律
|
|
96
|
+
- 成本只能转移,不能消除
|
|
97
|
+
- 我们把复杂性从开发者转移到协议设计
|
|
98
|
+
- 让正确的一方承担成本
|
|
99
|
+
|
|
100
|
+
## 8. 功能即原语 (Function as Primitive)
|
|
101
|
+
|
|
102
|
+
**革命性洞察**:
|
|
103
|
+
```python
|
|
104
|
+
# 不是这样
|
|
105
|
+
agent = ComplexAgent(config=massive_json)
|
|
106
|
+
|
|
107
|
+
# 而是这样
|
|
108
|
+
@agent
|
|
109
|
+
def translate(text: str) -> str:
|
|
110
|
+
return translation
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
一切都是函数:
|
|
114
|
+
- agent = function
|
|
115
|
+
- network = function(function)
|
|
116
|
+
- trust = function(behavior_history)
|
|
117
|
+
|
|
118
|
+
## 进化而非革命
|
|
119
|
+
|
|
120
|
+
### 第一阶段:证明概念
|
|
121
|
+
- 在应用层开始
|
|
122
|
+
- 使用现有网络
|
|
123
|
+
- 验证行为发现
|
|
124
|
+
|
|
125
|
+
### 第二阶段:深化集成
|
|
126
|
+
- 进入传输层
|
|
127
|
+
- 移除更多ID依赖
|
|
128
|
+
- 增强行为路由
|
|
129
|
+
|
|
130
|
+
### 第三阶段:完全实现
|
|
131
|
+
- 网络层定制协议
|
|
132
|
+
- 纯行为网络
|
|
133
|
+
- 完全无ID操作
|
|
134
|
+
|
|
135
|
+
## 哲学层面的统一
|
|
136
|
+
|
|
137
|
+
我们不只是在移除ID,而是在认识到:
|
|
138
|
+
1. **身份是流动的** - "你是谁"不如"你能做什么"重要
|
|
139
|
+
2. **信任是赚取的** - 不是授予的权威,而是通过行动建立
|
|
140
|
+
3. **智能是分布的** - 没有单点控制或失败
|
|
141
|
+
4. **系统会进化** - 像自然一样,网络适应和改进
|
|
142
|
+
|
|
143
|
+
## 最深刻的领悟
|
|
144
|
+
|
|
145
|
+
### 1. 问题定义决定解决方案
|
|
146
|
+
- 错误:如何防止作恶?→ 无限复杂
|
|
147
|
+
- 正确:如何让作恶无意义?→ 优雅简单
|
|
148
|
+
|
|
149
|
+
### 2. 自然已经解决了
|
|
150
|
+
- 市场、狼群、蚂蚁、鸟群
|
|
151
|
+
- 千百万年的进化智慧
|
|
152
|
+
- 我们只需要翻译成代码
|
|
153
|
+
|
|
154
|
+
### 3. 简单性是终极复杂
|
|
155
|
+
- 任何人都能增加功能
|
|
156
|
+
- 只有大师才能删除功能
|
|
157
|
+
- 100行 > 1000页
|
|
158
|
+
|
|
159
|
+
### 4. 时间是最好的过滤器
|
|
160
|
+
- 新agents自然不被信任
|
|
161
|
+
- 持续好行为 + 时间 = 信任
|
|
162
|
+
- 坏actors + 时间 = 暴露
|
|
163
|
+
- 无活动 + 时间 = 遗忘
|
|
164
|
+
|
|
165
|
+
## 未来愿景
|
|
166
|
+
|
|
167
|
+
创建一个网络,其中:
|
|
168
|
+
- Agents只是函数
|
|
169
|
+
- 发现通过行为
|
|
170
|
+
- 信任源于交互
|
|
171
|
+
- 不需要中央权威
|
|
172
|
+
|
|
173
|
+
**终极问题的转变**:
|
|
174
|
+
从"你是谁?"到"我们能一起做什么?"
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
这不是终点,而是开始。这些原则将继续进化,就像它们所启发的网络一样。
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
# Economic Analysis: The Cost Revolution
|
|
2
|
+
|
|
3
|
+
## The Central Insight
|
|
4
|
+
|
|
5
|
+
**Every interaction between AI agents has a cost. The question is: who pays it?**
|
|
6
|
+
|
|
7
|
+
## The Cost Transfer Principle
|
|
8
|
+
|
|
9
|
+
### Traditional Model (MCP/API-based)
|
|
10
|
+
```
|
|
11
|
+
Developer Time Cost: HIGH
|
|
12
|
+
- Learn each API: 2-4 hours
|
|
13
|
+
- Write integration: 4-8 hours
|
|
14
|
+
- Test & debug: 2-4 hours
|
|
15
|
+
- Maintain: ∞ hours
|
|
16
|
+
|
|
17
|
+
Per Integration: ~10-16 hours
|
|
18
|
+
For 100 agents: 1,000-1,600 hours
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### ConnectOnion Model
|
|
22
|
+
```
|
|
23
|
+
Developer Time Cost: NEAR-ZERO
|
|
24
|
+
- Learn once: 1 hour
|
|
25
|
+
- Use any agent: 1 minute
|
|
26
|
+
- No maintenance
|
|
27
|
+
|
|
28
|
+
Total: ~1 hour + 1 minute per use
|
|
29
|
+
For 100 agents: ~3 hours
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Cost Reduction: 500x**
|
|
33
|
+
|
|
34
|
+
## The Hidden Costs Nobody Talks About
|
|
35
|
+
|
|
36
|
+
### 1. Mental Model Cost
|
|
37
|
+
**Traditional**: Remember 100 different API patterns
|
|
38
|
+
**ConnectOnion**: Remember 1 pattern (function call)
|
|
39
|
+
|
|
40
|
+
### 2. Discovery Cost
|
|
41
|
+
**Traditional**: Search docs, find endpoints, read schemas
|
|
42
|
+
**ConnectOnion**: `discover("what I need")`
|
|
43
|
+
|
|
44
|
+
### 3. Error Handling Cost
|
|
45
|
+
**Traditional**: Handle each API's errors differently
|
|
46
|
+
**ConnectOnion**: Uniform behavior across all agents
|
|
47
|
+
|
|
48
|
+
### 4. Version Management Cost
|
|
49
|
+
**Traditional**: Track API versions, handle deprecations
|
|
50
|
+
**ConnectOnion**: Behavioral compatibility automatic
|
|
51
|
+
|
|
52
|
+
## The Network Effect Economics
|
|
53
|
+
|
|
54
|
+
### Traditional Platform Lock-in
|
|
55
|
+
```
|
|
56
|
+
Platform A: 50 agents (locked)
|
|
57
|
+
Platform B: 50 agents (locked)
|
|
58
|
+
Developer value: 50 agents
|
|
59
|
+
|
|
60
|
+
Switching cost: Rewrite everything
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### ConnectOnion Open Network
|
|
64
|
+
```
|
|
65
|
+
Network: 100 agents (all accessible)
|
|
66
|
+
Developer value: 100 agents
|
|
67
|
+
|
|
68
|
+
Switching cost: Zero (it's just functions)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## The Time Value of Integration
|
|
72
|
+
|
|
73
|
+
### Traditional Timeline
|
|
74
|
+
```
|
|
75
|
+
Week 1: Read docs
|
|
76
|
+
Week 2: Prototype integration
|
|
77
|
+
Week 3: Handle edge cases
|
|
78
|
+
Week 4: Deploy
|
|
79
|
+
Month 2+: Maintain
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### ConnectOnion Timeline
|
|
83
|
+
```
|
|
84
|
+
Minute 1: Discover agent
|
|
85
|
+
Minute 2: Use it
|
|
86
|
+
Done.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Time to value: 10,000x faster**
|
|
90
|
+
|
|
91
|
+
## The Compounding Effect
|
|
92
|
+
|
|
93
|
+
### Traditional (Linear Cost)
|
|
94
|
+
```
|
|
95
|
+
Agents | Integration Hours | Value
|
|
96
|
+
1 | 10 | 1
|
|
97
|
+
10 | 100 | 10
|
|
98
|
+
100 | 1,000 | 100
|
|
99
|
+
1,000 | 10,000 | 1,000
|
|
100
|
+
|
|
101
|
+
Cost grows linearly with agents
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### ConnectOnion (Constant Cost)
|
|
105
|
+
```
|
|
106
|
+
Agents | Integration Hours | Value
|
|
107
|
+
1 | 1 | 1
|
|
108
|
+
10 | 1 | 10
|
|
109
|
+
100 | 1 | 100
|
|
110
|
+
1,000 | 1 | 1,000
|
|
111
|
+
|
|
112
|
+
Cost stays constant, value grows linearly
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## The Real Dollar Impact
|
|
116
|
+
|
|
117
|
+
### Enterprise Integration Costs
|
|
118
|
+
```
|
|
119
|
+
Traditional:
|
|
120
|
+
- Developer: $150/hour
|
|
121
|
+
- Integration: 10 hours per API
|
|
122
|
+
- Cost per integration: $1,500
|
|
123
|
+
- 100 integrations: $150,000
|
|
124
|
+
|
|
125
|
+
ConnectOnion:
|
|
126
|
+
- Initial setup: 1 hour = $150
|
|
127
|
+
- All integrations: Included
|
|
128
|
+
- Total cost: $150
|
|
129
|
+
|
|
130
|
+
Savings: $149,850 (99.9% reduction)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Opportunity Cost
|
|
134
|
+
```
|
|
135
|
+
Traditional:
|
|
136
|
+
- 6 months integrating
|
|
137
|
+
- 0 months innovating
|
|
138
|
+
|
|
139
|
+
ConnectOnion:
|
|
140
|
+
- 1 day integrating
|
|
141
|
+
- 179 days innovating
|
|
142
|
+
|
|
143
|
+
Innovation capacity: 180x increase
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## The Behavioral Economics
|
|
147
|
+
|
|
148
|
+
### Why Developers Choose Complexity
|
|
149
|
+
1. **Sunk cost fallacy**: "I already learned 5 APIs..."
|
|
150
|
+
2. **Control illusion**: "Custom integration = better"
|
|
151
|
+
3. **Resume padding**: "Experienced with 20 APIs"
|
|
152
|
+
|
|
153
|
+
### Why Simplicity Wins
|
|
154
|
+
1. **Immediate value**: Works in minutes
|
|
155
|
+
2. **Low commitment**: Try without investing weeks
|
|
156
|
+
3. **Network effects**: Each user makes it better
|
|
157
|
+
|
|
158
|
+
## The Platform Economics
|
|
159
|
+
|
|
160
|
+
### Traditional Platform (Extract Value)
|
|
161
|
+
```
|
|
162
|
+
Platform takes: 30% revenue share
|
|
163
|
+
Developer gets: 70% minus integration costs
|
|
164
|
+
Net margin: Often negative initially
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### ConnectOnion (Create Value)
|
|
168
|
+
```
|
|
169
|
+
Network fee: Optional premium features only
|
|
170
|
+
Developer gets: 100% of direct value
|
|
171
|
+
Net margin: Positive from day one
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
## The Competitive Moat
|
|
175
|
+
|
|
176
|
+
### Traditional Moats (Weak)
|
|
177
|
+
- API complexity (annoying but copyable)
|
|
178
|
+
- User lock-in (creates resentment)
|
|
179
|
+
- Feature breadth (expensive to maintain)
|
|
180
|
+
|
|
181
|
+
### Behavioral Moats (Strong)
|
|
182
|
+
- Network effects (more agents = more value)
|
|
183
|
+
- Trust history (unfakeable, earned over time)
|
|
184
|
+
- Simplicity (harder to achieve than complexity)
|
|
185
|
+
|
|
186
|
+
## The Market Size Expansion
|
|
187
|
+
|
|
188
|
+
### Traditional Market
|
|
189
|
+
```
|
|
190
|
+
Addressable developers: Those willing to integrate
|
|
191
|
+
Percentage: ~5% of all developers
|
|
192
|
+
Why: Most can't justify integration time
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### ConnectOnion Market
|
|
196
|
+
```
|
|
197
|
+
Addressable developers: Anyone who can write a function
|
|
198
|
+
Percentage: ~95% of all developers
|
|
199
|
+
Why: Zero integration barrier
|
|
200
|
+
|
|
201
|
+
Market expansion: 20x
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## The Cost Waterfall
|
|
205
|
+
|
|
206
|
+
### Where Traditional Costs Flow
|
|
207
|
+
```
|
|
208
|
+
API Complexity → Developer Time → Higher Prices → User Friction → Smaller Market
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Where ConnectOnion Costs Flow
|
|
212
|
+
```
|
|
213
|
+
Protocol Simplicity → Zero Integration → Lower Prices → User Delight → Larger Market
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## The Unit Economics
|
|
217
|
+
|
|
218
|
+
### Per-Agent Economics
|
|
219
|
+
|
|
220
|
+
**Traditional**:
|
|
221
|
+
- Integration cost: $1,500
|
|
222
|
+
- Monthly maintenance: $100
|
|
223
|
+
- Break-even: 15+ months
|
|
224
|
+
- Most integrations: Never profitable
|
|
225
|
+
|
|
226
|
+
**ConnectOnion**:
|
|
227
|
+
- Integration cost: $0
|
|
228
|
+
- Monthly maintenance: $0
|
|
229
|
+
- Break-even: Immediate
|
|
230
|
+
- All integrations: Profitable
|
|
231
|
+
|
|
232
|
+
## The Behavioral Value Creation
|
|
233
|
+
|
|
234
|
+
### Traditional (Static Value)
|
|
235
|
+
```
|
|
236
|
+
Agent capability: Fixed at integration time
|
|
237
|
+
Value growth: Zero
|
|
238
|
+
Improvement: Requires re-integration
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### ConnectOnion (Dynamic Value)
|
|
242
|
+
```
|
|
243
|
+
Agent capability: Improves with use
|
|
244
|
+
Value growth: Continuous
|
|
245
|
+
Improvement: Automatic through behavior
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
## The Trust Economics
|
|
249
|
+
|
|
250
|
+
### Traditional (Certificate-Based)
|
|
251
|
+
```
|
|
252
|
+
Trust cost: $100-1,000/year for certificates
|
|
253
|
+
Trust value: Binary (trusted/not trusted)
|
|
254
|
+
Trust growth: None
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
### ConnectOnion (Behavior-Based)
|
|
258
|
+
```
|
|
259
|
+
Trust cost: $0 (earned through action)
|
|
260
|
+
Trust value: Continuous (0-100% scale)
|
|
261
|
+
Trust growth: Increases with good behavior
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## The Innovation Acceleration
|
|
265
|
+
|
|
266
|
+
### Traditional Development Cycle
|
|
267
|
+
```
|
|
268
|
+
Idea → Research APIs → Integrate → Test → Deploy
|
|
269
|
+
Time: 3-6 months
|
|
270
|
+
Success rate: 10% (most die in integration)
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### ConnectOnion Development Cycle
|
|
274
|
+
```
|
|
275
|
+
Idea → Discover agents → Compose → Deploy
|
|
276
|
+
Time: 3-6 hours
|
|
277
|
+
Success rate: 60% (most ideas get tested)
|
|
278
|
+
|
|
279
|
+
Innovation velocity: 100x
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## The Economic Moat Depth
|
|
283
|
+
|
|
284
|
+
### Why This Can't Be Copied
|
|
285
|
+
|
|
286
|
+
1. **Network effects compound daily**
|
|
287
|
+
- Each day deeper moat
|
|
288
|
+
- Each agent more valuable
|
|
289
|
+
- Each behavior more trusted
|
|
290
|
+
|
|
291
|
+
2. **Simplicity is harder than complexity**
|
|
292
|
+
- Easy to add features
|
|
293
|
+
- Hard to remove them
|
|
294
|
+
- We started simple
|
|
295
|
+
|
|
296
|
+
3. **Behavioral data accumulates**
|
|
297
|
+
- Can't fake history
|
|
298
|
+
- Can't buy trust
|
|
299
|
+
- Can't shortcut time
|
|
300
|
+
|
|
301
|
+
## The Final Equation
|
|
302
|
+
|
|
303
|
+
### Traditional Total Cost of Ownership (TCO)
|
|
304
|
+
```
|
|
305
|
+
TCO = ∑(Integration Cost + Maintenance + Downtime + Opportunity Cost)
|
|
306
|
+
= $1,500 × n + $100 × n × months + $losses + $missed_opportunities
|
|
307
|
+
= Grows exponentially
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### ConnectOnion TCO
|
|
311
|
+
```
|
|
312
|
+
TCO = Setup Cost + (Usage × 0)
|
|
313
|
+
= $150 + 0
|
|
314
|
+
= Constant $150
|
|
315
|
+
|
|
316
|
+
ROI = ∞
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
## Conclusion
|
|
320
|
+
|
|
321
|
+
The revolution isn't technical - it's economic. By transforming the cost structure from O(n²) to O(1), we don't just save money. We enable entirely new categories of applications that were economically impossible before.
|
|
322
|
+
|
|
323
|
+
**The future belongs to those who remove friction, not those who add features.**
|