talos-runtime 0.1.0__tar.gz
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.
- talos_runtime-0.1.0/.env.example +143 -0
- talos_runtime-0.1.0/.gitignore +44 -0
- talos_runtime-0.1.0/LICENSE +202 -0
- talos_runtime-0.1.0/NOTICE +7 -0
- talos_runtime-0.1.0/PKG-INFO +251 -0
- talos_runtime-0.1.0/README.md +201 -0
- talos_runtime-0.1.0/config/capabilities.yaml +22 -0
- talos_runtime-0.1.0/config/extensions.yaml +2 -0
- talos_runtime-0.1.0/config/guardrails.yaml +61 -0
- talos_runtime-0.1.0/config/models.yaml +24 -0
- talos_runtime-0.1.0/config/pipelines/simple-chat.yaml +31 -0
- talos_runtime-0.1.0/config/prompts/default-system.md +3 -0
- talos_runtime-0.1.0/config/prompts/knowledge-context.md +6 -0
- talos_runtime-0.1.0/config/prompts.yaml +6 -0
- talos_runtime-0.1.0/config/providers.yaml +21 -0
- talos_runtime-0.1.0/config/rag.yaml +34 -0
- talos_runtime-0.1.0/config/reliability.yaml +13 -0
- talos_runtime-0.1.0/config/skills.yaml +6 -0
- talos_runtime-0.1.0/config/tools.yaml +19 -0
- talos_runtime-0.1.0/pyproject.toml +94 -0
- talos_runtime-0.1.0/skills/concise-explainer.md +12 -0
- talos_runtime-0.1.0/src/talos/__init__.py +42 -0
- talos_runtime-0.1.0/src/talos/agent.py +1228 -0
- talos_runtime-0.1.0/src/talos/api/__init__.py +3 -0
- talos_runtime-0.1.0/src/talos/api/app.py +1331 -0
- talos_runtime-0.1.0/src/talos/api/contracts.py +198 -0
- talos_runtime-0.1.0/src/talos/api/extension_routes.py +67 -0
- talos_runtime-0.1.0/src/talos/api/model_routes.py +57 -0
- talos_runtime-0.1.0/src/talos/api/server.py +127 -0
- talos_runtime-0.1.0/src/talos/capabilities.py +92 -0
- talos_runtime-0.1.0/src/talos/cli/__init__.py +1 -0
- talos_runtime-0.1.0/src/talos/cli/api_client.py +194 -0
- talos_runtime-0.1.0/src/talos/cli/arguments.py +100 -0
- talos_runtime-0.1.0/src/talos/cli/bootstrap.py +80 -0
- talos_runtime-0.1.0/src/talos/cli/doctor_bridge.py +34 -0
- talos_runtime-0.1.0/src/talos/cli/doctor_host.py +83 -0
- talos_runtime-0.1.0/src/talos/cli/entrypoints.py +46 -0
- talos_runtime-0.1.0/src/talos/cli/environment.py +51 -0
- talos_runtime-0.1.0/src/talos/cli/extensions.py +178 -0
- talos_runtime-0.1.0/src/talos/cli/main.py +284 -0
- talos_runtime-0.1.0/src/talos/cli/phase3.py +334 -0
- talos_runtime-0.1.0/src/talos/cli/phase4.py +94 -0
- talos_runtime-0.1.0/src/talos/cli/phase5.py +76 -0
- talos_runtime-0.1.0/src/talos/cli/phase6.py +132 -0
- talos_runtime-0.1.0/src/talos/cli/phase7.py +157 -0
- talos_runtime-0.1.0/src/talos/cli/prompting.py +72 -0
- talos_runtime-0.1.0/src/talos/cli/rendering.py +70 -0
- talos_runtime-0.1.0/src/talos/cli/routing.py +70 -0
- talos_runtime-0.1.0/src/talos/cli/scaffold.py +55 -0
- talos_runtime-0.1.0/src/talos/cli/shell.py +414 -0
- talos_runtime-0.1.0/src/talos/config.py +684 -0
- talos_runtime-0.1.0/src/talos/context_window.py +99 -0
- talos_runtime-0.1.0/src/talos/conversation_titles.py +24 -0
- talos_runtime-0.1.0/src/talos/conversations.py +74 -0
- talos_runtime-0.1.0/src/talos/credentials.py +91 -0
- talos_runtime-0.1.0/src/talos/diagnostics.py +71 -0
- talos_runtime-0.1.0/src/talos/domain.py +75 -0
- talos_runtime-0.1.0/src/talos/embeddings.py +73 -0
- talos_runtime-0.1.0/src/talos/errors.py +49 -0
- talos_runtime-0.1.0/src/talos/evaluation.py +346 -0
- talos_runtime-0.1.0/src/talos/event_store.py +59 -0
- talos_runtime-0.1.0/src/talos/events.py +45 -0
- talos_runtime-0.1.0/src/talos/extensions.py +199 -0
- talos_runtime-0.1.0/src/talos/graph.py +539 -0
- talos_runtime-0.1.0/src/talos/guardrails.py +486 -0
- talos_runtime-0.1.0/src/talos/knowledge.py +500 -0
- talos_runtime-0.1.0/src/talos/memory.py +233 -0
- talos_runtime-0.1.0/src/talos/model_credentials.py +81 -0
- talos_runtime-0.1.0/src/talos/model_profiles.py +214 -0
- talos_runtime-0.1.0/src/talos/observability.py +645 -0
- talos_runtime-0.1.0/src/talos/pdf_extract.py +74 -0
- talos_runtime-0.1.0/src/talos/persistence/__init__.py +5 -0
- talos_runtime-0.1.0/src/talos/persistence/approvals.py +149 -0
- talos_runtime-0.1.0/src/talos/persistence/database.py +26 -0
- talos_runtime-0.1.0/src/talos/persistence/evaluation.py +624 -0
- talos_runtime-0.1.0/src/talos/persistence/guardrails.py +47 -0
- talos_runtime-0.1.0/src/talos/persistence/knowledge.py +467 -0
- talos_runtime-0.1.0/src/talos/persistence/memory.py +108 -0
- talos_runtime-0.1.0/src/talos/persistence/models.py +358 -0
- talos_runtime-0.1.0/src/talos/persistence/repository.py +397 -0
- talos_runtime-0.1.0/src/talos/persistence/runtime_settings.py +40 -0
- talos_runtime-0.1.0/src/talos/persistence/stores.py +401 -0
- talos_runtime-0.1.0/src/talos/providers/__init__.py +14 -0
- talos_runtime-0.1.0/src/talos/providers/base.py +45 -0
- talos_runtime-0.1.0/src/talos/providers/factory.py +36 -0
- talos_runtime-0.1.0/src/talos/providers/fake.py +46 -0
- talos_runtime-0.1.0/src/talos/providers/openai.py +5 -0
- talos_runtime-0.1.0/src/talos/providers/openai_compatible.py +146 -0
- talos_runtime-0.1.0/src/talos/reliability.py +75 -0
- talos_runtime-0.1.0/src/talos/repository.py +275 -0
- talos_runtime-0.1.0/src/talos/repository_index.py +204 -0
- talos_runtime-0.1.0/src/talos/retrieval.py +244 -0
- talos_runtime-0.1.0/src/talos/skill_management.py +81 -0
- talos_runtime-0.1.0/src/talos/skills.py +87 -0
- talos_runtime-0.1.0/src/talos/telemetry.py +87 -0
- talos_runtime-0.1.0/src/talos/tools/__init__.py +3 -0
- talos_runtime-0.1.0/src/talos/tools/builtins.py +59 -0
- talos_runtime-0.1.0/src/talos/tools/declarative.py +165 -0
- talos_runtime-0.1.0/src/talos/tools/runtime.py +301 -0
- talos_runtime-0.1.0/src/talos/tools/sandbox.py +150 -0
- talos_runtime-0.1.0/src/talos/why.py +355 -0
- talos_runtime-0.1.0/src/talos/worker.py +218 -0
- talos_runtime-0.1.0/talos.example.yaml +41 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Safe, non-working examples only. Copy to an ignored local environment file.
|
|
2
|
+
TALOS_ENV=development
|
|
3
|
+
TALOS_PUBLIC_URL=http://localhost:3000
|
|
4
|
+
TALOS_API_BASE_URL=http://127.0.0.1:8000
|
|
5
|
+
TALOS_WEB_URL=http://127.0.0.1:3000
|
|
6
|
+
TALOS_WEB_API_BASE_URL=http://api:8000
|
|
7
|
+
TALOS_API_HOST=127.0.0.1
|
|
8
|
+
TALOS_API_PORT=8000
|
|
9
|
+
TALOS_API_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
|
10
|
+
TALOS_LOG_LEVEL=INFO
|
|
11
|
+
TALOS_REMOTE_ACCESS_ENABLED=false
|
|
12
|
+
TALOS_LOCAL_API_TOKEN=
|
|
13
|
+
TALOS_MODEL_CREDENTIALS_PATH=.talos/model-credentials
|
|
14
|
+
TALOS_MAX_INPUT_CHARACTERS=100000
|
|
15
|
+
|
|
16
|
+
DATABASE_URL=postgresql+asyncpg://talos:replace-me@postgres-dev:5432/talos_dev
|
|
17
|
+
REDIS_URL=redis://redis-dev:6379/0
|
|
18
|
+
TALOS_REDIS_QUEUE=talos:jobs
|
|
19
|
+
TALOS_WORKER_POLL_SECONDS=2
|
|
20
|
+
TALOS_CLI_MAX_STDIN_BYTES=1048576
|
|
21
|
+
TALOS_COMPOSE_FILE=docker-compose.dev.yaml
|
|
22
|
+
TALOS_COMPOSE_PROJECT_NAME=talos
|
|
23
|
+
TALOS_LOG_TAIL_LINES=200
|
|
24
|
+
TALOS_SHELL_RUNTIME_MODE=service
|
|
25
|
+
TALOS_API_STARTUP_TIMEOUT_SECONDS=120
|
|
26
|
+
TALOS_WEB_STARTUP_TIMEOUT_SECONDS=120
|
|
27
|
+
TALOS_COMPOSE_COMMAND_TIMEOUT_SECONDS=300
|
|
28
|
+
TALOS_COMPOSE_STOP_TIMEOUT_SECONDS=10
|
|
29
|
+
TALOS_ARTIFACT_ROOT=/var/lib/talos/artifacts
|
|
30
|
+
TALOS_LOCAL_CONFIG_PATH=talos.yaml
|
|
31
|
+
TALOS_CREDENTIAL_SERVICE_NAME=TalosAI
|
|
32
|
+
TALOS_LEGACY_CREDENTIAL_FILE_PATH=.talos/credentials.env
|
|
33
|
+
TALOS_HISTORY_PATH=.talos/history
|
|
34
|
+
TALOS_HISTORY_ENABLED=true
|
|
35
|
+
TALOS_PROMPT_NAME=
|
|
36
|
+
|
|
37
|
+
TALOS_PIPELINE_MANIFEST_PATH=config/pipelines/simple-chat.yaml
|
|
38
|
+
TALOS_PROVIDER_REGISTRY_PATH=config/providers.yaml
|
|
39
|
+
TALOS_MODEL_REGISTRY_PATH=config/models.yaml
|
|
40
|
+
TALOS_TOOL_REGISTRY_PATH=config/tools.yaml
|
|
41
|
+
TALOS_SKILL_REGISTRY_PATH=config/skills.yaml
|
|
42
|
+
TALOS_PROMPT_REGISTRY_PATH=config/prompts.yaml
|
|
43
|
+
TALOS_RAG_CONFIG_PATH=config/rag.yaml
|
|
44
|
+
TALOS_GUARDRAIL_CONFIG_PATH=config/guardrails.yaml
|
|
45
|
+
TALOS_CAPABILITY_REGISTRY_PATH=config/capabilities.yaml
|
|
46
|
+
TALOS_RELIABILITY_CONFIG_PATH=config/reliability.yaml
|
|
47
|
+
TALOS_SKILL_MAX_FILE_BYTES=32768
|
|
48
|
+
|
|
49
|
+
TALOS_DEFAULT_PROVIDER=openrouter
|
|
50
|
+
TALOS_CHAT_MODEL=openai/gpt-4o-mini
|
|
51
|
+
OPENROUTER_API_BASE=https://openrouter.ai/api/v1
|
|
52
|
+
OPENROUTER_API_KEY=
|
|
53
|
+
OPENAI_API_BASE=https://api.openai.com/v1
|
|
54
|
+
OPENAI_API_KEY=
|
|
55
|
+
ANTHROPIC_API_KEY=
|
|
56
|
+
GOOGLE_API_KEY=
|
|
57
|
+
TALOS_PROVIDER_CONNECT_TIMEOUT_SECONDS=5
|
|
58
|
+
TALOS_PROVIDER_READ_TIMEOUT_SECONDS=60
|
|
59
|
+
|
|
60
|
+
TALOS_EMBEDDING_MODEL=configure-before-rag-phase
|
|
61
|
+
TALOS_RERANK_MODEL=local-lexical-rerank-v1
|
|
62
|
+
TALOS_AGENT_MAX_STEPS=10
|
|
63
|
+
TALOS_MAX_TOOL_CALLS_PER_RUN=5
|
|
64
|
+
TALOS_MAX_TOKENS_PER_RUN=20000
|
|
65
|
+
TALOS_MODEL_MAX_ATTEMPTS=3
|
|
66
|
+
TALOS_MODEL_RETRY_BASE_MILLISECONDS=250
|
|
67
|
+
TALOS_MODEL_RETRY_MAX_MILLISECONDS=2000
|
|
68
|
+
TALOS_MODEL_RETRY_JITTER_RATIO=0.2
|
|
69
|
+
TALOS_MEMORY_SUMMARY_AFTER_MESSAGES=12
|
|
70
|
+
TALOS_MEMORY_KEEP_RECENT_MESSAGES=6
|
|
71
|
+
TALOS_MEMORY_MAX_SUMMARY_CHARACTERS=6000
|
|
72
|
+
TALOS_MEMORY_SUMMARY_STRATEGY=extractive_v1
|
|
73
|
+
TALOS_MEMORY_MAX_LONG_TERM_ITEMS=100
|
|
74
|
+
TALOS_MEMORY_MAX_CHARACTERS=1000
|
|
75
|
+
TALOS_AGENT_TIMEOUT_SECONDS=120
|
|
76
|
+
TALOS_MODEL_MAX_RETRIES=2
|
|
77
|
+
TALOS_MODEL_MAX_OUTPUT_TOKENS=2048
|
|
78
|
+
TALOS_MODEL_CONTEXT_WINDOW_TOKENS=128000
|
|
79
|
+
TALOS_CONTEXT_SAFETY_MARGIN_TOKENS=1024
|
|
80
|
+
TALOS_TOOL_TIMEOUT_SECONDS=15
|
|
81
|
+
TALOS_TOOL_MAX_RESPONSE_BYTES=65536
|
|
82
|
+
TALOS_TOOL_APPROVAL_TTL_SECONDS=600
|
|
83
|
+
TALOS_HTTP_TOOL_ALLOWED_DOMAINS=example.com
|
|
84
|
+
|
|
85
|
+
TALOS_RAG_CHUNK_SIZE=800
|
|
86
|
+
TALOS_RAG_CHUNK_OVERLAP=120
|
|
87
|
+
TALOS_RAG_TOP_K=6
|
|
88
|
+
TALOS_RAG_SIMILARITY_THRESHOLD=0.20
|
|
89
|
+
TALOS_LOCAL_EMBEDDING_MODEL=local-hashing-v1
|
|
90
|
+
TALOS_RAG_EMBEDDING_ADAPTER=talos.knowledge:HashingEmbedder
|
|
91
|
+
TALOS_RAG_EMBEDDING_API_BASE=https://api.openai.com/v1
|
|
92
|
+
TALOS_RAG_EMBEDDING_API_KEY_NAME=OPENAI_API_KEY
|
|
93
|
+
TALOS_RAG_EMBEDDING_TIMEOUT_SECONDS=30
|
|
94
|
+
TALOS_RAG_ALLOWED_EXTENSIONS=.md,.txt,.py,.rst,.pdf
|
|
95
|
+
TALOS_RAG_MAX_PDF_PAGES=100
|
|
96
|
+
TALOS_RAG_MAX_PDF_PARSE_SECONDS=15
|
|
97
|
+
TALOS_RAG_MAX_QUERY_CHARACTERS=2000
|
|
98
|
+
TALOS_RAG_EMBEDDING_DIMENSIONS=256
|
|
99
|
+
TALOS_RAG_MAX_SOURCE_BYTES=1048576
|
|
100
|
+
TALOS_RAG_MAX_CHUNKS=10000
|
|
101
|
+
TALOS_RAG_MAX_INGESTION_ATTEMPTS=3
|
|
102
|
+
TALOS_RAG_RETRY_BASE_SECONDS=2
|
|
103
|
+
TALOS_RAG_MODE=advanced
|
|
104
|
+
TALOS_RAG_QUERY_REWRITING=true
|
|
105
|
+
TALOS_RAG_QUERY_EXPANSION=true
|
|
106
|
+
TALOS_RAG_MAX_QUERY_VARIANTS=3
|
|
107
|
+
TALOS_RAG_DENSE_ENABLED=true
|
|
108
|
+
TALOS_RAG_SPARSE_ENABLED=true
|
|
109
|
+
TALOS_RAG_RRF_K=60
|
|
110
|
+
TALOS_RAG_RERANK_ENABLED=true
|
|
111
|
+
TALOS_RAG_RERANK_ADAPTER=talos.retrieval:lexical_rerank
|
|
112
|
+
TALOS_RERANK_API_BASE=http://127.0.0.1
|
|
113
|
+
TALOS_RERANK_API_KEY_NAME=TALOS_UNUSED_LOCAL_RERANK_KEY
|
|
114
|
+
TALOS_RERANK_TIMEOUT_SECONDS=10
|
|
115
|
+
TALOS_RAG_EXPANSION_SYNONYMS=bug:error,defect;auth:authentication,login;db:database,postgres
|
|
116
|
+
TALOS_GUARDRAIL_BLOCK_MESSAGE=Sorry, my policies do not allow me to answer that
|
|
117
|
+
TALOS_GUARDRAIL_MAX_CUSTOM_ITEMS=100
|
|
118
|
+
TALOS_GUARDRAIL_MAX_CUSTOM_ITEM_CHARACTERS=200
|
|
119
|
+
|
|
120
|
+
TALOS_REPO_MAX_FILES=500
|
|
121
|
+
TALOS_REPO_MAX_FILE_BYTES=65536
|
|
122
|
+
TALOS_REPO_MAX_TOTAL_BYTES=2097152
|
|
123
|
+
TALOS_REPO_MAX_LINE_CHARACTERS=2000
|
|
124
|
+
TALOS_REPO_EXTENSIONS=.py,.ts,.tsx,.js,.jsx,.md,.rst,.txt,.json,.yaml,.yml,.toml,.css,.html
|
|
125
|
+
|
|
126
|
+
TALOS_TRACING_ENABLED=true
|
|
127
|
+
TALOS_USAGE_TRACKING_ENABLED=true
|
|
128
|
+
TALOS_TRACE_RETENTION_MAX_RUNS=500
|
|
129
|
+
TALOS_ALERT_WINDOW_RUNS=20
|
|
130
|
+
TALOS_ALERT_MINIMUM_RUNS=3
|
|
131
|
+
TALOS_ALERT_FAILURE_RATE_THRESHOLD=0.5
|
|
132
|
+
TALOS_ALERT_SLOW_RUN_MILLISECONDS=30000
|
|
133
|
+
TALOS_OTEL_EXPORTER_ENABLED=false
|
|
134
|
+
OTEL_SERVICE_NAME=talos-api
|
|
135
|
+
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.invalid:4317
|
|
136
|
+
OTEL_TRACES_SAMPLER=parentbased_traceidratio
|
|
137
|
+
OTEL_TRACES_SAMPLER_ARG=0.1
|
|
138
|
+
# Phase 11 evaluation limits and deterministic evaluator identity
|
|
139
|
+
TALOS_EVALUATION_MAX_CASES_PER_DATASET=100
|
|
140
|
+
TALOS_EVALUATION_MAX_INPUT_CHARACTERS=4000
|
|
141
|
+
TALOS_EVALUATION_MAX_EXPECTED_OUTPUT_CHARACTERS=4000
|
|
142
|
+
TALOS_EVALUATION_MAX_ATTEMPTS=2
|
|
143
|
+
TALOS_EVALUATOR_VERSION=exact-citation-v1
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.env
|
|
2
|
+
.env.*
|
|
3
|
+
!.env.example
|
|
4
|
+
talos.yaml
|
|
5
|
+
.talos/
|
|
6
|
+
/tools/
|
|
7
|
+
/skills/*
|
|
8
|
+
!/skills/concise-explainer.md
|
|
9
|
+
.venv/
|
|
10
|
+
venv/
|
|
11
|
+
__pycache__/
|
|
12
|
+
*.py[cod]
|
|
13
|
+
.mypy_cache/
|
|
14
|
+
.ruff_cache/
|
|
15
|
+
.pytest_cache/
|
|
16
|
+
.pytest-tmp/
|
|
17
|
+
.coverage
|
|
18
|
+
coverage/
|
|
19
|
+
htmlcov/
|
|
20
|
+
node_modules/
|
|
21
|
+
.next/
|
|
22
|
+
dist/
|
|
23
|
+
build/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
*.tsbuildinfo
|
|
26
|
+
*.db
|
|
27
|
+
*.sqlite*
|
|
28
|
+
*.log
|
|
29
|
+
*.bak
|
|
30
|
+
*.backup
|
|
31
|
+
test-results/
|
|
32
|
+
playwright-report/
|
|
33
|
+
docs/
|
|
34
|
+
benchmarks/
|
|
35
|
+
.sonar/
|
|
36
|
+
.scannerwork/
|
|
37
|
+
AGENTS.md
|
|
38
|
+
CLAUDE.md
|
|
39
|
+
.agents/
|
|
40
|
+
.codex/
|
|
41
|
+
.idea/
|
|
42
|
+
.vscode/
|
|
43
|
+
.DS_Store
|
|
44
|
+
Thumbs.db
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
TalosAI
|
|
2
|
+
Copyright 2026 Samarth Kumar
|
|
3
|
+
|
|
4
|
+
This product depends on third-party software distributed under its own license terms.
|
|
5
|
+
Dependency manifests and lockfiles identify those components. Their upstream distributions
|
|
6
|
+
include the applicable licenses and notices. The Talos Python wheel and source archive do
|
|
7
|
+
not vendor dependency source or binaries.
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: talos-runtime
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Developer-first AI agent runtime and Python SDK
|
|
5
|
+
Project-URL: Source, https://github.com/SamarthKumar3/TalosAI
|
|
6
|
+
Project-URL: Issues, https://github.com/SamarthKumar3/TalosAI/issues
|
|
7
|
+
Author: Samarth Kumar
|
|
8
|
+
Maintainer: Samarth Kumar
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
Keywords: agent,ai,llm,rag,sdk
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
17
|
+
Requires-Python: >=3.12
|
|
18
|
+
Requires-Dist: httpx<1,>=0.27
|
|
19
|
+
Requires-Dist: pydantic<3,>=2.10
|
|
20
|
+
Requires-Dist: python-dotenv<2,>=1.0
|
|
21
|
+
Requires-Dist: pyyaml<7,>=6.0
|
|
22
|
+
Provides-Extra: cli
|
|
23
|
+
Requires-Dist: keyring<26,>=25; extra == 'cli'
|
|
24
|
+
Requires-Dist: prompt-toolkit<4,>=3.0.48; extra == 'cli'
|
|
25
|
+
Requires-Dist: rich<15,>=13.9; extra == 'cli'
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: mypy<2,>=1.13; extra == 'dev'
|
|
28
|
+
Requires-Dist: ruff<1,>=0.9; extra == 'dev'
|
|
29
|
+
Requires-Dist: types-pyyaml<7,>=6.0.12; extra == 'dev'
|
|
30
|
+
Provides-Extra: graph
|
|
31
|
+
Requires-Dist: langgraph<2,>=1.0; extra == 'graph'
|
|
32
|
+
Provides-Extra: pdf
|
|
33
|
+
Requires-Dist: pypdf<7,>=6.19; extra == 'pdf'
|
|
34
|
+
Provides-Extra: service
|
|
35
|
+
Requires-Dist: alembic<2,>=1.14; extra == 'service'
|
|
36
|
+
Requires-Dist: asyncpg<1,>=0.30; extra == 'service'
|
|
37
|
+
Requires-Dist: cryptography==50.0.2; extra == 'service'
|
|
38
|
+
Requires-Dist: fastapi<1,>=0.115; extra == 'service'
|
|
39
|
+
Requires-Dist: greenlet<4,>=3.1; extra == 'service'
|
|
40
|
+
Requires-Dist: langgraph<2,>=1.0; extra == 'service'
|
|
41
|
+
Requires-Dist: pypdf<7,>=6.19; extra == 'service'
|
|
42
|
+
Requires-Dist: redis<7,>=5.2; extra == 'service'
|
|
43
|
+
Requires-Dist: sqlalchemy<3,>=2.0.36; extra == 'service'
|
|
44
|
+
Requires-Dist: uvicorn<1,>=0.34; extra == 'service'
|
|
45
|
+
Provides-Extra: telemetry
|
|
46
|
+
Requires-Dist: opentelemetry-api<2,>=1.45; extra == 'telemetry'
|
|
47
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc<2,>=1.45; extra == 'telemetry'
|
|
48
|
+
Requires-Dist: opentelemetry-sdk<2,>=1.45; extra == 'telemetry'
|
|
49
|
+
Description-Content-Type: text/markdown
|
|
50
|
+
|
|
51
|
+
# TalosAI
|
|
52
|
+
|
|
53
|
+
Talos is an AI assistant you can use in Python, in your terminal, or in your browser.
|
|
54
|
+
Ask questions, search your files, understand code, and add your own tools and skills.
|
|
55
|
+
|
|
56
|
+
This is an early release. Windows is the tested development platform. Mac and Linux
|
|
57
|
+
still need a full first-time setup check.
|
|
58
|
+
|
|
59
|
+
## Get started
|
|
60
|
+
|
|
61
|
+
You need Python 3.12. Choose Python, terminal, or browser mode below.
|
|
62
|
+
For terminal and browser mode, download this repository and open a terminal in
|
|
63
|
+
its folder. Also install and start Docker Desktop with Linux containers and
|
|
64
|
+
Docker Compose. You do not need Node.js for normal use.
|
|
65
|
+
|
|
66
|
+
Create a Python environment:
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
python -m venv .venv
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Activate it on Windows PowerShell:
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
.\.venv\Scripts\Activate.ps1
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or on Mac and Linux:
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
source .venv/bin/activate
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Bring pip up to date:
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
python -m pip install --upgrade pip
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
For terminal or browser mode, install from the downloaded folder:
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
python -m pip install ".[cli]"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
For the Python SDK, once the package is published on PyPI, install it directly:
|
|
97
|
+
|
|
98
|
+
```sh
|
|
99
|
+
python -m pip install talos-runtime
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
The SDK does not need this repository, Git, Docker, or a browser. Until the first
|
|
103
|
+
PyPI release is published, use `python -m pip install .` from this folder instead.
|
|
104
|
+
Keep your Python environment active when running Talos.
|
|
105
|
+
|
|
106
|
+
The SDK installs only its core dependencies. Add PDF reading with
|
|
107
|
+
`python -m pip install "talos-runtime[pdf]"`. Custom branching pipelines use
|
|
108
|
+
`"talos-runtime[graph]"`; sending traces to an external service uses
|
|
109
|
+
`"talos-runtime[telemetry]"`. Local run history and traces work with the core SDK.
|
|
110
|
+
Terminal and browser installation above includes their host-side tools; Docker
|
|
111
|
+
installs the server dependencies separately.
|
|
112
|
+
|
|
113
|
+
### 1. Terminal
|
|
114
|
+
|
|
115
|
+
Create your local settings once, from the repository folder:
|
|
116
|
+
|
|
117
|
+
```sh
|
|
118
|
+
cp talos.example.yaml talos.yaml
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
`cp` also works in PowerShell. Keep your own `talos.yaml` when updating Talos.
|
|
122
|
+
|
|
123
|
+
Start the assistant:
|
|
124
|
+
|
|
125
|
+
```sh
|
|
126
|
+
hi talos
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
On first use, Talos asks for an [OpenRouter API key](https://openrouter.ai/settings/keys).
|
|
130
|
+
Your typing is hidden and the key is saved in your computer's credential store.
|
|
131
|
+
The default model is `openai/gpt-4o-mini`; provider charges may apply.
|
|
132
|
+
The first start downloads and builds the local services, so allow a few minutes.
|
|
133
|
+
|
|
134
|
+
Type a question and press Enter. Use `/help` for commands, `/new` for a fresh chat,
|
|
135
|
+
`/why` to inspect the last answer, and `/exit` to leave. Ctrl+C cancels a response.
|
|
136
|
+
|
|
137
|
+
### 2. Browser
|
|
138
|
+
|
|
139
|
+
Use the same installation and local settings as terminal mode. From the repository folder, run:
|
|
140
|
+
|
|
141
|
+
```sh
|
|
142
|
+
talos ui
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Talos asks for a key if needed and opens the browser when it is ready.
|
|
146
|
+
If the browser does not open, visit `http://127.0.0.1:3000`.
|
|
147
|
+
|
|
148
|
+
In Settings, use **Runtime** to add model keys and models, then refresh the model list.
|
|
149
|
+
Choose a model beside the microphone in chat. Settings also lets you add tools and
|
|
150
|
+
skills, view run traces, and change appearance. **Debug**, after Runtime, runs the
|
|
151
|
+
same setup checks as `talos doctor`. New model choices start a new chat.
|
|
152
|
+
|
|
153
|
+
Closing the browser or terminal keeps your chats and local services.
|
|
154
|
+
To stop the services without deleting your data, run `talos stop`.
|
|
155
|
+
Run only one local Talos installation at a time; it uses ports 3000 and 8000.
|
|
156
|
+
|
|
157
|
+
### 3. Python SDK
|
|
158
|
+
|
|
159
|
+
After `python -m pip install talos-runtime`, create a project in any folder you choose:
|
|
160
|
+
|
|
161
|
+
```sh
|
|
162
|
+
talos init my-agent
|
|
163
|
+
cd my-agent
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Save this as `hello.py`:
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
import asyncio
|
|
170
|
+
from getpass import getpass
|
|
171
|
+
|
|
172
|
+
from dotenv import dotenv_values
|
|
173
|
+
from talos import TalosAgent
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
async def main():
|
|
177
|
+
settings = {
|
|
178
|
+
key: value for key, value in dotenv_values(".env.example").items() if value is not None
|
|
179
|
+
}
|
|
180
|
+
settings["OPENROUTER_API_KEY"] = getpass("OpenRouter API key: ")
|
|
181
|
+
agent = TalosAgent.from_config("talos.yaml", environment=settings)
|
|
182
|
+
answer = await agent.run("Explain what an AI agent is in two sentences.")
|
|
183
|
+
print(answer.response)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
asyncio.run(main())
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Run it:
|
|
190
|
+
|
|
191
|
+
```sh
|
|
192
|
+
python hello.py
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
For a free, offline setup check, import `FakeModelProvider` from `talos` and add
|
|
196
|
+
`provider=FakeModelProvider("Talos is ready.")` to `from_config(...)`. Skip the key prompt.
|
|
197
|
+
This returns a fixed sample answer; it does not call an AI model.
|
|
198
|
+
|
|
199
|
+
## Add tools and skills
|
|
200
|
+
|
|
201
|
+
In the browser, open Settings and use the tool or skill form.
|
|
202
|
+
In the terminal, import your own files:
|
|
203
|
+
|
|
204
|
+
```sh
|
|
205
|
+
talos tools add path/to/tool.yaml
|
|
206
|
+
talos skills add path/to/skill.md
|
|
207
|
+
talos tools --help
|
|
208
|
+
talos skills --help
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
YAML tools support limited text formatting and arithmetic. Skills are Markdown
|
|
212
|
+
instructions that guide the assistant. Review files before importing them.
|
|
213
|
+
For reviewed Python tools, build their separate sandbox first:
|
|
214
|
+
|
|
215
|
+
```sh
|
|
216
|
+
docker build -f Dockerfile.sandbox -t talos-tool-sandbox:1 .
|
|
217
|
+
talos tools add --help
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Python tools require explicit trust and a matching file hash. They run in a
|
|
221
|
+
restricted Docker container. SDK callables registered directly by your app
|
|
222
|
+
run with your app's permissions.
|
|
223
|
+
|
|
224
|
+
## Your data
|
|
225
|
+
|
|
226
|
+
Talos runs locally. Your chosen AI provider receives the messages, selected file
|
|
227
|
+
excerpts, and tool results needed to answer. Check that provider's privacy terms.
|
|
228
|
+
Optional voice input may send audio to your browser's speech service.
|
|
229
|
+
|
|
230
|
+
Chats and run records stay in local storage. Stopping Talos preserves them;
|
|
231
|
+
there is no complete erase-all button. Backups and providers can retain copies.
|
|
232
|
+
CLI keys use the computer's credential store; browser-added keys use encrypted
|
|
233
|
+
local files. Protect the files and backups. Keep `.env`, `talos.yaml`, `.talos/`,
|
|
234
|
+
and imported files private. Use the browser on this computer only; this setup is
|
|
235
|
+
for one trusted user and is not ready to be exposed to the Internet.
|
|
236
|
+
|
|
237
|
+
## When something goes wrong
|
|
238
|
+
|
|
239
|
+
- Run `talos doctor` or Settings → Debug → Run Talos Doctor to check setup.
|
|
240
|
+
Run `talos status` to check services.
|
|
241
|
+
- Start Docker Desktop if Talos cannot reach Docker.
|
|
242
|
+
- Run `talos logs --help` for service logs. Remove private information before sharing logs.
|
|
243
|
+
- For failed or slow answers, check Settings → Traces, your model key, provider availability,
|
|
244
|
+
and usage limits. Retry in a new chat after fixing the cause.
|
|
245
|
+
- If PowerShell blocks environment activation, use `.\.venv\Scripts\python.exe`
|
|
246
|
+
and `.\.venv\Scripts\talos.exe` directly instead of changing system policy.
|
|
247
|
+
- If a key leaks, revoke it at the provider and replace it in Talos.
|
|
248
|
+
|
|
249
|
+
## License
|
|
250
|
+
|
|
251
|
+
TalosAI is licensed under [Apache 2.0](LICENSE). See [NOTICE](NOTICE).
|