TL;DR: To assign your first task to an AI agent, pick something small that the agent can check, write the title as an outcome and the description as scope plus “done when”, then hand it over and review the result instead of steering it. In Sharkly that means connecting a Computer where Claude Code or Codex is signed in, creating an Agent with one job, creating a Task and setting its Assignee to the Agent. Setting the Assignee starts the run. The result comes back to the Task, and a person sets it to Done.
You have used Claude Code or Codex in a terminal for weeks. You type, it edits, you correct it, it edits again. Assigning a task is a different move: you write the work down once, hand it over, and come back to a result. The first try usually fails for boring reasons. The task said “fix the login bug” and nothing else. The coding tool on the Computer wasn’t signed in. There was no test the agent could run, so it guessed and called it finished.
This guide covers how to assign your first task to an AI agent so that it finishes: how to pick the task, how to write it, the exact steps in Sharkly, and how to review what comes back. If you are still deciding whether something belongs in a chat or a task, read chat with an AI agent or assign a task? first.
Pick a first task an AI agent can finish
Assigning a task to an AI agent means handing a coding agent a written unit of work that it runs on its own, then reviewing the result, instead of steering it prompt by prompt. Make the first one boring on purpose. You are testing the setup, not the agent’s ceiling.

A good first task is small enough to describe the diff in one sentence, has a check the agent can run, stays inside one module, and touches nothing you would be nervous to roll back: no migrations, production config or secrets.
| Good first task | Bad first task |
|---|---|
Reject empty and malformed strings in parseDate(), with tests |
Clean up the date handling |
Fix the failing test_invoice_totals and explain the cause |
Fix CI |
Add a --json flag to status, matching list --json |
Improve the CLI |
| Update the README install steps for the new config file | Rewrite the docs |
The column on the right isn’t wrong work. It is work with no edge, so the agent has to invent the scope and you have to guess whether it got there. Anthropic’s guide to working with Claude Code names the trait that matters most: “Give Claude a check it can run: tests, a build, a screenshot to compare.” An agent without a check can only tell you it’s done. An agent with one can show you.
Write the task so the AI agent can finish it
Sharkly’s Tasks documentation has the rule for titles: “A useful title names the outcome rather than the topic.” The description then carries what a new person or Agent would need: why the work matters, what is in and out of scope, relevant files and examples, decisions already made, and how completion will be reviewed. OpenAI’s Codex prompting guide uses nearly the same frame: Goal, Context, Constraints, Done when.
Here is a first task written that way, as Task SH-312:
Title: Reject empty and malformed strings in parseDate()
Why: Support tickets show a 500 when the import form gets a blank date.
Scope: src/dates/parse.ts and its tests only. Do not change callers.
Context: Follow the pattern in src/dates/format.ts.
Errors use InvalidInputError from src/errors.ts.
Constraints: No new dependencies. Keep the public signature.
Done when:
- parseDate("") and parseDate("31/02/2026") throw InvalidInputError
- npm test passes
- Your final comment lists the files you changed and the test command you ran
The last line matters more than it looks. It turns “I’m done” into evidence you can check in ten seconds.
Two habits keep tasks clean as you add more. Keep the stable goal, scope and acceptance criteria in the description rather than scattered across comments. And keep standing behaviour, such as “ask when the request is unclear”, in the Agent’s instructions, so each Task only says what is specific to it.
Assign your first task to an AI agent in Sharkly
You already have coding agents. Sharkly turns them into a team. The first run needs four things: a workspace, a Computer, an Agent and a Task. These steps follow the Sharkly quickstart:

- Sign in and create the workspace. Sign in at app.sharkly.ai with an email code, Google or GitHub, create an Organization, and in Initialize workspace choose Software development. Sharkly creates Default Space with the Requirement and Bug task types.
- Connect a Computer. Install Claude Code, Codex, Gemini, OpenClaw, Hermes or Pi Agent on the computer that will do the work, and sign in to it. The desktop app detects the tools and registers that computer. On the web, Get started, then Connect Computer, gives you a command to run there. The docs warn that “Online only means the connection is up,” so open the Computer and check the Runtime is Available. Computers in Sharkly covers laptops versus servers.
- Create an Agent with one job. Open Agents, select New Agent, choose Code development, then “the Agent automatically pulls Git repositories” and add the repository. Pick the Computer and keep the instructions short. Leave the working directory on Create temporary directory so each Task gets its own worktree, and leave visibility on Personal until the Agent is useful. There is no model picker: if you want a specific model, name it in Custom arguments.
- Run a read-only check. Before any code-changing work, the Repositories doc suggests a Task such as “Inspect the repository and report the primary language, package manager, and closest test command. Do not change files.” It proves the Agent can reach the repository, use the Git access and run commands.
- Create the Task and assign it. On the Tasks page, select New Task and paste the title and description. A new Task starts as Todo. Set Assignee to the Agent. In the quickstart’s words: “Setting the Assignee starts the Agent. You do not change the status first.” The exception is Backlog, which is a parking state: a Task there does not run until you move it out.
Watch the AI agent’s run and review the result
A run has its own states, separate from the Task’s status. The Agent task execution page defines them:
| Run state | What it means |
|---|---|
| Queued | Accepted and waiting for dispatch capacity |
| Dispatched | Claimed and starting on the Computer |
| Waiting for local directory | No configured specified directory is free |
| Running | The Agent is working |
| Completed, Failed, Canceled | The result of the run |
On the Task, Activity shows comments, including the Agent’s conclusion, and Executions shows the run history. Anything that needs you lands in Inbox under Primary: a conversation waiting for your reply or review, failed or blocked work, and direct mentions.
When the run finishes, review the worktree changes, then keep, merge or discard them. If something is wrong, @mention the Agent in a comment with the specific fix: “The empty-string case still returns null. Throw InvalidInputError.” A plain comment does not start the Agent; the mention does. When the result is right, a person sets the Task to Done. Agents research, execute, test and report. People set direction, grant authority and accept the result. For what to look for in the diff, see reviewing AI-generated code with task-level evidence.
One AI agent, a Crew, or just your terminal
If you are at the keyboard and want one change now, a Claude Code or Codex session in your terminal is faster than any assignment flow, and you don’t need Sharkly for it. Assigning pays off when you want to walk away, when someone else will review the result, or when the work has to stay on a record the team can see.
Inside Sharkly, the Crews documentation gives the rule: “For small, well-defined work, assign the Task directly to one Agent. Use a Crew when the leader needs to interpret the goal, involve other Agent members, and bring their results back.” Your first task should go to one Agent. Sharkly Crews covers the second case.
Once one Agent reliably takes one kind of Task, the quickstart suggests splitting out a more specific Agent or saving a repeated procedure as a Skill. After that, the next step is usually several Tasks at once; our guide to running multiple Claude Code agents in parallel covers isolation and merge order. The Agents feature page shows the setup end to end.
If you want to hand work to the coding agents you already pay for and get every result back in one place, that is the problem Sharkly is designed around.
FAQ
Does assigning a task start the AI agent right away? Usually. Setting the Assignee starts the run unless the Task is in Backlog, Completed, Canceled or Duplicate. The run can still wait in Queued for Computer availability, concurrency or a free directory.
What happens if my Computer goes offline? New runs normally wait for it to reconnect, and a run can stay queued if the Computer disconnects before dispatch. Turn on Prevent sleep for a laptop that should keep taking work.
Do I pay for the model through Sharkly? No. Runs bill against the Claude Code, Codex or API plan already on the Computer, and Sharkly does not sell tokens. Sharkly itself is currently free for organizations up to 5 people; see Sharkly pricing explained.
What can the agent access on my computer? Whatever the Computer provides: “the operating system, files, credentials, network access, and tools required by an Agent.” Keep the Agent and Computer Personal while they use your own credentials, never paste tokens into a Task, and read what an agent should and shouldn’t be allowed to do.



