For GitHub-backed automatic deployment with a Vercel frontend and Render backend, see deploy/README.md.
AgentOS is a local C++ execution runtime for dependency-aware, concurrent task workflows. PostgreSQL stores task definitions, dependencies, execution attempts, worker heartbeats, leases, and runtime events. A FastAPI service is the HTTP front door and submits work to the C++ runtime over gRPC.
The diagram shows the live request path, process boundaries, durable storage, file-task sandbox, connection pool, and lease-based crash recovery.
A separate browser chat service in chat_service/
connects Ollama Cloud to the AgentOS HTTP API. It runs locally on port 8080,
supports text uploads and runtime task tracking, and keeps cloud credentials
in chat_service/.env. See its README for setup and the document storage flow.
For model-generated Python operations on documents, enable the separate
Python script handler. It executes python_script
tasks as child processes of the runtime worker.
FastAPI (api/main.py)
| gRPC SubmitWorkflow / CancelTask
v
C++ scheduler + worker pool -----> PostgreSQL
(runtime/scheduler.hpp) tasks, deps, executions,
workers, runtime_events
The C++ scheduler supports dependency graphs, FIFO ready-task scheduling,
concurrent workers, retries, deadlines, cancellation, idempotency metadata,
heartbeats, leases, and durable task types. The built-in durable handlers are
sleep, text_transform, and word_count. cpp_callback lambdas are
process-local and cannot be recovered.
- Windows PowerShell
- CMake 3.20 or newer
- Visual Studio 2022 C++ Build Tools (
cl.exe) - PostgreSQL 17 on
localhost:5432 - vcpkg at
E:\vcpkg - Python 3.11
curl.exe(included with current Windows)
The Windows full-stack commands below assume the workspace root:
cd E:\OSIn WSL2, the Windows repository at E:\OS\AgentOS is available at
/mnt/e/OS/AgentOS. The commands in this section build and test the core
scheduler, runtime demo, and benchmark. The PostgreSQL and gRPC full-stack
instructions later in this document are currently Windows-oriented.
Install the Linux development tools once:
sudo apt update
sudo apt install -y build-essential cmake ninja-build gdb gitConfigure, compile, and run the core test suite:
cd /mnt/e/OS/AgentOS
cmake -S . -B build-linux -G Ninja
cmake --build build-linux
ctest --test-dir build-linux --output-on-failureThis builds agentos, agentos_tests, and agentos_benchmark. The core suite
currently contains 20 tests covering dependency ordering, concurrent and
dynamic submission, validation, failure propagation, retries, deadlines,
cancellation, leases, idempotency, runtime context, and durable event replay.
Run an individual binary when needed:
./build-linux/agentos
./build-linux/agentos_tests
./build-linux/agentos_benchmarkBuilding under /mnt/e keeps one source tree accessible from Windows and
WSL2. For faster Linux filesystem performance, clone the committed repository
into the WSL2 home directory:
mkdir -p ~/projects
git clone /mnt/e/OS/AgentOS ~/projects/AgentOS
cd ~/projects/AgentOS
cmake -S . -B build-linux -G Ninja
cmake --build build-linux
ctest --test-dir build-linux --output-on-failureThe local clone contains committed changes only. Commit or otherwise transfer uncommitted work before using this option.
AgentOS/
├── CMakeLists.txt
├── README.md
├── database/
│ └── schema.sql
├── runtime/
│ ├── main.cpp # demo binary (hardcoded A→E graph)
│ ├── grpc_runtime_server.cpp # gRPC service used by the API
│ ├── scheduler.hpp
│ ├── task.hpp
│ ├── task_graph.hpp
│ ├── task_handler_registry.hpp
│ ├── postgres_runtime_store.hpp
│ └── proto/
│ └── agentos.proto
├── api/
│ ├── main.py
│ ├── grpc_runtime_client.py
│ └── requirements.txt
├── tests/
├── scripts/
│ ├── run-all-tests.ps1 # env + build-grpc + ctest
│ └── run-durable-benchmark.ps1 # HTTP-to-Postgres benchmark
└── benchmarks/
| Variable | Default | Used by |
|---|---|---|
AGENTOS_DATABASE_URL |
postgresql://agentos:agentos@localhost:5432/agentos |
C++ binaries and FastAPI |
AGENTOS_RUNTIME_ADDRESS |
127.0.0.1:50051 |
FastAPI gRPC client |
AGENTOS_WORK_DIR |
<current directory>/AgentOS/work |
Durable file-task sandbox |
PATH |
must include vcpkg and PostgreSQL bin |
C++ processes loading libpq / vcpkg DLLs |
Local connection string:
postgresql://agentos:agentos@localhost:5432/agentos
Do these steps in order. First-time grpc:x64-windows compilation from source
often takes 1–2 hours. Later AgentOS rebuilds are minutes.
Start-Service postgresql-x64-17
Get-Service postgresql-x64-17The service must be Running before anything else.
As the PostgreSQL administrator:
& "C:\Program Files\PostgreSQL\17\bin\psql.exe" `
-h localhost -U postgres -d postgres -WInside psql:
CREATE ROLE agentos LOGIN PASSWORD 'agentos';
CREATE DATABASE agentos OWNER agentos;
\c agentos
\i E:/OS/AgentOS/database/schema.sql
GRANT USAGE ON SCHEMA public TO agentos;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO agentos;
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO agentos;If the role already exists:
ALTER ROLE agentos WITH PASSWORD 'agentos';Verify:
$env:PGPASSWORD = "agentos"
& "C:\Program Files\PostgreSQL\17\bin\psql.exe" -w `
-h localhost -U agentos -d agentos `
-c "SELECT current_user, current_database();"E:\vcpkg\vcpkg.exe install libpqxx:x64-windows
E:\vcpkg\vcpkg.exe install grpc:x64-windowsgrpc:x64-windows builds debug and release static libraries. Do not start a
second install while one is already running.
Confirm headers exist:
Test-Path E:\vcpkg\installed\x64-windows\include\pqxx\pqxx
Test-Path E:\vcpkg\installed\x64-windows\include\grpcpp\grpcpp.hBoth must return True before CMake.
py -3.11 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -r AgentOS/api/requirements.txtGenerate Python gRPC stubs from the shared contract (do this after every
agentos.proto change):
New-Item -ItemType Directory -Force AgentOS/api/generated | Out-Null
New-Item -ItemType File -Force AgentOS/api/generated/__init__.py | Out-Null
python -m grpc_tools.protoc `
-I AgentOS/runtime/proto `
--python_out=AgentOS/api/generated `
--grpc_python_out=AgentOS/api/generated `
AgentOS/runtime/proto/agentos.protoConfirm:
python -c "from api.generated import agentos_pb2_grpc; print('PROTO_OK')"If that import fails, run it from E:\OS or set
$env:PYTHONPATH = "E:\OS\AgentOS".
Use one CMake tree, AgentOS/build-grpc, for the server, in-process
tests, Postgres recovery, and gRPC tests.
cmake -S AgentOS -B AgentOS/build-grpc `
-DAGENTOS_ENABLE_POSTGRES=ON `
-DAGENTOS_ENABLE_GRPC=ON `
-DCMAKE_TOOLCHAIN_FILE=E:/vcpkg/scripts/buildsystems/vcpkg.cmake `
-DCMAKE_PREFIX_PATH=E:/vcpkg/installed/x64-windows
cmake --build AgentOS/build-grpc --config ReleaseThat produces:
AgentOS\build-grpc\Release\agentos_server.exe
AgentOS\build-grpc\Release\agentos_tests.exe
AgentOS\build-grpc\Release\agentos_grpc_tests.exe
AgentOS\build-grpc\Release\agentos.exe
AgentOS\build-grpc\Release\agentos_benchmark.exe
Build a single target if you only need the API runtime:
cmake --build AgentOS/build-grpc --config Release --target agentos_serverOptional second tree for the Postgres demo only (A → B/C → D → E), if you
do not want gRPC in that binary’s build:
cmake -S AgentOS -B AgentOS/build-postgres `
-DAGENTOS_ENABLE_POSTGRES=ON `
-DCMAKE_TOOLCHAIN_FILE=E:/vcpkg/scripts/buildsystems/vcpkg.cmake `
-DCMAKE_PREFIX_PATH=E:/vcpkg/installed/x64-windows
cmake --build AgentOS/build-postgres --config Release --target agentosPostgreSQL must be running. postgres_recovery and the grpc_* tests share
the agentos database; CTest serializes those tests with a resource lock.
Stop agentos_server first so recovery tests do not abandon live rows.
From E:\OS, this is the only command you need after a successful configure:
powershell -File AgentOS\scripts\run-all-tests.ps1The script sets AGENTOS_DATABASE_URL and PATH, builds AgentOS/build-grpc
(Release), then runs:
$env:AGENTOS_DATABASE_URL = "postgresql://agentos:agentos@localhost:5432/agentos"
$env:PATH = "E:\vcpkg\installed\x64-windows\bin;C:\Program Files\PostgreSQL\17\bin;$env:PATH"
ctest --test-dir AgentOS/build-grpc -C Release --output-on-failureThat ctest line is the single test entry point. With
AGENTOS_ENABLE_POSTGRES=ON and AGENTOS_ENABLE_GRPC=ON it registers:
| Group | Names |
|---|---|
| In-process scheduler | dependency_order, concurrent_tasks, dynamic_submission, mixed_submission, completed_dependency, validation, atomic_rejection, incremental_validation, failure_propagation, retry_success, retry_exhausted, events, deadline, cancellation, lease_expiry, lease_renewal, cancel_state, idempotency, task_context, durable_events |
| Postgres | postgres_recovery |
| gRPC + Postgres | grpc_submit, grpc_cancel, grpc_recovery, grpc_file_workflow, grpc_lease_steal |
Equivalent CMake target (same directory, same env vars as above):
cmake --build AgentOS/build-grpc --config Release --target test-allFilter one test:
ctest --test-dir AgentOS/build-grpc -C Release --output-on-failure -R lease_expiryOptional in-process-only tree (no gRPC, no Postgres required except
postgres_recovery which is not registered here):
cmake -S AgentOS -B AgentOS/build
cmake --build AgentOS/build --config Debug --target agentos_tests
ctest --test-dir AgentOS/build -C Debug --output-on-failureOptional benchmark (from either tree after a Release build):
cmake --build AgentOS/build-grpc --config Release --target agentos_benchmark
.\AgentOS\build-grpc\Release\agentos_benchmark.exeThis binary measures the scheduler in-process. To measure the complete durable HTTP-to-PostgreSQL path, start the full stack and use the script documented in Run the durable benchmark below.
When the binaries exist, start the processes in Start each service.
Do this every time you want to use the stack. Skip the vcpkg/CMake steps
unless you changed C++ or proto sources. Use four terminals and leave
them running. Issue curl.exe from a fifth window (or a new tab).
Start-Service postgresql-x64-17
Get-Service postgresql-x64-17Status must be Running. This is the durable store. Nothing else starts
usefully without it.
This process owns the scheduler and worker pool. FastAPI cannot submit work without it. Keep it in the foreground.
cd E:\OS
$env:PATH = "E:\vcpkg\installed\x64-windows\bin;C:\Program Files\PostgreSQL\17\bin;$env:PATH"
$env:AGENTOS_DATABASE_URL = "postgresql://agentos:agentos@localhost:5432/agentos"
$env:AGENTOS_WORK_DIR = "E:\OS\AgentOS\work"
.\AgentOS\build-grpc\Release\agentos_server.exeExpected output (leave this window open):
AgentOS gRPC runtime listening on 0.0.0.0:50051
If this process is not running, a TCP connect to 127.0.0.1:50051 fails with
connection refused (WinError 10061). If bind fails with WSA 10048, another
agentos_server is already listening.
Activate the same venv created during the first build.
cd E:\OS
.\.venv\Scripts\Activate.ps1
$env:AGENTOS_DATABASE_URL = "postgresql://agentos:agentos@localhost:5432/agentos"
$env:AGENTOS_RUNTIME_ADDRESS = "127.0.0.1:50051"
python -m uvicorn api.main:app --app-dir AgentOS --reload --host 127.0.0.1 --port 8000Expected output:
Uvicorn running on http://127.0.0.1:8000
Swagger UI: http://127.0.0.1:8000/docs
Endpoints:
GET /health
POST /tasks
GET /tasks/{id}
GET /tasks/{id}/events
POST /tasks/{id}/cancel
GET /health checks PostgreSQL only, not the gRPC runtime.
Durable task types include sleep, text_transform, and word_count. See
docs/file-workflows.md for a real dependency
workflow and scripts/run-durable-benchmark.ps1
for the reproducible end-to-end benchmark.
Open this before you hit the API so you can watch rows appear.
$env:PGPASSWORD = "agentos"
& "C:\Program Files\PostgreSQL\17\bin\psql.exe" -w `
-h localhost -U agentos -d agentosInside psql, start a 1-second refresh on the tables the runtime writes:
SELECT id, type, state, attempts, updated_at
FROM tasks
ORDER BY updated_at DESC
LIMIT 10;
\watch 1Open a second psql window if you also want live events:
SELECT sequence, event_type, task_id, worker_id, created_at
FROM runtime_events
ORDER BY sequence DESC
LIMIT 15;
\watch 1Useful one-shot queries (run \watch stop with Ctrl+C first):
SELECT id, type, payload_json, state, attempts FROM tasks ORDER BY updated_at DESC;
SELECT task_id, dependency_id FROM task_dependencies ORDER BY task_id;
SELECT task_id, worker_id, attempt, status, started_at, finished_at
FROM executions ORDER BY id DESC LIMIT 20;
SELECT id, status, last_heartbeat FROM workers ORDER BY id;Live running leases:
SELECT id, task_id, worker_id, attempt, status, lease_expires_at
FROM executions WHERE status = 'RUNNING';
\watch 1Completed tasks are retained. Cleanup is not automatic.
From a fifth window, or after the services are up:
curl.exe -s http://127.0.0.1:8000/health
Test-NetConnection 127.0.0.1 -Port 50051 | Select-Object TcpTestSucceededHealth should print {"status":"ok"}. TcpTestSucceeded should be True.
Task IDs must be unique in the tasks table. Change demo-a / demo-b if
you already submitted them.
Use curl.exe in PowerShell so Windows does not alias curl to
Invoke-WebRequest.
curl.exe -s http://127.0.0.1:8000/health{"status":"ok"}
demo-b waits for demo-a. Each sleep is 2 seconds so \watch 1 can show
Waiting → Running → Completed.
curl.exe -s -X POST http://127.0.0.1:8000/tasks `
-H "Content-Type: application/json" `
-d "{\"tasks\":[{\"id\":\"demo-a\",\"type\":\"sleep\",\"payload\":{\"seconds\":2}},{\"id\":\"demo-b\",\"type\":\"sleep\",\"payload\":{\"seconds\":2},\"dependencies\":[\"demo-a\"]}]}"Expected HTTP response:
{"task_ids":["demo-a","demo-b"]}
In the psql \watch window you should see, in order:
tasks:demo-aanddemo-binserted (Waiting)task_dependencies:demo-b→demo-aruntime_events:TaskSubmittedfor bothexecutions+workers:demo-aRUNNINGon aworker-*runtime_events:TaskStartedthenTaskCompletedfordemo-a- the same cycle for
demo-bafterdemo-acompletes tasks.stateends asCompletedfor both
curl.exe -s http://127.0.0.1:8000/tasks/demo-a
curl.exe -s http://127.0.0.1:8000/tasks/demo-b
curl.exe -s http://127.0.0.1:8000/tasks/demo-a/events
curl.exe -s http://127.0.0.1:8000/tasks/demo-b/eventsMatch those JSON state / event_type values against the tasks and
runtime_events rows in Postgres. They are the same store.
Submit a longer sleep, then cancel it before it finishes. Use a new ID.
curl.exe -s -X POST http://127.0.0.1:8000/tasks `
-H "Content-Type: application/json" `
-d "{\"tasks\":[{\"id\":\"demo-cancel\",\"type\":\"sleep\",\"payload\":{\"seconds\":30}}]}"
curl.exe -s -X POST http://127.0.0.1:8000/tasks/demo-cancel/cancelWatch tasks.state and runtime_events for the cancel. Waiting/Ready
tasks become Blocked immediately. A Running task stays Running until
the worker observes the cancellation flag, then becomes Blocked.
The API validates duplicate IDs, missing dependencies, cycles, supported types
(sleep, text_transform, word_count, cpp_callback), and payloads before
calling the runtime.
Durable sleep payload:
sleep: {"seconds": 2}
For a file-processing dependency example, including input setup and output
inspection, see docs/file-workflows.md.
Keep PostgreSQL, agentos_server, and FastAPI running, then open another
PowerShell window:
cd E:\OS\AgentOS
powershell -ExecutionPolicy Bypass -File .\scripts\run-durable-benchmark.ps1The default run submits five trials of 100 durable tasks. It prints throughput and p95 ready-to-start latency for each trial, reports the medians, and writes:
benchmarks\results\durable_benchmark_latest.csv
Use larger runs when collecting stable measurements for your project write-up:
.\scripts\run-durable-benchmark.ps1 `
-TaskCount 500 `
-Trials 10 `
-TimeoutSeconds 120The script defaults to the local API, the agentos database credentials shown
above, and PostgreSQL 17's psql.exe. Run Get-Help .\scripts\run-durable-benchmark.ps1 or open the script to see parameters for
overriding those paths and URLs.
This does not listen on gRPC. It runs a hardcoded graph and exits.
cd E:\OS
$env:PATH = "E:\vcpkg\installed\x64-windows\bin;C:\Program Files\PostgreSQL\17\bin;$env:PATH"
$env:AGENTOS_DATABASE_URL = "postgresql://agentos:agentos@localhost:5432/agentos"
.\AgentOS\build-postgres\Release\agentos.exeExpected output includes:
PostgreSQL event storage enabled
All tasks completed
This binary calls the same recovery helper as agentos_server
(recover_stale_executions + load_recoverable_tasks). After a gRPC process
restart, unfinished registered handlers (sleep, text_transform, and
word_count) are restored into the in-memory graph and resumed. cpp_callback
lambdas cannot be recovered.
This is a single-process runtime: gRPC, the scheduler, and the worker pool share one address space. PostgreSQL is the durable log, not a second executor.
The gRPC runtime uses four persistent PostgreSQL connections, matching its four
scheduler workers. Each transaction exclusively borrows a pooled connection;
durable state transitions still commit synchronously. See
docs/persistence-design.md for the design,
correctness boundaries, and before/after measurements.
Why gRPC instead of in-process calls from FastAPI
The Python API and the C++ scheduler have different lifetimes. gRPC is a
process boundary so you can restart Uvicorn without dropping in-flight workers,
and so the runtime can be talked to by any language. The cost is an extra hop
and a protobuf contract. An in-process embedding would be faster and simpler
for a single binary, but then the HTTP layer could not crash independently and
you could not recover API-submitted work in agentos_server without linking
Python into C++.
Why leases
A worker that dies mid-task would otherwise hold Running forever. Each
assignment has a lease. Heartbeats renew it while the worker is alive,
including during user work. If heartbeats stop, the monitor reclaims the
task: the execution is marked ABANDONED, the task goes back to Waiting,
and a new worker may take it. A run_token fences the old attempt so a late
complete() from the dead assignment is ignored. That is steal-with-fencing,
not a consensus group.
False expiry is possible if you disable renewal (set_renew_lease_while_running(false));
that path exists for tests. In normal operation, renewal is on.
What happens on crash
- Process dies. Postgres still has
tasks,executions, andruntime_events. agentos_serverstarts, callsrecover_stale_executions(): everyRUNNINGexecution isABANDONED(those workers are gone), matching tasks go back toWaiting, thenload_recoverable_tasks()fills the in-memory graph, then Heartbeats also extendlease_expires_atwhile the process is alive so live rows stay queryable. They are not inserted intoruntime_events(too chatty); worker liveness isworkers.last_heartbeat.- Registered durable types (
sleep,text_transform, andword_count) run again.cpp_callbackis skipped.
There is no multi-node membership, so two agentos_server processes on one
database will both try to run the same ready tasks. Run one runtime.
Why not Kafka
Kafka is a durable log between services. This runtime needs a queryable task graph (state, deps, attempts, leases) and transactions around submit. Postgres already does that. Kafka would help if many independent consumers needed to replay the event stream; it would not replace the scheduler or the dependency table. Adding Kafka before there is more than one runtime process is extra moving parts without a consumer.
Tests
See 6. Run all tests. The one CTest tree is AgentOS/build-grpc. In-process
scheduler tests are tests/scheduler_tests.cpp. Postgres recovery and gRPC
(grpc_submit, grpc_cancel, grpc_recovery, grpc_file_workflow,
grpc_lease_steal) are
registered in that same tree when CMake is configured with Postgres and gRPC.
powershell -File AgentOS\scripts\run-all-tests.ps1or:
$env:AGENTOS_DATABASE_URL = "postgresql://agentos:agentos@localhost:5432/agentos"
$env:PATH = "E:\vcpkg\installed\x64-windows\bin;C:\Program Files\PostgreSQL\17\bin;$env:PATH"
ctest --test-dir AgentOS/build-grpc -C Release --output-on-failureIssues this work actually hit (useful in an interview; these are design bugs, not compile errors):
-
The resume path was on the wrong binary. Recovery lived in the demo
agentos.exe, notagentos_server. API-submitted work survived in Postgres and still vanished from the process that serves gRPC. Wiringrestore_runtime_graph()into the server is what made crash restart real. -
Cancel lied.
CancelTaskused to always returnBlocked. Waiting work is blocked immediately; running work staysRunninguntil the worker sees the flag. Returning the graph state is cooperative cancel, not preemption. -
Lease expiry was an event, not a steal. Emitting
WorkerLeaseExpiredwithoutreclaim_running()+run_tokenleavesRunningstuck. Steal has to requeue and fence: a latecomplete()from the old attempt must no-op. -
Abandon-by-task-id is a lost update. If a late lease event marks every
RUNNINGrow for that taskABANDONED, a replacement attempt that already inserted a new row gets killed in Postgres. Abandon is fenced by(task_id, worker_id)onTaskReclaimed. If the start row is not committed yet, reclaim still inserts anABANDONEDexecution so the table matches the event log. -
Turning off lease renewal live-locks steal tests. Renewal is how a live worker proves it is alive. If you disable it to force expiry, the stolen attempt also looks dead and is reclaimed in a loop. The honest test: first attempt sleeps past the lease; the stolen attempt finishes immediately. The lease clock starts when the assignment is stamped, not at the last idle heartbeat. Windows
Sleepis ~15.6ms, so a 15ms lease expires on the first monitor tick andshutdown()joins a worker that never seesstopping_. -
Crash recovery is process-scoped, not lease-scoped. On
agentos_serverstart, everyRUNNINGexecution belonged to dead threads, even iflease_expires_atis still in the future. Only abandoning expired leases would skip work that crashed inside the lease window. -
Schema catches stale writers.
executions.worker_idreferencesworkers. Seeding a crash row without inserting the worker fails the FK. Heartbeats upsert workers first so start/lease rows can land. -
Idle lease expiry hid later work. The monitor recorded a worker as expired while it was blocked in a slow heartbeat write, then ignored that worker forever. If it took a task afterwards, the assignment was never stolen. Running work must stay reclaimable even after an idle expiry.
-
Shared Postgres is not a test fixture.
recover_stale_executions()is global. Parallel gRPC tests, or a test while a real server is running, will abandon each other's rows. Tests are serialized with a CTest resource lock; run one runtime on a database. -
gRPC vs in-process is a lifetime choice. In-process FastAPI→scheduler is faster, but then HTTP crashes take workers with them. gRPC lets Uvicorn restart while C++ keeps the thread pool. Kafka would be a log between services; it does not give you a transactional DAG.
| Symptom | Cause | Fix |
|---|---|---|
WinError 10061 / connection refused on :50051 |
agentos_server is not running |
Start step 6; confirm listening on 0.0.0.0:50051 |
runtime unavailable from FastAPI |
gRPC client cannot reach the runtime | Set AGENTOS_RUNTIME_ADDRESS=127.0.0.1:50051 and keep the server process alive |
| CMake cannot find gRPC / Protobuf | grpc:x64-windows not installed |
Finish step 3; grpcpp.h must exist |
| CMake cannot find libpqxx | libpqxx:x64-windows not installed |
Run the libpqxx install in step 3 |
C++ binary starts then fails on libpq |
PostgreSQL/vcpkg DLLs not on PATH |
Prepend the PATH from step 6 |
GET /health returns 503 |
Postgres down or wrong URL | Start the service; check AGENTOS_DATABASE_URL |
| Duplicate task ID 409 | IDs already in tasks |
Use new IDs |
Python ModuleNotFoundError: grpc |
venv missing packages | Activate .venv and reinstall api/requirements.txt |
Missing api/generated |
protobuf stubs not generated | Re-run the grpc_tools.protoc command in step 4 |
curl returns unexpected HTML/objects |
PowerShell aliased curl to Invoke-WebRequest |
Call curl.exe explicitly |
From the AgentOS git root:
cd E:\OS\AgentOS
git init
git add .
git status
git commit -m "Initial AgentOS runtime and API"
git branch -M mainCreate an empty GitHub repository, then:
git remote add origin https://github.com/YOUR_USERNAME/agentos.git
git push -u origin mainSSH:
git remote add origin git@github.com:YOUR_USERNAME/agentos.git
git push -u origin mainDo not commit PostgreSQL passwords, .env files, build directories, venvs, or
generated protobuf bindings (api/generated/).
